1.12.2 Disabled collisions

Discussion in 'Spigot Plugin Development' started by Ansl, Mar 16, 2020.

  1. Hey. Me need disabled collisions. I checked paper cors, but not found how disable collisions.
     
  2. Hello,

    Just use LivingEntity#setCollidable(boolean collidable).
    Do not forget to read the javadoc:
     
  3. thanks, I`ll try
     
  4. If it isn't working you can also use Scoreboard teams. You'll need to set the team options to COLLISION_NEVER or something like that and add every player and/or entities to that team.