Hello,
I use OreDictionary.WILDCARD_VALUE as Damage to energy crystal, but it doesn't work! It still need energy crystal with full energy. How do I do?
MC:1.10.2
IC2:2.6.249
forge:1.10.2-12.18.3.2185
ItemStack heat_storage = IC2Items.getItem("heat_storage").copy();
heat_storage.setItemDamage(OreDictionary.WILDCARD_VALUE);
ItemStack energy_crystal = IC2Items.getItem("energy_crystal").copy();
energy_crystal.setItemDamage(OreDictionary.WILDCARD_VALUE);
ItemStack rotor_steel = IC2Items.getItem("rotor_steel").copy();
rotor_steel.setItemDamage(OreDictionary.WILDCARD_VALUE);
GameRegistry.addRecipe(new ItemStack(rangeUpgrade), new Object[]
{"CKC",
"LEG",
"MAM",
'C', heat_storage,
'K', rotor_steel,
'L', IC2Items.getItem("te","lv_transformer"),
'E', energy_crystal,
'G', IC2Items.getItem("cable","type:copper,insulation:1"),
'M', IC2Items.getItem("crafting","electric_motor"),
'A', IC2Items.getItem("crafting","advanced_circuit")
});
Display More
Otherwise, the IC2 dev.jar version for coding test would crash when building the world.
Description: Exception in server tick loop
java.lang.NoSuchMethodError: net.minecraft.world.biome.BiomeProvider.getBiomeGenerator(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/biome/Biome;)Lnet/minecraft/world/biome/Biome;
at ic2.core.util.BiomeUtil.getOriginalBiome(BiomeUtil.java:13)
at ic2.core.Ic2WorldDecorator.genRubberTree(Ic2WorldDecorator.java:330)
at ic2.core.Ic2WorldDecorator.generate(Ic2WorldDecorator.java:297)
at net.minecraftforge.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:120)
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1079)
at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1061)
at net.minecraft.world.gen.ChunkProviderServer.provideChunk(ChunkProviderServer.java:161)
at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:337)
at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:107)
at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:124)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497)
at java.lang.Thread.run(Thread.java:748)
Display More