-
Bug
-
Resolution: Invalid
-
None
-
Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Minecraft 1.5.1
-
Linux, Sun Java 1.6, Forge 770
-
Unconfirmed
When determining entity-on-entity collisions noClip isn't checked, resulting in a collision when there shouldn't be one. Discovered by setting noClip=true, collisionsBox=null, canPush=false, and canCollide=false on an entity and setting width > 3, you can't approach the entity any closer than the bounding box.
Work-around: added check for noClip in World.java:getCollidingBoundingBoxes @ 4465 when iterating through bounding boxes (yes, I know this is from a decompile, but that should put you in the ballpark).
Application: parent entity with multiple child entities must have a bounding box encompassing all children, otherwise the collision detection doesn't work correctly (separate bug?). my parent entity is longer than it is wide, but bounding box uses width X width for size, so there's a lot of "empty space" on the sides. actual collision detection is handled by child entities, so parent entity needs to ignore collisions (hence use of noClip et al).