@@ -93,8 +93,8 @@
|
||||
}
|
||||
|
||||
public boolean isComplete() {
|
||||
@@ -218,7 +248,7 @@
|
||||
return new Vec3D(d2, d3, d4);
|
||||
@@ -217,7 +247,7 @@
|
||||
return new Vec3D(d3, d2, d4);
|
||||
}
|
||||
|
||||
- public static ShapeDetectorShape createPortalInfo(WorldServer worldserver, BlockUtil.Rectangle blockutil_rectangle, EnumDirection.EnumAxis enumdirection_enumaxis, Vec3D vec3d, Entity entity, Vec3D vec3d1, float f, float f1) {
|
||||
@@ -102,7 +102,7 @@
|
||||
BlockPosition blockposition = blockutil_rectangle.minCorner;
|
||||
IBlockData iblockdata = worldserver.getBlockState(blockposition);
|
||||
EnumDirection.EnumAxis enumdirection_enumaxis1 = (EnumDirection.EnumAxis) iblockdata.getOptionalValue(BlockProperties.HORIZONTAL_AXIS).orElse(EnumDirection.EnumAxis.X);
|
||||
@@ -234,7 +264,7 @@
|
||||
@@ -233,7 +263,7 @@
|
||||
Vec3D vec3d3 = new Vec3D((double) blockposition.getX() + (flag ? d2 : d4), (double) blockposition.getY() + d3, (double) blockposition.getZ() + (flag ? d4 : d2));
|
||||
Vec3D vec3d4 = findCollisionFreePosition(vec3d3, worldserver, entity, entitysize);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user