Package net.minecraft.util.math
Class ChunkSectionPos
java.lang.Object
net.minecraft.util.math.Vec3i
net.minecraft.util.math.ChunkSectionPos
- All Implemented Interfaces:
Comparable<Vec3i>
- Mappings:
Namespace Name official gz
intermediary net/minecraft/class_4076
named net/minecraft/util/math/ChunkSectionPos
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
static int
static int
static int
private static int
private static int
private static int
private static int
private static long
private static long
private static long
private static int
private static int
private static int
private static int
private static int
private static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd(int int2, int int3, int int4)
Returns another Vec3i whose coordinates have the parameter x, y, and z added to the coordinates of this vector.long
asLong()
static long
asLong(int x, int y, int z)
static ChunkSectionPos
from(int x, int y, int z)
Creates a chunk section position from its x-, y- and z-coordinates.static ChunkSectionPos
from(long packed)
Creates a chunk section position from its packed representation.static ChunkSectionPos
static ChunkSectionPos
static ChunkSectionPos
Creates a chunk section position from a chunk position and the y-coordinate of the vertical section.static ChunkSectionPos
static long
fromBlockPos(long blockPos)
Gets the packed chunk section coordinate for a given packedBlockPos
.static int
getBlockCoord(int sectionCoord)
Converts the given chunk section coordinate to the world coordinate system.static int
getLocalCoord(int coord)
Converts a world coordinate to the local coordinate system (0-15) of its corresponding chunk section.int
getMaxX()
int
getMaxY()
int
getMaxZ()
int
getMinX()
int
getMinY()
int
getMinZ()
static int
getOffsetPos(int chunkCoord, int offset)
static int
getSectionCoord(double coord)
static int
getSectionCoord(int coord)
Converts a world coordinate to the corresponding chunk-section coordinate.int
int
int
static long
offset(long packed, int x, int y, int z)
Offsets a packed chunk section position by the given offsets.static long
Offsets a packed chunk section position in the given direction.static short
Returns the local position of the given block position relative to its respective chunk section, packed into a short.static Stream<ChunkSectionPos>
stream(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
static Stream<ChunkSectionPos>
static Stream<ChunkSectionPos>
stream(ChunkSectionPos center, int radius)
static long
unpackBlockPos(short packedLocalPos)
Gets the world position of the given local position within this chunk section.int
unpackBlockX(short packedLocalPos)
Gets the world x-coordinate of the given local position within this chunk section.int
unpackBlockY(short packedLocalPos)
Gets the world y-coordinate of the given local position within this chunk section.int
unpackBlockZ(short packedLocalPos)
Gets the world z-coordinate of the given local position within this chunk section.static int
unpackLocalX(short packedLocalPos)
Gets the local x-coordinate from the given packed local position.static int
unpackLocalY(short packedLocalPos)
Gets the local y-coordinate from the given packed local position.static int
unpackLocalZ(short packedLocalPos)
Gets the local z-coordinate from the given packed local position.static int
unpackX(long packed)
Gets the chunk section x-coordinate from the given packed chunk section coordinate.static int
unpackY(long packed)
Gets the chunk section y-coordinate from the given packed chunk section coordinate.static int
unpackZ(long packed)
Gets the chunk section z-coordinate from the given packed chunk section coordinate.static long
withZeroY(long pos)
Gets the packed chunk section coordinate at y=0 for the same chunk as the given packed chunk section coordinate.Methods inherited from class net.minecraft.util.math.Vec3i
add, add, compareTo, crossProduct, down, down, east, east, equals, getComponentAlongAxis, getManhattanDistance, getSquaredDistance, getSquaredDistance, getSquaredDistance, getSquaredDistance, getX, getY, getZ, hashCode, isWithinDistance, isWithinDistance, multiply, north, north, offset, offset, offset, setX, setY, setZ, south, south, subtract, toShortString, toString, up, up, west, west
-
Field Details
-
field_33096
public static final int field_33096- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Lgz;a:I
intermediary field_33096
Lnet/minecraft/class_4076;field_33096:I
named field_33096
Lnet/minecraft/util/math/ChunkSectionPos;field_33096:I
-
field_33097
public static final int field_33097- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official b
Lgz;b:I
intermediary field_33097
Lnet/minecraft/class_4076;field_33097:I
named field_33097
Lnet/minecraft/util/math/ChunkSectionPos;field_33097:I
-
field_33100
private static final int field_33100- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official g
Lgz;g:I
intermediary field_33100
Lnet/minecraft/class_4076;field_33100:I
named field_33100
Lnet/minecraft/util/math/ChunkSectionPos;field_33100:I
-
field_33098
public static final int field_33098- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official c
Lgz;c:I
intermediary field_33098
Lnet/minecraft/class_4076;field_33098:I
named field_33098
Lnet/minecraft/util/math/ChunkSectionPos;field_33098:I
-
field_33099
public static final int field_33099- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official d
Lgz;d:I
intermediary field_33099
Lnet/minecraft/class_4076;field_33099:I
named field_33099
Lnet/minecraft/util/math/ChunkSectionPos;field_33099:I
-
field_33101
private static final int field_33101- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official h
Lgz;h:I
intermediary field_33101
Lnet/minecraft/class_4076;field_33101:I
named field_33101
Lnet/minecraft/util/math/ChunkSectionPos;field_33101:I
-
field_33102
private static final int field_33102- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official i
Lgz;i:I
intermediary field_33102
Lnet/minecraft/class_4076;field_33102:I
named field_33102
Lnet/minecraft/util/math/ChunkSectionPos;field_33102:I
-
field_33103
private static final int field_33103- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official j
Lgz;j:I
intermediary field_33103
Lnet/minecraft/class_4076;field_33103:I
named field_33103
Lnet/minecraft/util/math/ChunkSectionPos;field_33103:I
-
field_33104
private static final long field_33104- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official k
Lgz;k:J
intermediary field_33104
Lnet/minecraft/class_4076;field_33104:J
named field_33104
Lnet/minecraft/util/math/ChunkSectionPos;field_33104:J
-
field_33105
private static final long field_33105- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official l
Lgz;l:J
intermediary field_33105
Lnet/minecraft/class_4076;field_33105:J
named field_33105
Lnet/minecraft/util/math/ChunkSectionPos;field_33105:J
-
field_33106
private static final long field_33106- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official m
Lgz;m:J
intermediary field_33106
Lnet/minecraft/class_4076;field_33106:J
named field_33106
Lnet/minecraft/util/math/ChunkSectionPos;field_33106:J
-
field_33107
private static final int field_33107- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official n
Lgz;n:I
intermediary field_33107
Lnet/minecraft/class_4076;field_33107:I
named field_33107
Lnet/minecraft/util/math/ChunkSectionPos;field_33107:I
-
field_33108
private static final int field_33108- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official o
Lgz;o:I
intermediary field_33108
Lnet/minecraft/class_4076;field_33108:I
named field_33108
Lnet/minecraft/util/math/ChunkSectionPos;field_33108:I
-
field_33109
private static final int field_33109- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official p
Lgz;p:I
intermediary field_33109
Lnet/minecraft/class_4076;field_33109:I
named field_33109
Lnet/minecraft/util/math/ChunkSectionPos;field_33109:I
-
field_33110
private static final int field_33110- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official q
Lgz;q:I
intermediary field_33110
Lnet/minecraft/class_4076;field_33110:I
named field_33110
Lnet/minecraft/util/math/ChunkSectionPos;field_33110:I
-
field_33111
private static final int field_33111- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official r
Lgz;r:I
intermediary field_33111
Lnet/minecraft/class_4076;field_33111:I
named field_33111
Lnet/minecraft/util/math/ChunkSectionPos;field_33111:I
-
field_33112
private static final int field_33112- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official s
Lgz;s:I
intermediary field_33112
Lnet/minecraft/class_4076;field_33112:I
named field_33112
Lnet/minecraft/util/math/ChunkSectionPos;field_33112:I
-
-
Constructor Details
-
ChunkSectionPos
ChunkSectionPos(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official <init>
Lhb;<init>(III)V
intermediary <init>
Lnet/minecraft/class_2382;<init>(III)V
named <init>
Lnet/minecraft/util/math/Vec3i;<init>(III)V
-
-
Method Details
-
from
Creates a chunk section position from its x-, y- and z-coordinates.- Mappings:
Namespace Name Mixin selector official a
Lgz;a(III)Lgz;
intermediary method_18676
Lnet/minecraft/class_4076;method_18676(III)Lnet/minecraft/class_4076;
named from
Lnet/minecraft/util/math/ChunkSectionPos;from(III)Lnet/minecraft/util/math/ChunkSectionPos;
-
from
- Mappings:
Namespace Name Mixin selector official a
Lgz;a(Lgg;)Lgz;
intermediary method_18682
Lnet/minecraft/class_4076;method_18682(Lnet/minecraft/class_2338;)Lnet/minecraft/class_4076;
named from
Lnet/minecraft/util/math/ChunkSectionPos;from(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/ChunkSectionPos;
-
from
Creates a chunk section position from a chunk position and the y-coordinate of the vertical section.- Mappings:
Namespace Name Mixin selector official a
Lgz;a(Lbvu;I)Lgz;
intermediary method_18681
Lnet/minecraft/class_4076;method_18681(Lnet/minecraft/class_1923;I)Lnet/minecraft/class_4076;
named from
Lnet/minecraft/util/math/ChunkSectionPos;from(Lnet/minecraft/util/math/ChunkPos;I)Lnet/minecraft/util/math/ChunkSectionPos;
-
from
- Mappings:
Namespace Name Mixin selector official a
Lgz;a(Latf;)Lgz;
intermediary method_18680
Lnet/minecraft/class_4076;method_18680(Lnet/minecraft/class_1297;)Lnet/minecraft/class_4076;
named from
Lnet/minecraft/util/math/ChunkSectionPos;from(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/ChunkSectionPos;
-
from
Creates a chunk section position from its packed representation.- See Also:
asLong(int, int, int)
- Mappings:
Namespace Name Mixin selector official a
Lgz;a(J)Lgz;
intermediary method_18677
Lnet/minecraft/class_4076;method_18677(J)Lnet/minecraft/class_4076;
named from
Lnet/minecraft/util/math/ChunkSectionPos;from(J)Lnet/minecraft/util/math/ChunkSectionPos;
-
from
- Mappings:
Namespace Name Mixin selector official a
Lgz;a(Lcml;)Lgz;
intermediary method_33705
Lnet/minecraft/class_4076;method_33705(Lnet/minecraft/class_2791;)Lnet/minecraft/class_4076;
named from
Lnet/minecraft/util/math/ChunkSectionPos;from(Lnet/minecraft/world/chunk/Chunk;)Lnet/minecraft/util/math/ChunkSectionPos;
-
offset
Offsets a packed chunk section position in the given direction.- See Also:
asLong(int, int, int)
- Mappings:
Namespace Name Mixin selector official a
Lgz;a(JLgl;)J
intermediary method_18679
Lnet/minecraft/class_4076;method_18679(JLnet/minecraft/class_2350;)J
named offset
Lnet/minecraft/util/math/ChunkSectionPos;offset(JLnet/minecraft/util/math/Direction;)J
-
offset
public static long offset(long packed, int x, int y, int z)Offsets a packed chunk section position by the given offsets.- See Also:
asLong(int, int, int)
- Mappings:
Namespace Name Mixin selector official a
Lgz;a(JIII)J
intermediary method_18678
Lnet/minecraft/class_4076;method_18678(JIII)J
named offset
Lnet/minecraft/util/math/ChunkSectionPos;offset(JIII)J
-
getSectionCoord
public static int getSectionCoord(double coord)- Mappings:
Namespace Name Mixin selector official a
Lgz;a(D)I
intermediary method_32204
Lnet/minecraft/class_4076;method_32204(D)I
named getSectionCoord
Lnet/minecraft/util/math/ChunkSectionPos;getSectionCoord(D)I
-
getSectionCoord
public static int getSectionCoord(int coord)Converts a world coordinate to the corresponding chunk-section coordinate.- Implementation Note:
- This implementation returns
coord / 16
. - Mappings:
Namespace Name Mixin selector official a
Lgz;a(I)I
intermediary method_18675
Lnet/minecraft/class_4076;method_18675(I)I
named getSectionCoord
Lnet/minecraft/util/math/ChunkSectionPos;getSectionCoord(I)I
-
getLocalCoord
public static int getLocalCoord(int coord)Converts a world coordinate to the local coordinate system (0-15) of its corresponding chunk section.- Mappings:
Namespace Name Mixin selector official b
Lgz;b(I)I
intermediary method_18684
Lnet/minecraft/class_4076;method_18684(I)I
named getLocalCoord
Lnet/minecraft/util/math/ChunkSectionPos;getLocalCoord(I)I
-
packLocal
Returns the local position of the given block position relative to its respective chunk section, packed into a short.- Mappings:
Namespace Name Mixin selector official b
Lgz;b(Lgg;)S
intermediary method_19454
Lnet/minecraft/class_4076;method_19454(Lnet/minecraft/class_2338;)S
named packLocal
Lnet/minecraft/util/math/ChunkSectionPos;packLocal(Lnet/minecraft/util/math/BlockPos;)S
-
unpackLocalX
public static int unpackLocalX(short packedLocalPos)Gets the local x-coordinate from the given packed local position.- See Also:
packLocal(net.minecraft.util.math.BlockPos)
- Mappings:
Namespace Name Mixin selector official a
Lgz;a(S)I
intermediary method_30551
Lnet/minecraft/class_4076;method_30551(S)I
named unpackLocalX
Lnet/minecraft/util/math/ChunkSectionPos;unpackLocalX(S)I
-
unpackLocalY
public static int unpackLocalY(short packedLocalPos)Gets the local y-coordinate from the given packed local position.- See Also:
packLocal(net.minecraft.util.math.BlockPos)
- Mappings:
Namespace Name Mixin selector official b
Lgz;b(S)I
intermediary method_30552
Lnet/minecraft/class_4076;method_30552(S)I
named unpackLocalY
Lnet/minecraft/util/math/ChunkSectionPos;unpackLocalY(S)I
-
unpackLocalZ
public static int unpackLocalZ(short packedLocalPos)Gets the local z-coordinate from the given packed local position.- See Also:
packLocal(net.minecraft.util.math.BlockPos)
- Mappings:
Namespace Name Mixin selector official c
Lgz;c(S)I
intermediary method_30553
Lnet/minecraft/class_4076;method_30553(S)I
named unpackLocalZ
Lnet/minecraft/util/math/ChunkSectionPos;unpackLocalZ(S)I
-
unpackBlockX
public int unpackBlockX(short packedLocalPos)Gets the world x-coordinate of the given local position within this chunk section.- See Also:
packLocal(net.minecraft.util.math.BlockPos)
- Mappings:
Namespace Name Mixin selector official d
Lgz;d(S)I
intermediary method_30554
Lnet/minecraft/class_4076;method_30554(S)I
named unpackBlockX
Lnet/minecraft/util/math/ChunkSectionPos;unpackBlockX(S)I
-
unpackBlockY
public int unpackBlockY(short packedLocalPos)Gets the world y-coordinate of the given local position within this chunk section.- See Also:
packLocal(net.minecraft.util.math.BlockPos)
- Mappings:
Namespace Name Mixin selector official e
Lgz;e(S)I
intermediary method_30555
Lnet/minecraft/class_4076;method_30555(S)I
named unpackBlockY
Lnet/minecraft/util/math/ChunkSectionPos;unpackBlockY(S)I
-
unpackBlockZ
public int unpackBlockZ(short packedLocalPos)Gets the world z-coordinate of the given local position within this chunk section.- See Also:
packLocal(net.minecraft.util.math.BlockPos)
- Mappings:
Namespace Name Mixin selector official f
Lgz;f(S)I
intermediary method_30556
Lnet/minecraft/class_4076;method_30556(S)I
named unpackBlockZ
Lnet/minecraft/util/math/ChunkSectionPos;unpackBlockZ(S)I
-
unpackBlockPos
Gets the world position of the given local position within this chunk section.- See Also:
packLocal(net.minecraft.util.math.BlockPos)
- Mappings:
Namespace Name Mixin selector official g
Lgz;g(S)Lgg;
intermediary method_30557
Lnet/minecraft/class_4076;method_30557(S)Lnet/minecraft/class_2338;
named unpackBlockPos
Lnet/minecraft/util/math/ChunkSectionPos;unpackBlockPos(S)Lnet/minecraft/util/math/BlockPos;
-
getBlockCoord
public static int getBlockCoord(int sectionCoord)Converts the given chunk section coordinate to the world coordinate system. The returned coordinate will always be at the origin of the chunk section in world space.- Mappings:
Namespace Name Mixin selector official c
Lgz;c(I)I
intermediary method_18688
Lnet/minecraft/class_4076;method_18688(I)I
named getBlockCoord
Lnet/minecraft/util/math/ChunkSectionPos;getBlockCoord(I)I
-
getOffsetPos
public static int getOffsetPos(int chunkCoord, int offset)- Mappings:
Namespace Name Mixin selector official a
Lgz;a(II)I
intermediary method_32205
Lnet/minecraft/class_4076;method_32205(II)I
named getOffsetPos
Lnet/minecraft/util/math/ChunkSectionPos;getOffsetPos(II)I
-
unpackX
public static int unpackX(long packed)Gets the chunk section x-coordinate from the given packed chunk section coordinate.- See Also:
asLong(int, int, int)
- Mappings:
Namespace Name Mixin selector official b
Lgz;b(J)I
intermediary method_18686
Lnet/minecraft/class_4076;method_18686(J)I
named unpackX
Lnet/minecraft/util/math/ChunkSectionPos;unpackX(J)I
-
unpackY
public static int unpackY(long packed)Gets the chunk section y-coordinate from the given packed chunk section coordinate.- See Also:
asLong(int, int, int)
- Mappings:
Namespace Name Mixin selector official c
Lgz;c(J)I
intermediary method_18689
Lnet/minecraft/class_4076;method_18689(J)I
named unpackY
Lnet/minecraft/util/math/ChunkSectionPos;unpackY(J)I
-
unpackZ
public static int unpackZ(long packed)Gets the chunk section z-coordinate from the given packed chunk section coordinate.- See Also:
asLong(int, int, int)
- Mappings:
Namespace Name Mixin selector official d
Lgz;d(J)I
intermediary method_18690
Lnet/minecraft/class_4076;method_18690(J)I
named unpackZ
Lnet/minecraft/util/math/ChunkSectionPos;unpackZ(J)I
-
getSectionX
public int getSectionX()- Mappings:
Namespace Name Mixin selector official a
Lgz;a()I
intermediary method_18674
Lnet/minecraft/class_4076;method_18674()I
named getSectionX
Lnet/minecraft/util/math/ChunkSectionPos;getSectionX()I
-
getSectionY
public int getSectionY()- Mappings:
Namespace Name Mixin selector official b
Lgz;b()I
intermediary method_18683
Lnet/minecraft/class_4076;method_18683()I
named getSectionY
Lnet/minecraft/util/math/ChunkSectionPos;getSectionY()I
-
getSectionZ
public int getSectionZ()- Mappings:
Namespace Name Mixin selector official c
Lgz;c()I
intermediary method_18687
Lnet/minecraft/class_4076;method_18687()I
named getSectionZ
Lnet/minecraft/util/math/ChunkSectionPos;getSectionZ()I
-
getMinX
public int getMinX()- Mappings:
Namespace Name Mixin selector official d
Lgz;d()I
intermediary method_19527
Lnet/minecraft/class_4076;method_19527()I
named getMinX
Lnet/minecraft/util/math/ChunkSectionPos;getMinX()I
-
getMinY
public int getMinY()- Mappings:
Namespace Name Mixin selector official e
Lgz;e()I
intermediary method_19528
Lnet/minecraft/class_4076;method_19528()I
named getMinY
Lnet/minecraft/util/math/ChunkSectionPos;getMinY()I
-
getMinZ
public int getMinZ()- Mappings:
Namespace Name Mixin selector official f
Lgz;f()I
intermediary method_19529
Lnet/minecraft/class_4076;method_19529()I
named getMinZ
Lnet/minecraft/util/math/ChunkSectionPos;getMinZ()I
-
getMaxX
public int getMaxX()- Mappings:
Namespace Name Mixin selector official g
Lgz;g()I
intermediary method_19530
Lnet/minecraft/class_4076;method_19530()I
named getMaxX
Lnet/minecraft/util/math/ChunkSectionPos;getMaxX()I
-
getMaxY
public int getMaxY()- Mappings:
Namespace Name Mixin selector official h
Lgz;h()I
intermediary method_19531
Lnet/minecraft/class_4076;method_19531()I
named getMaxY
Lnet/minecraft/util/math/ChunkSectionPos;getMaxY()I
-
getMaxZ
public int getMaxZ()- Mappings:
Namespace Name Mixin selector official i
Lgz;i()I
intermediary method_19532
Lnet/minecraft/class_4076;method_19532()I
named getMaxZ
Lnet/minecraft/util/math/ChunkSectionPos;getMaxZ()I
-
fromBlockPos
public static long fromBlockPos(long blockPos)Gets the packed chunk section coordinate for a given packedBlockPos
.- See Also:
asLong(int, int, int)
,BlockPos.asLong()
- Mappings:
Namespace Name Mixin selector official e
Lgz;e(J)J
intermediary method_18691
Lnet/minecraft/class_4076;method_18691(J)J
named fromBlockPos
Lnet/minecraft/util/math/ChunkSectionPos;fromBlockPos(J)J
-
withZeroY
public static long withZeroY(long pos)Gets the packed chunk section coordinate at y=0 for the same chunk as the given packed chunk section coordinate.- See Also:
asLong(int, int, int)
- Mappings:
Namespace Name Mixin selector official f
Lgz;f(J)J
intermediary method_18693
Lnet/minecraft/class_4076;method_18693(J)J
named withZeroY
Lnet/minecraft/util/math/ChunkSectionPos;withZeroY(J)J
-
getMinPos
- Mappings:
Namespace Name Mixin selector official p
Lgz;p()Lgg;
intermediary method_19767
Lnet/minecraft/class_4076;method_19767()Lnet/minecraft/class_2338;
named getMinPos
Lnet/minecraft/util/math/ChunkSectionPos;getMinPos()Lnet/minecraft/util/math/BlockPos;
-
getCenterPos
- Mappings:
Namespace Name Mixin selector official q
Lgz;q()Lgg;
intermediary method_19768
Lnet/minecraft/class_4076;method_19768()Lnet/minecraft/class_2338;
named getCenterPos
Lnet/minecraft/util/math/ChunkSectionPos;getCenterPos()Lnet/minecraft/util/math/BlockPos;
-
toChunkPos
- Mappings:
Namespace Name Mixin selector official r
Lgz;r()Lbvu;
intermediary method_18692
Lnet/minecraft/class_4076;method_18692()Lnet/minecraft/class_1923;
named toChunkPos
Lnet/minecraft/util/math/ChunkSectionPos;toChunkPos()Lnet/minecraft/util/math/ChunkPos;
-
toLong
- Mappings:
Namespace Name Mixin selector official c
Lgz;c(Lgg;)J
intermediary method_33706
Lnet/minecraft/class_4076;method_33706(Lnet/minecraft/class_2338;)J
named toLong
Lnet/minecraft/util/math/ChunkSectionPos;toLong(Lnet/minecraft/util/math/BlockPos;)J
-
asLong
public static long asLong(int x, int y, int z)- Mappings:
Namespace Name Mixin selector official b
Lgz;b(III)J
intermediary method_18685
Lnet/minecraft/class_4076;method_18685(III)J
named asLong
Lnet/minecraft/util/math/ChunkSectionPos;asLong(III)J
-
asLong
public long asLong()- Mappings:
Namespace Name Mixin selector official s
Lgz;s()J
intermediary method_18694
Lnet/minecraft/class_4076;method_18694()J
named asLong
Lnet/minecraft/util/math/ChunkSectionPos;asLong()J
-
add
Description copied from class:Vec3i
Returns another Vec3i whose coordinates have the parameter x, y, and z added to the coordinates of this vector.This method always returns an immutable object.
-
streamBlocks
- Mappings:
Namespace Name Mixin selector official t
Lgz;t()Ljava/util/stream/Stream;
intermediary method_19533
Lnet/minecraft/class_4076;method_19533()Ljava/util/stream/Stream;
named streamBlocks
Lnet/minecraft/util/math/ChunkSectionPos;streamBlocks()Ljava/util/stream/Stream;
-
stream
- Mappings:
Namespace Name Mixin selector official a
Lgz;a(Lgz;I)Ljava/util/stream/Stream;
intermediary method_20439
Lnet/minecraft/class_4076;method_20439(Lnet/minecraft/class_4076;I)Ljava/util/stream/Stream;
named stream
Lnet/minecraft/util/math/ChunkSectionPos;stream(Lnet/minecraft/util/math/ChunkSectionPos;I)Ljava/util/stream/Stream;
-
stream
- Mappings:
Namespace Name Mixin selector official a
Lgz;a(Lbvu;III)Ljava/util/stream/Stream;
intermediary method_22446
Lnet/minecraft/class_4076;method_22446(Lnet/minecraft/class_1923;III)Ljava/util/stream/Stream;
named stream
Lnet/minecraft/util/math/ChunkSectionPos;stream(Lnet/minecraft/util/math/ChunkPos;III)Ljava/util/stream/Stream;
-
stream
public static Stream<ChunkSectionPos> stream(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)- Mappings:
Namespace Name Mixin selector official a
Lgz;a(IIIIII)Ljava/util/stream/Stream;
intermediary method_20438
Lnet/minecraft/class_4076;method_20438(IIIIII)Ljava/util/stream/Stream;
named stream
Lnet/minecraft/util/math/ChunkSectionPos;stream(IIIIII)Ljava/util/stream/Stream;
-