java.lang.NoSuchMethodError: net.minecraft.item.ItemMonsterPlacer.applyEntityIdToItemStack(Lnet/minecraft/item/ItemStack;Ljava/lang/String;)V

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by CAD97
, 1 year ago
net.minecraft.item.ItemMonsterPlacer.applyEntityIdToItemStack(Lnet/minecraft/item/ItemStack;Ljava/lang/String;)V
java.lang.NoSuchMethodError: net.minecraft.item.ItemMonsterPlacer.applyEntityIdToItemStack(Lnet/minecraft/item/ItemStack;Ljava/lang/String;)V
at cad97.spawnercraft.handler.DropsListener.onMobDrops(DropsListener.java:71)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_8_DropsListener_onMobDrops_LivingDropsEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:68)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:159)
at net.minecraft.entity.EntityLivingBase.onDeath(EntityLivingBase.java:1197)
at net.minecraft.entity.passive.EntityAnimal.attackEntityFrom(EntityAnimal.java:80)
at net.minecraft.entity.player.EntityPlayer.attackTargetEntityWithCurrentItem(EntityPlayer.java:1388)
at net.minecraft.entity.player.EntityPlayerMP.attackTargetEntityWithCurrentItem(EntityPlayerMP.java:1374)
at net.minecraft.network.NetHandlerPlayServer.processUseEntity(NetHandlerPlayServer.java:1090)
at net.minecraft.network.play.client.CPacketUseEntity.processPacket(CPacketUseEntity.java:93)
at net.minecraft.network.play.client.CPacketUseEntity.processPacket(CPacketUseEntity.java:14)
at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:15)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.util.Util.runTask(Util.java:25)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:742)
at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:408)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:687)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:536)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.