Hello i am working on a meteor plugin and it works great . However, when the meteor falls, I would like a monster to appear. It works for basic monsters such as spider zombies... But my monster is an entity that I created and that works well when I use the egg on the server. There is no problem with this entity in game. The only problem is that I can't make it appear with commands like : loc.getWorld().spawnEntity(loc, EntityType.ACRONISS); I receive several error messages on my console when I want it to appear. Thank you for your answer.
Its that : loc.getWorld().spawnEntity(loc, EntityType.ACRONISS); The line that's supposed to make the monster appear
What the heck is an acroniss? legitimate question... it says something about trying to spawn an iron golem in the error log. Because https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html doesn't seem to have anything about those entities that you are spawning in...
Yes because i use MCP and i added new entity. Its a big golem but in game i can use his egg and he can walk and hit player like a normal entity but when i try to use loc.getWorld().spawnEntity(loc, EntityType.ACRONISS) i got error ...