AxisAlignedBB methods grow and expand have been swapped
TheGreyGhost opened this issue ยท 1 comments
I've just noticed that someone has swapped the method names for AxisAlignedBB grow and expand at some point since this library was written
i.e. in the latest recommended Forge 1.12.2 release (version = "1.12.2-14.23.5.2768" mappings = "snapshot_20171003")
grow is now expand, and vica versa.
This breaks a lot of code including for example
PartEntity:
public void collideWithNearbyEntities() {
List entities = this.world.getEntitiesWithinAABBExcludingEntity(this, this.getEntityBoundingBox().expand(0.20000000298023224D, 0.0D, 0.20000000298023224D));
entities.stream().filter(entity -> entity != this.parent && !(entity instanceof PartEntity) && entity.canBePushed()).forEach(entity -> entity.applyEntityCollision(this.parent));
}