Disable collision

Discussion in 'Spigot Plugin Development' started by MartenM, Jun 4, 2017.

  1. Hiya spigot,

    So, I have a plugin where players can make clickable mobs that will do something. Thing is, that these mobs can be pushed around.
    I have tried some stuff with the #.setCollidable but this has to be enabled for both player and entity, something I did rather not do.

    Is there any way to achieve with Spigot or do I have to dive into NMS?

    -Marten
     
  2. What Spigot version are you using?
     
  3. I am trying to support 1.9 to 1.11.
    Currently I am testing on my server with 1.10.
     
  4. Are the entities custom Entities or just normal ones? You can disable the push with NMS Entities.
     
  5. They are normal.
    So, my bet is that I have to make custom entities?
     
  6. AFAIK, you can't really disable the push in normal. You can with NMS Entities.