Jump to content

Recommended Posts

Posted (edited)

I'm making an entity, and I want it to be able to move through certain block types (but not ALL block types) as if they're air - no collisions etc. Is there any way to do this?

 

I've been looking through the Entity code but I'm just really confused. I can't seem to find where block collisions actually happen, only collisions with other entities. :S

Edited by Jay Avery
Posted

I found that event, but I don't know how I would go about removing the collision boxes of specific block types, since the event just contains a list of AxisAlignedBB. Is there a way to find out the block that each collision box comes from?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.