Skip to content

Commit

Permalink
chunkloader upgrade stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Apr 20, 2024
1 parent 30fc15e commit 8213e2d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public enum BuiltinUpgrade {
GILDED("gilded"),
ENDER_VISOR("ender_visor"),
STOMP("stomp"),
ELYTRA("elytra");
ELYTRA("elytra"),
CHUNKLOADER("chunkloader");

private final String name;
private final int maxTier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public class ModUpgrades {
public static final Supplier<PNCUpgrade> ENDER_VISOR = () -> BUILTIN_MAP.get(BuiltinUpgrade.ENDER_VISOR);
public static final Supplier<PNCUpgrade> STOMP = () -> BUILTIN_MAP.get(BuiltinUpgrade.STOMP);
public static final Supplier<PNCUpgrade> ELYTRA = () -> BUILTIN_MAP.get(BuiltinUpgrade.ELYTRA);
public static final Supplier<PNCUpgrade> CHUNKLOADER = () -> BUILTIN_MAP.get(BuiltinUpgrade.CHUNKLOADER);

public static PNCUpgrade registerBuiltin(BuiltinUpgrade bu, PNCUpgrade pncUpgrade) {
BUILTIN_MAP.put(bu, pncUpgrade);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,13 @@ protected void buildRecipes(RecipeOutput consumer) {
'N', NBTIngredient.of(true, nightVisionPotion)
).save(consumer);

shaped(ModUpgrades.CHUNKLOADER.get().getItem(), ModItems.DRONE.get(),
"LCL/ECE/LCL",
'L', PneumaticCraftTags.Items.UPGRADE_COMPONENTS,
'E', Items.ENDER_EYE,
'C', ModItems.PRINTED_CIRCUIT_BOARD.get()
).save(consumer);

shaped(ModUpgrades.SCUBA.get().getItem(), ModItems.PNEUMATIC_HELMET.get(),
"LTL/PRP/LPL",
'L', PneumaticCraftTags.Items.UPGRADE_COMPONENTS,
Expand Down

0 comments on commit 8213e2d

Please sign in to comment.