Help Spawn entity

Discussion in 'Plugin Development' started by Azerosse, Jun 10, 2019.

Thread Status:
Not open for further replies.
  1. 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.
     
  2. Offline

    Minesuchtiiii

    Can you tell us what's in line 130 of meteorplugin.CCE.crash, as the error log points to this line.
     
  3. Its that : loc.getWorld().spawnEntity(loc, EntityType.ACRONISS);

    The line that's supposed to make the monster appear
     
  4. Offline

    Dai_Kunai

    Last edited: Jun 10, 2019
  5. 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 ...
     
  6. Online

    timtower Administrator Administrator Moderator

    Locked
    Modded servers are not supported by Bukkit
     
Thread Status:
Not open for further replies.

Share This Page