From 99828d3c8d188874c47ddfaa75c26f6b8d327e0b Mon Sep 17 00:00:00 2001 From: screret <68943070+screret@users.noreply.github.com> Date: Mon, 8 Jan 2024 10:25:59 +0200 Subject: [PATCH] fix: update to latest GT --- .../argent_matter/gcyr/common/data/GCyRBlocks.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/common/src/main/java/argent_matter/gcyr/common/data/GCyRBlocks.java b/common/src/main/java/argent_matter/gcyr/common/data/GCyRBlocks.java index cbeffbee..c56e36d9 100644 --- a/common/src/main/java/argent_matter/gcyr/common/data/GCyRBlocks.java +++ b/common/src/main/java/argent_matter/gcyr/common/data/GCyRBlocks.java @@ -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) @@ -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(); @@ -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(); @@ -178,7 +178,7 @@ private static BlockEntry createCasingBlock(String name, BiFunction 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() @@ -204,7 +204,7 @@ private static BlockEntry 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); @@ -216,7 +216,7 @@ private static BlockEntry 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);