From d1994b6a2b9793dd78fa1260a74d96fc99c797ce Mon Sep 17 00:00:00 2001 From: KnightMiner Date: Mon, 13 May 2024 01:21:45 -0400 Subject: [PATCH] Blacklist various craffting blocks from the crafting station side connection Notably blacklists furnaces which means an issue with output slot shift clicking is hidden (#5220). May be worth fixing it properly some time --- .../block_entity_type/crafting_station_blacklist.json | 8 +++++++- .../common/data/tags/BlockEntityTypeTagProvider.java | 10 +++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/generated/resources/data/tconstruct/tags/block_entity_type/crafting_station_blacklist.json b/src/generated/resources/data/tconstruct/tags/block_entity_type/crafting_station_blacklist.json index f8a139c10b2..3cad3cf74b3 100644 --- a/src/generated/resources/data/tconstruct/tags/block_entity_type/crafting_station_blacklist.json +++ b/src/generated/resources/data/tconstruct/tags/block_entity_type/crafting_station_blacklist.json @@ -1,5 +1,9 @@ { "values": [ + "minecraft:furnace", + "minecraft:blast_furnace", + "minecraft:smoker", + "minecraft:brewing_stand", "tconstruct:crafting_station", "tconstruct:tinker_station", "tconstruct:part_builder", @@ -8,6 +12,8 @@ "tconstruct:cast_chest", "tconstruct:basin", "tconstruct:table", - "tconstruct:smeltery" + "tconstruct:melter", + "tconstruct:smeltery", + "tconstruct:foundry" ] } \ No newline at end of file diff --git a/src/main/java/slimeknights/tconstruct/common/data/tags/BlockEntityTypeTagProvider.java b/src/main/java/slimeknights/tconstruct/common/data/tags/BlockEntityTypeTagProvider.java index 85af600fff9..e253c2741a7 100644 --- a/src/main/java/slimeknights/tconstruct/common/data/tags/BlockEntityTypeTagProvider.java +++ b/src/main/java/slimeknights/tconstruct/common/data/tags/BlockEntityTypeTagProvider.java @@ -21,9 +21,13 @@ public BlockEntityTypeTagProvider(DataGenerator generatorIn, @Nullable ExistingF @Override protected void addTags() { this.tag(TinkerTags.TileEntityTypes.CRAFTING_STATION_BLACKLIST) - .add(TinkerTables.craftingStationTile.get(), TinkerTables.tinkerStationTile.get(), TinkerTables.partBuilderTile.get(), - TinkerTables.partChestTile.get(), TinkerTables.tinkersChestTile.get(), TinkerTables.castChestTile.get(), - TinkerSmeltery.basin.get(), TinkerSmeltery.table.get(), TinkerSmeltery.smeltery.get()); + .add( + BlockEntityType.FURNACE, BlockEntityType.BLAST_FURNACE, BlockEntityType.SMOKER, BlockEntityType.BREWING_STAND, + TinkerTables.craftingStationTile.get(), TinkerTables.tinkerStationTile.get(), TinkerTables.partBuilderTile.get(), + TinkerTables.partChestTile.get(), TinkerTables.tinkersChestTile.get(), TinkerTables.castChestTile.get(), + TinkerSmeltery.basin.get(), TinkerSmeltery.table.get(), + TinkerSmeltery.melter.get(), TinkerSmeltery.smeltery.get(), TinkerSmeltery.foundry.get() + ); }