#Does anyone know how to give Projectile Entities collision?
1 messages · Page 1 of 1 (latest)
<@&987246652869971988> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
it is in the tick() method
it's called tick in the Mojang mappings, maybe it's different for your mappings ( if you are using fabric I think it should be tick as well)
It has separated block collision and entity collision checks
It does block collision by checking if the current block isn't air, and if it is inside of any of the bounding boxes of the block shape. ( If so it just stops moving )
The entity collision gets all entities in the level that intersect with the arrow and damages the first one that can be damaged
Closed the thread due to inactivity.
If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍