Package net.minecraft.util.math
Class ChunkPos
java.lang.Object
net.minecraft.util.math.ChunkPos
- Mappings:
Namespace Name official ahnintermediary net/minecraft/class_1146named net/minecraft/util/math/ChunkPos
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintintintstatic longgetIdFromCoords(int x, int z) intintinthashCode()doublemethod_11474(Entity entity) toBlockPos(int y) toBlockPos(int offsetX, int y, int offsetZ) toString()
-
Field Details
-
x
public final int x- Mappings:
Namespace Name Mixin selector official aLahn;a:Iintermediary field_4507Lnet/minecraft/class_1146;field_4507:Inamed xLnet/minecraft/util/math/ChunkPos;x:I
-
z
public final int z- Mappings:
Namespace Name Mixin selector official bLahn;b:Iintermediary field_4508Lnet/minecraft/class_1146;field_4508:Inamed zLnet/minecraft/util/math/ChunkPos;z:I
-
-
Constructor Details
-
ChunkPos
public ChunkPos(int x, int z) - Mappings:
Namespace Name Mixin selector official <init>Lahn;<init>(II)Vintermediary <init>Lnet/minecraft/class_1146;<init>(II)Vnamed <init>Lnet/minecraft/util/math/ChunkPos;<init>(II)V
-
ChunkPos
- Mappings:
Namespace Name Mixin selector official <init>Lahn;<init>(Lcl;)Vintermediary <init>Lnet/minecraft/class_1146;<init>(Lnet/minecraft/class_2552;)Vnamed <init>Lnet/minecraft/util/math/ChunkPos;<init>(Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
getIdFromCoords
public static long getIdFromCoords(int x, int z) - Mappings:
Namespace Name Mixin selector official aLahn;a(II)Jintermediary method_3565Lnet/minecraft/class_1146;method_3565(II)Jnamed getIdFromCoordsLnet/minecraft/util/math/ChunkPos;getIdFromCoords(II)J
-
hashCode
public int hashCode() -
equals
-
method_11474
- Mappings:
Namespace Name Mixin selector official aLahn;a(Lrr;)Dintermediary method_11474Lnet/minecraft/class_1146;method_11474(Lnet/minecraft/class_864;)Dnamed method_11474Lnet/minecraft/util/math/ChunkPos;method_11474(Lnet/minecraft/entity/Entity;)D
-
getCenterX
public int getCenterX()- Mappings:
Namespace Name Mixin selector official aLahn;a()Iintermediary method_3563Lnet/minecraft/class_1146;method_3563()Inamed getCenterXLnet/minecraft/util/math/ChunkPos;getCenterX()I
-
getCenterZ
public int getCenterZ()- Mappings:
Namespace Name Mixin selector official bLahn;b()Iintermediary method_3566Lnet/minecraft/class_1146;method_3566()Inamed getCenterZLnet/minecraft/util/math/ChunkPos;getCenterZ()I
-
getActualX
public int getActualX()- Mappings:
Namespace Name Mixin selector official cLahn;c()Iintermediary method_8468Lnet/minecraft/class_1146;method_8468()Inamed getActualXLnet/minecraft/util/math/ChunkPos;getActualX()I
-
getActualZ
public int getActualZ()- Mappings:
Namespace Name Mixin selector official dLahn;d()Iintermediary method_8469Lnet/minecraft/class_1146;method_8469()Inamed getActualZLnet/minecraft/util/math/ChunkPos;getActualZ()I
-
getOppositeX
public int getOppositeX()- Mappings:
Namespace Name Mixin selector official eLahn;e()Iintermediary method_8470Lnet/minecraft/class_1146;method_8470()Inamed getOppositeXLnet/minecraft/util/math/ChunkPos;getOppositeX()I
-
getOppositeZ
public int getOppositeZ()- Mappings:
Namespace Name Mixin selector official fLahn;f()Iintermediary method_8471Lnet/minecraft/class_1146;method_8471()Inamed getOppositeZLnet/minecraft/util/math/ChunkPos;getOppositeZ()I
-
toBlockPos
- Mappings:
Namespace Name Mixin selector official aLahn;a(III)Lcl;intermediary method_8467Lnet/minecraft/class_1146;method_8467(III)Lnet/minecraft/class_2552;named toBlockPosLnet/minecraft/util/math/ChunkPos;toBlockPos(III)Lnet/minecraft/util/math/BlockPos;
-
toBlockPos
- Mappings:
Namespace Name Mixin selector official aLahn;a(I)Lcl;intermediary method_3564Lnet/minecraft/class_1146;method_3564(I)Lnet/minecraft/class_2552;named toBlockPosLnet/minecraft/util/math/ChunkPos;toBlockPos(I)Lnet/minecraft/util/math/BlockPos;
-
toString
-