Skip to content

Commit

Permalink
fix: update to latest GT
Browse files Browse the repository at this point in the history
  • Loading branch information
screret committed Jan 8, 2024
1 parent f449ce9 commit 99828d3
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public class GCyRBlocks {
.initialProperties(() -> Blocks.IRON_BLOCK)
.lang("Airlock Door")
.properties(p -> p.strength(4.0F, 6.0F))
.tag(GTToolType.WRENCH.harvestTag, BlockTags.MINEABLE_WITH_PICKAXE, GCyRTags.BLOCKS_FLOOD_FILL)
.tag(GTToolType.WRENCH.harvestTags.get(0), BlockTags.MINEABLE_WITH_PICKAXE, GCyRTags.BLOCKS_FLOOD_FILL)
.blockstate(GCyRModels::airlockDoorModel)
.item()
.tag(ItemTags.DOORS)
Expand All @@ -143,7 +143,7 @@ public class GCyRBlocks {
.initialProperties(() -> Blocks.IRON_BLOCK)
.lang("Launch Pad")
.defaultBlockstate()
.tag(GTToolType.WRENCH.harvestTag, BlockTags.MINEABLE_WITH_PICKAXE)
.tag(GTToolType.WRENCH.harvestTags.get(0), BlockTags.MINEABLE_WITH_PICKAXE)
.simpleItem()
.register();

Expand All @@ -152,7 +152,7 @@ public class GCyRBlocks {
.initialProperties(() -> Blocks.IRON_BLOCK)
.lang("Seat")
.blockstate(GCyRModels::seatModel)
.tag(GTToolType.WRENCH.harvestTag, BlockTags.MINEABLE_WITH_PICKAXE)
.tag(GTToolType.WRENCH.harvestTags.get(0), BlockTags.MINEABLE_WITH_PICKAXE)
.simpleItem()
.register();

Expand All @@ -178,7 +178,7 @@ private static BlockEntry<Block> createCasingBlock(String name, BiFunction<Block
.initialProperties(properties)
.addLayer(type)
.blockstate(NonNullBiConsumer.noop())
.tag(GTToolType.WRENCH.harvestTag, BlockTags.MINEABLE_WITH_PICKAXE)
.tag(GTToolType.WRENCH.harvestTags.get(0), BlockTags.MINEABLE_WITH_PICKAXE)
.item(RendererBlockItem::new)
.model(NonNullBiConsumer.noop())
.build()
Expand All @@ -192,7 +192,7 @@ private static BlockEntry<Block> createBottomTopCasingBlock(String name, BiFunct
.initialProperties(properties)
.addLayer(type)
.blockstate(NonNullBiConsumer.noop())
.tag(GTToolType.WRENCH.harvestTag, BlockTags.MINEABLE_WITH_PICKAXE)
.tag(GTToolType.WRENCH.harvestTags.get(0), BlockTags.MINEABLE_WITH_PICKAXE)
.item(RendererBlockItem::new)
.model(NonNullBiConsumer.noop())
.build()
Expand All @@ -204,7 +204,7 @@ private static BlockEntry<FuelTankBlock> createFuelTank(IFuelTankProperties prop
.initialProperties(() -> Blocks.IRON_BLOCK)
.lang("%s Fuel Tank".formatted(FormattingUtil.toEnglishName(properties.getSerializedName())))
.blockstate(GCyRModels::fuelTankModel)
.tag(GTToolType.WRENCH.harvestTag, BlockTags.MINEABLE_WITH_PICKAXE)
.tag(GTToolType.WRENCH.harvestTags.get(0))
.simpleItem()
.register();
ALL_FUEL_TANKS.put(properties, block);
Expand All @@ -216,7 +216,7 @@ private static BlockEntry<RocketMotorBlock> createRocketMotor(IRocketMotorType p
.initialProperties(() -> Blocks.IRON_BLOCK)
.lang("%s Rocket Motor".formatted(FormattingUtil.toEnglishName(properties.getSerializedName())))
.blockstate((ctx, prov) -> GCyRModels.rocketMotorModel(ctx, prov, properties))
.tag(GTToolType.WRENCH.harvestTag, BlockTags.MINEABLE_WITH_PICKAXE)
.tag(GTToolType.WRENCH.harvestTags.get(0))
.simpleItem()
.register();
ALL_ROCKET_MOTORS.put(properties, block);
Expand Down

0 comments on commit 99828d3

Please sign in to comment.