NULL_VECTOR
Modifier | Constructor and Description |
---|---|
private |
SectionPos(int p_i50794_1_,
int p_i50794_2_,
int p_i50794_3_) |
Modifier and Type | Method and Description |
---|---|
java.util.stream.Stream<BlockPos> |
allBlocksWithin() |
BlockPos |
asBlockPos() |
ChunkPos |
asChunkPos() |
long |
asLong() |
static long |
asLong(int p_218166_0_,
int p_218166_1_,
int p_218166_2_) |
static int |
extractX(long packed) |
static int |
extractY(long packed) |
static int |
extractZ(long packed) |
static SectionPos |
from(BlockPos worldPos) |
static SectionPos |
from(ChunkPos xz,
int y) |
static SectionPos |
from(Entity p_218157_0_) |
static SectionPos |
from(long p_218170_0_) |
static java.util.stream.Stream<SectionPos> |
func_229421_b_(ChunkPos p_229421_0_,
int p_229421_1_) |
static java.util.stream.Stream<SectionPos> |
getAllInBox(int p_218168_0_,
int p_218168_1_,
int p_218168_2_,
int p_218168_3_,
int p_218168_4_,
int p_218168_5_) |
static java.util.stream.Stream<SectionPos> |
getAllInBox(SectionPos center,
int radius) |
BlockPos |
getCenter() |
int |
getSectionX() |
int |
getSectionY() |
int |
getSectionZ() |
int |
getWorldEndX() |
int |
getWorldEndY() |
int |
getWorldEndZ() |
int |
getWorldStartX() |
int |
getWorldStartY() |
int |
getWorldStartZ() |
static int |
mask(int p_218171_0_) |
static SectionPos |
of(int chunkX,
int chunkY,
int chunkZ) |
static int |
toChunk(int worldCoord) |
static short |
toRelativeOffset(BlockPos p_218150_0_) |
static long |
toSectionColumnPos(long p_218169_0_) |
static int |
toWorld(int chunkCoord) |
static long |
withOffset(long p_218172_0_,
Direction p_218172_2_) |
static long |
withOffset(long p_218174_0_,
int dx,
int dy,
int dz) |
static long |
worldToSection(long worldPos) |
compareTo, crossProduct, distanceSq, distanceSq, distanceSq, down, down, equals, func_229422_x_, getX, getY, getZ, hashCode, manhattanDistance, offset, toString, withinDistance, withinDistance
public static SectionPos of(int chunkX, int chunkY, int chunkZ)
public static SectionPos from(BlockPos worldPos)
public static SectionPos from(ChunkPos xz, int y)
public static SectionPos from(Entity p_218157_0_)
public static SectionPos from(long p_218170_0_)
public static long withOffset(long p_218172_0_, Direction p_218172_2_)
public static long withOffset(long p_218174_0_, int dx, int dy, int dz)
public static int toChunk(int worldCoord)
public static int mask(int p_218171_0_)
public static short toRelativeOffset(BlockPos p_218150_0_)
public static int toWorld(int chunkCoord)
public static int extractX(long packed)
public static int extractY(long packed)
public static int extractZ(long packed)
public int getSectionX()
public int getSectionY()
public int getSectionZ()
public int getWorldStartX()
public int getWorldStartY()
public int getWorldStartZ()
public int getWorldEndX()
public int getWorldEndY()
public int getWorldEndZ()
public static long worldToSection(long worldPos)
public static long toSectionColumnPos(long p_218169_0_)
public BlockPos asBlockPos()
public BlockPos getCenter()
public ChunkPos asChunkPos()
public static long asLong(int p_218166_0_, int p_218166_1_, int p_218166_2_)
public long asLong()
public java.util.stream.Stream<BlockPos> allBlocksWithin()
public static java.util.stream.Stream<SectionPos> getAllInBox(SectionPos center, int radius)
public static java.util.stream.Stream<SectionPos> func_229421_b_(ChunkPos p_229421_0_, int p_229421_1_)
public static java.util.stream.Stream<SectionPos> getAllInBox(int p_218168_0_, int p_218168_1_, int p_218168_2_, int p_218168_3_, int p_218168_4_, int p_218168_5_)