Alright, but its pretty big.
Here is the Entity's parent class(error will most likely be here):
https://github.com/Alex-the-666/Ice_and_Fire/blob/master/src/main/java/com/github/alexthe666/iceandfire/entity/EntityDragonBase.java
Then the child class that's spawned:
https://github.com/Alex-the-666/Ice_and_Fire/blob/master/src/main/java/com/github/alexthe666/iceandfire/entity/EntityFireDragon.java
Then the Class where the entities are registered:
https://github.com/Alex-the-666/Ice_and_Fire/blob/master/src/main/java/com/github/alexthe666/iceandfire/core/ModEntities.java
If you need anymore classes, they are on the github.
Alright, so i spawned another mob, and it worked. however, i tried again, then crashed.
Log: http://pastebin.com/LHyukY1c
Still no idea what is wrong here. It worked on my other mod with entities.
https://github.com/FossilsArcheologyRevival/FossilArcheology1.7/blob/master/src/main/java/com/github/revival/client/gui/GuiPedia.java#L521
I had a similar issue with my mod, you can see how I fixed it here.
Hello! I have an entity which spawns via a spawn egg. I have tis code in a class called ModEntites.java, which is called in the init().
EntityRegistry.registerModEntity(EntityFireDragon.class, "firedragon", 1, IceAndFire.instance, 80, 3, false, 0X340000, 0XA52929);
However, after spawning around 10 of my mobs normally, I spawn another. This one freezes minecraft completely, and the log prints out:
8 replies
Important Information
By using this site, you agree to our Terms of Use.