blacklist exu2 machines from cardboard box as they require extra info from the itemstack which is incompatible with the box system
@@ -137,6 +137,7 @@ import net.minecraftforge.fml.common.event.FMLServerStoppingEvent;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.network.NetworkRegistry;
import net.minecraftforge.fml.common.registry.EntityRegistry;
+import net.minecraftforge.fml.common.registry.ForgeRegistries;
import net.minecraftforge.fml.common.registry.GameRegistry;
import net.minecraftforge.oredict.OreDictionary;
@@ -923,6 +924,11 @@ public class Mekanism
MekanismAPI.addBoxBlacklist(Blocks.DARK_OAK_DOOR, OreDictionary.WILDCARD_VALUE);
MekanismAPI.addBoxBlacklist(Blocks.IRON_DOOR, OreDictionary.WILDCARD_VALUE);
+ Block xuMachine = ForgeRegistries.BLOCKS.getValue(new ResourceLocation("extrautils2", "machine"));
+ if (xuMachine != null){
+ MekanismAPI.addBoxBlacklist(xuMachine, OreDictionary.WILDCARD_VALUE);
+ }
+
BoxBlacklistParser.load();
}
