1.18 How to set bounding or collision box in NMS

Discussion in 'Spigot Plugin Development' started by Anston06, May 14, 2022.

  1. I am trying to set the bounding box (collision box) of an entity. I am using Mojang mapped NMS to make my custom entity and I noticed there was a setBoundingBox method and it uses AABB (whatever that is). I tried making an AABB object or whatever by putting it block positions and it doesn't work. Is this what I need to change the bounding or collision box? If so, how would I go about doing that?

    upload_2022-5-14_14-37-18.png
     
    #1 Anston06, May 14, 2022
    Last edited: May 14, 2022