Jump to content

DocBrian

Members
  • Posts

    2
  • Joined

  • Last visited

DocBrian's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. By the way, the way I'm currently trying is Minecraft.getMinecraft().theWorld.getEntitiesWithinAABBExcludingEntity() and setting the AABB to the bounding box of the entity and excluding itself. Seems to work most of the time, but not always. Is there a better way?
  2. I can easily detect collisions with other entities in my custom entities, but I'm trying to detect them in vanilla entities. Since there's no EntityCollision event, I've heard of people polling for collisions via player update events or entityLiving update events, but so far I'm not seeing how I'd go about grabbing that info. I have a pretty decent understanding of Java and the Minecraft API, so I don't need a lot of details on how to code it; I just need someone to point me in the right direction. I'm looking for entity/entity collisions and entity/player collisions. By the way, I'd like to make this work with both 1.7 and 1.12. Would it require similar or different techniques for each version? Thanks in advance!
×
×
  • Create New...

Important Information

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