Fix Casting Table & Basins appearing in the side inventory
@@ -15,6 +15,7 @@ import net.minecraft.util.math.BlockPos;
import net.minecraftforge.items.CapabilityItemHandler;
import org.apache.commons.lang3.tuple.Pair;
import slimeknights.tconstruct.common.config.Config;
+import slimeknights.tconstruct.smeltery.tileentity.CastingTileEntity;
import slimeknights.tconstruct.tables.TinkerTables;
import slimeknights.tconstruct.tables.inventory.BaseStationContainer;
import slimeknights.tconstruct.tables.inventory.SideInventoryContainer;
@@ -115,6 +116,12 @@ public class CraftingStationContainer extends BaseStationContainer<CraftingStati
if (tileEntity instanceof CraftingStationTileEntity) {
return false;
}
+
+ // Do not expose the casting tables/basins to the side inventory in the crafting station.
+ if (tileEntity instanceof CastingTileEntity) {
+ return false;
+ }
+
List<String> blacklist = Config.COMMON.craftingStationBlacklist.get();
if (!blacklist.isEmpty()) {
ResourceLocation registryName = TileEntityType.getId(tileEntity.getType());
