Jump to content

Recommended Posts

Posted (edited)

If i try to register one of theese entitys without using the method gives the same error in the same place...

 

It looks like, if an entity has no build-construct in EntityType, it´s not compatible with the method "EntityType.Builder.create"

 

So how do i register an entity, that has no build-construct in EntityType?

 

Now i managed to write a class with such build-constructs for my own entitys.

so i was able to shape the constructors of my entity-classes similar to the one of the chicken class

Edited by Drachenbauer
Posted (edited)

and i get theese errors:

Spoiler

[20Mär2019 23:10:26.382] [Server thread/FATAL] [net.minecraft.server.MinecraftServer/]: Error executing task
java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:200) [?:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:715) [?:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [?:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115) [?:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565) [?:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: java.lang.ExceptionInInitializerError
    at drachenbauer32.angrybirdsmod.entity.EntityBlues.<init>(EntityBlues.java:15) ~[?:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:357) ~[?:?]
    at net.minecraft.entity.EntityType.makeEntity(EntityType.java:272) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:265) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:260) ~[?:?]
    at net.minecraft.item.ItemSpawnEgg.onItemUse(SourceFile:81) ~[?:?]
    at net.minecraft.item.ItemStack.lambda$onItemUse$0(ItemStack.java:162) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:178) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:162) ~[?:?]
    at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:373) ~[?:?]
    at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:847) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:53) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:11) ~[?:?]
    at net.minecraft.network.PacketThreadUtil.func_210405_a(SourceFile:10) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:199) ~[?:?]
    ... 5 more
Caused by: java.lang.IllegalStateException: The object net.minecraft.entity.EntityType@122d5fa7 (name minecraft:red) is being added too late.
    at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:333) ~[?:?]
    at net.minecraftforge.registries.ForgeRegistry.add(ForgeRegistry.java:293) ~[?:?]
    at net.minecraftforge.registries.NamespacedWrapper.register(NamespacedWrapper.java:58) ~[?:?]
    at net.minecraftforge.registries.NamespacedWrapper.put(NamespacedWrapper.java:66) ~[?:?]
    at net.minecraftforge.registries.NamespacedWrapper.put(NamespacedWrapper.java:36) ~[?:?]
    at net.minecraft.entity.EntityType.register(EntityType.java:236) ~[?:?]
    at drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes.<clinit>(AngryBirdsEntityTypes.java:12) ~[?:?]
    at drachenbauer32.angrybirdsmod.entity.EntityBlues.<init>(EntityBlues.java:15) ~[?:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:357) ~[?:?]
    at net.minecraft.entity.EntityType.makeEntity(EntityType.java:272) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:265) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:260) ~[?:?]
    at net.minecraft.item.ItemSpawnEgg.onItemUse(SourceFile:81) ~[?:?]
    at net.minecraft.item.ItemStack.lambda$onItemUse$0(ItemStack.java:162) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:178) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:162) ~[?:?]
    at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:373) ~[?:?]
    at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:847) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:53) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:11) ~[?:?]
    at net.minecraft.network.PacketThreadUtil.func_210405_a(SourceFile:10) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:199) ~[?:?]
    ... 5 more
[20Mär2019 23:10:27.827] [Server thread/FATAL] [net.minecraft.server.MinecraftServer/]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:200) [?:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:715) [?:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [?:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115) [?:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565) [?:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at drachenbauer32.angrybirdsmod.entity.EntityBlues.<init>(EntityBlues.java:15) ~[?:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:357) ~[?:?]
    at net.minecraft.entity.EntityType.makeEntity(EntityType.java:272) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:265) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:260) ~[?:?]
    at net.minecraft.item.ItemSpawnEgg.onItemUse(SourceFile:81) ~[?:?]
    at net.minecraft.item.ItemStack.lambda$onItemUse$0(ItemStack.java:162) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:178) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:162) ~[?:?]
    at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:373) ~[?:?]
    at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:847) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:53) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:11) ~[?:?]
    at net.minecraft.network.PacketThreadUtil.func_210405_a(SourceFile:10) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:199) ~[?:?]
    ... 5 more
[20Mär2019 23:10:29.420] [Server thread/FATAL] [net.minecraft.server.MinecraftServer/]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:200) [?:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:715) [?:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [?:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115) [?:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565) [?:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at drachenbauer32.angrybirdsmod.entity.EntityBlues.<init>(EntityBlues.java:15) ~[?:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:357) ~[?:?]
    at net.minecraft.entity.EntityType.makeEntity(EntityType.java:272) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:265) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:260) ~[?:?]
    at net.minecraft.item.ItemSpawnEgg.onItemUse(SourceFile:81) ~[?:?]
    at net.minecraft.item.ItemStack.lambda$onItemUse$0(ItemStack.java:162) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:178) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:162) ~[?:?]
    at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:373) ~[?:?]
    at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:847) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:53) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:11) ~[?:?]
    at net.minecraft.network.PacketThreadUtil.func_210405_a(SourceFile:10) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:199) ~[?:?]
    ... 5 more
[20Mär2019 23:10:33.313] [Server thread/FATAL] [net.minecraft.server.MinecraftServer/]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:200) [?:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:715) [?:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [?:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115) [?:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565) [?:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at drachenbauer32.angrybirdsmod.entity.EntityBlues.<init>(EntityBlues.java:15) ~[?:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:357) ~[?:?]
    at net.minecraft.entity.EntityType.makeEntity(EntityType.java:272) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:265) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:260) ~[?:?]
    at net.minecraft.item.ItemSpawnEgg.onItemUse(SourceFile:81) ~[?:?]
    at net.minecraft.item.ItemStack.lambda$onItemUse$0(ItemStack.java:162) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:178) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:162) ~[?:?]
    at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:373) ~[?:?]
    at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:847) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:53) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:11) ~[?:?]
    at net.minecraft.network.PacketThreadUtil.func_210405_a(SourceFile:10) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:199) ~[?:?]
    ... 5 more
[20Mär2019 23:10:36.419] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2207ms or 44 ticks behind
[20Mär2019 23:10:36.964] [Server thread/FATAL] [net.minecraft.server.MinecraftServer/]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:200) [?:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:715) [?:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [?:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115) [?:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565) [?:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at drachenbauer32.angrybirdsmod.entity.EntityChuck.<init>(EntityChuck.java:15) ~[?:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:357) ~[?:?]
    at net.minecraft.entity.EntityType.makeEntity(EntityType.java:272) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:265) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:260) ~[?:?]
    at net.minecraft.item.ItemSpawnEgg.onItemUse(SourceFile:81) ~[?:?]
    at net.minecraft.item.ItemStack.lambda$onItemUse$0(ItemStack.java:162) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:178) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:162) ~[?:?]
    at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:373) ~[?:?]
    at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:847) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:53) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:11) ~[?:?]
    at net.minecraft.network.PacketThreadUtil.func_210405_a(SourceFile:10) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:199) ~[?:?]
    ... 5 more
[20Mär2019 23:10:37.762] [Server thread/FATAL] [net.minecraft.server.MinecraftServer/]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:200) [?:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:715) [?:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [?:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115) [?:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565) [?:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at drachenbauer32.angrybirdsmod.entity.EntityChuck.<init>(EntityChuck.java:15) ~[?:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:357) ~[?:?]
    at net.minecraft.entity.EntityType.makeEntity(EntityType.java:272) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:265) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:260) ~[?:?]
    at net.minecraft.item.ItemSpawnEgg.onItemUse(SourceFile:81) ~[?:?]
    at net.minecraft.item.ItemStack.lambda$onItemUse$0(ItemStack.java:162) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:178) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:162) ~[?:?]
    at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:373) ~[?:?]
    at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:847) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:53) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:11) ~[?:?]
    at net.minecraft.network.PacketThreadUtil.func_210405_a(SourceFile:10) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:199) ~[?:?]
    ... 5 more
[20Mär2019 23:10:39.325] [Server thread/FATAL] [net.minecraft.server.MinecraftServer/]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:200) [?:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:715) [?:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [?:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115) [?:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565) [?:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at drachenbauer32.angrybirdsmod.entity.EntityRed.<init>(EntityRed.java:15) ~[?:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:357) ~[?:?]
    at net.minecraft.entity.EntityType.makeEntity(EntityType.java:272) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:265) ~[?:?]
    at net.minecraft.entity.EntityType.spawnEntity(EntityType.java:260) ~[?:?]
    at net.minecraft.item.ItemSpawnEgg.onItemUse(SourceFile:81) ~[?:?]
    at net.minecraft.item.ItemStack.lambda$onItemUse$0(ItemStack.java:162) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:178) ~[?:?]
    at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:162) ~[?:?]
    at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:373) ~[?:?]
    at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:847) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:53) ~[?:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(SourceFile:11) ~[?:?]
    at net.minecraft.network.PacketThreadUtil.func_210405_a(SourceFile:10) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:199) ~[?:?]
    ... 5 more
[20Mär2019 23:10:54.263] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 2851ms or 57 ticks behind
[20Mär2019 23:11:14.107] [Server thread/FATAL] [net.minecraft.server.MinecraftServer/]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:200) [?:?]
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:715) [?:?]
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:669) [?:?]
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:115) [?:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:565) [?:?]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
Caused by: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes
    at drachenbauer32.angrybirdsmod.entity.EntityBlues.<init>(EntityBlues.java:15) ~[main/:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:357) ~[forge-1.13.2-25.0.70_mapped_snapshot_20180921-1.13-recomp.jar:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:386) ~[forge-1.13.2-25.0.70_mapped_snapshot_20180921-1.13-recomp.jar:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:362) ~[forge-1.13.2-25.0.70_mapped_snapshot_20180921-1.13-recomp.jar:?]
    at net.minecraft.entity.EntityType.create(EntityType.java:374) ~[forge-1.13.2-25.0.70_mapped_snapshot_20180921-1.13-recomp.jar:?]
    at net.minecraft.world.chunk.storage.AnvilChunkLoader.createEntityFromNBT(AnvilChunkLoader.java:805) ~[forge-1.13.2-25.0.70_mapped_snapshot_20180921-1.13-recomp.jar:?]
    at net.minecraft.world.chunk.storage.AnvilChunkLoader.createEntityFromNBT(AnvilChunkLoader.java:759) ~[forge-1.13.2-25.0.70_mapped_snapshot_20180921-1.13-recomp.jar:?]
    at net.minecraft.world.chunk.storage.AnvilChunkLoader.readWorldEntityPos(AnvilChunkLoader.java:789) ~[forge-1.13.2-25.0.70_mapped_snapshot_20180921-1.13-recomp.jar:?]
    at net.minecraft.command.impl.SummonCommand.func_198737_a(SourceFile:64) ~[forge-1.13.2-25.0.70_mapped_snapshot_20180921-1.13-recomp.jar:?]
    at net.minecraft.command.impl.SummonCommand.func_198738_c(SourceFile:39) ~[forge-1.13.2-25.0.70_mapped_snapshot_20180921-1.13-recomp.jar:?]
    at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:132) ~[brigadier-1.0.14.jar:?]
    at net.minecraft.command.Commands.handleCommand(Commands.java:204) ~[?:?]
    at net.minecraft.network.NetHandlerPlayServer.handleSlashCommand(NetHandlerPlayServer.java:986) ~[?:?]
    at net.minecraft.network.NetHandlerPlayServer.processChatMessage(NetHandlerPlayServer.java:969) ~[?:?]
    at net.minecraft.network.play.client.CPacketChatMessage.processPacket(SourceFile:37) ~[?:?]
    at net.minecraft.network.play.client.CPacketChatMessage.processPacket(SourceFile:9) ~[?:?]
    at net.minecraft.network.PacketThreadUtil.func_210405_a(SourceFile:10) ~[?:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_202]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_202]
    at net.minecraft.util.Util.runTask(SourceFile:199) ~[?:?]
    ... 5 more

They appear each time, if i try to spawn my birds (spawm-egg or summen-command)

The list includes multiple of them, because i tried it ultiple times during that run.

Edited by Drachenbauer
Posted (edited)

May be the error has to do with the new class, that holds theese build-constructs (similar to the ones in EntityType) for my birds.

 

But what exactly did i wrong in this class?

Edited by Drachenbauer
Posted (edited)
Quote

java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class drachenbauer32.angrybirdsmod.util.AngryBirdsEntityTypes

That is in the long errors list i posted a few posts before.

What exactly does that mean in my case?

 

i made a class to list my own entity-types the same way, like the minecraft-build-in-ones are listed in the class EntityType and it seams like the error has to do with that..

Edited by Drachenbauer

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.