MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / offset

Method offset

src/main/java/net/minecraft/util/AxisAlignedBB.java:117–120  ·  view source on GitHub ↗

Offsets the current bounding box by the specified coordinates. Args: x, y, z

(double x, double y, double z)

Source from the content-addressed store, hash-verified

115 * Offsets the current bounding box by the specified coordinates. Args: x, y, z
116 */
117 public AxisAlignedBB offset(double x, double y, double z)
118 {
119 return new AxisAlignedBB(this.minX + x, this.minY + y, this.minZ + z, this.maxX + x, this.maxY + y, this.maxZ + z);
120 }
121
122 /**
123 * if instance and the argument bounding boxes overlap in the Y and Z dimensions, calculate the offset between them

Callers 4

onUpdateNavigationMethod · 0.95
moveEntityMethod · 0.95
isNotCollidingMethod · 0.95
isOnLiquidMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected