Class ChunkSectionPos

java.lang.Object
net.minecraft.util.math.Vec3i
net.minecraft.util.math.ChunkSectionPos
All Implemented Interfaces:
Comparable<Vec3i>

public class ChunkSectionPos extends Vec3i
Mappings:
Namespace Name
named net/minecraft/util/math/ChunkSectionPos
intermediary net/minecraft/class_4076
official kb
  • Field Details

    • field_33096

      public static final int field_33096
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33096 Lnet/minecraft/util/math/ChunkSectionPos;field_33096:I
      intermediary field_33096 Lnet/minecraft/class_4076;field_33096:I
      official a Lkb;a:I
    • field_33097

      public static final int field_33097
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33097 Lnet/minecraft/util/math/ChunkSectionPos;field_33097:I
      intermediary field_33097 Lnet/minecraft/class_4076;field_33097:I
      official b Lkb;b:I
    • field_33100

      public static final int field_33100
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33100 Lnet/minecraft/util/math/ChunkSectionPos;field_33100:I
      intermediary field_33100 Lnet/minecraft/class_4076;field_33100:I
      official c Lkb;c:I
    • field_33098

      public static final int field_33098
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33098 Lnet/minecraft/util/math/ChunkSectionPos;field_33098:I
      intermediary field_33098 Lnet/minecraft/class_4076;field_33098:I
      official d Lkb;d:I
    • field_33099

      public static final int field_33099
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33099 Lnet/minecraft/util/math/ChunkSectionPos;field_33099:I
      intermediary field_33099 Lnet/minecraft/class_4076;field_33099:I
      official e Lkb;e:I
    • field_33101

      private static final int field_33101
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33101 Lnet/minecraft/util/math/ChunkSectionPos;field_33101:I
      intermediary field_33101 Lnet/minecraft/class_4076;field_33101:I
      official h Lkb;h:I
    • field_33102

      private static final int field_33102
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33102 Lnet/minecraft/util/math/ChunkSectionPos;field_33102:I
      intermediary field_33102 Lnet/minecraft/class_4076;field_33102:I
      official i Lkb;i:I
    • field_33103

      private static final int field_33103
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33103 Lnet/minecraft/util/math/ChunkSectionPos;field_33103:I
      intermediary field_33103 Lnet/minecraft/class_4076;field_33103:I
      official j Lkb;j:I
    • field_33104

      private static final long field_33104
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33104 Lnet/minecraft/util/math/ChunkSectionPos;field_33104:J
      intermediary field_33104 Lnet/minecraft/class_4076;field_33104:J
      official k Lkb;k:J
    • field_33105

      private static final long field_33105
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33105 Lnet/minecraft/util/math/ChunkSectionPos;field_33105:J
      intermediary field_33105 Lnet/minecraft/class_4076;field_33105:J
      official l Lkb;l:J
    • field_33106

      private static final long field_33106
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33106 Lnet/minecraft/util/math/ChunkSectionPos;field_33106:J
      intermediary field_33106 Lnet/minecraft/class_4076;field_33106:J
      official m Lkb;m:J
    • field_33107

      private static final int field_33107
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33107 Lnet/minecraft/util/math/ChunkSectionPos;field_33107:I
      intermediary field_33107 Lnet/minecraft/class_4076;field_33107:I
      official n Lkb;n:I
    • field_33108

      private static final int field_33108
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33108 Lnet/minecraft/util/math/ChunkSectionPos;field_33108:I
      intermediary field_33108 Lnet/minecraft/class_4076;field_33108:I
      official o Lkb;o:I
    • field_33109

      private static final int field_33109
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33109 Lnet/minecraft/util/math/ChunkSectionPos;field_33109:I
      intermediary field_33109 Lnet/minecraft/class_4076;field_33109:I
      official p Lkb;p:I
    • field_33110

      private static final int field_33110
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33110 Lnet/minecraft/util/math/ChunkSectionPos;field_33110:I
      intermediary field_33110 Lnet/minecraft/class_4076;field_33110:I
      official q Lkb;q:I
    • field_33111

      private static final int field_33111
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33111 Lnet/minecraft/util/math/ChunkSectionPos;field_33111:I
      intermediary field_33111 Lnet/minecraft/class_4076;field_33111:I
      official r Lkb;r:I
    • field_33112

      private static final int field_33112
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_33112 Lnet/minecraft/util/math/ChunkSectionPos;field_33112:I
      intermediary field_33112 Lnet/minecraft/class_4076;field_33112:I
      official s Lkb;s:I
  • Constructor Details

    • ChunkSectionPos

      ChunkSectionPos(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/math/Vec3i;<init>(III)V
      intermediary <init> Lnet/minecraft/class_2382;<init>(III)V
      official <init> Lkd;<init>(III)V
  • Method Details

    • from

      public static ChunkSectionPos from(int x, int y, int z)
      Creates a chunk section position from its x-, y- and z-coordinates.
      Mappings:
      Namespace Name Mixin selector
      named from Lnet/minecraft/util/math/ChunkSectionPos;from(III)Lnet/minecraft/util/math/ChunkSectionPos;
      intermediary method_18676 Lnet/minecraft/class_4076;method_18676(III)Lnet/minecraft/class_4076;
      official a Lkb;a(III)Lkb;
    • from

      public static ChunkSectionPos from(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named from Lnet/minecraft/util/math/ChunkSectionPos;from(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/ChunkSectionPos;
      intermediary method_18682 Lnet/minecraft/class_4076;method_18682(Lnet/minecraft/class_2338;)Lnet/minecraft/class_4076;
      official a Lkb;a(Liz;)Lkb;
    • from

      public static ChunkSectionPos from(ChunkPos chunkPos, int y)
      Creates a chunk section position from a chunk position and the y-coordinate of the vertical section.
      Mappings:
      Namespace Name Mixin selector
      named from Lnet/minecraft/util/math/ChunkSectionPos;from(Lnet/minecraft/util/math/ChunkPos;I)Lnet/minecraft/util/math/ChunkSectionPos;
      intermediary method_18681 Lnet/minecraft/class_4076;method_18681(Lnet/minecraft/class_1923;I)Lnet/minecraft/class_4076;
      official a Lkb;a(Ldbh;I)Lkb;
    • from

      public static ChunkSectionPos from(EntityLike entity)
      Mappings:
      Namespace Name Mixin selector
      named from Lnet/minecraft/util/math/ChunkSectionPos;from(Lnet/minecraft/world/entity/EntityLike;)Lnet/minecraft/util/math/ChunkSectionPos;
      intermediary method_42614 Lnet/minecraft/class_4076;method_42614(Lnet/minecraft/class_5568;)Lnet/minecraft/class_4076;
      official a Lkb;a(Ldwe;)Lkb;
    • from

      public static ChunkSectionPos from(Position pos)
      Mappings:
      Namespace Name Mixin selector
      named from Lnet/minecraft/util/math/ChunkSectionPos;from(Lnet/minecraft/util/math/Position;)Lnet/minecraft/util/math/ChunkSectionPos;
      intermediary method_18680 Lnet/minecraft/class_4076;method_18680(Lnet/minecraft/class_2374;)Lnet/minecraft/class_4076;
      official a Lkb;a(Ljs;)Lkb;
    • from

      public static ChunkSectionPos from(long packed)
      Creates a chunk section position from its packed representation.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named from Lnet/minecraft/util/math/ChunkSectionPos;from(J)Lnet/minecraft/util/math/ChunkSectionPos;
      intermediary method_18677 Lnet/minecraft/class_4076;method_18677(J)Lnet/minecraft/class_4076;
      official a Lkb;a(J)Lkb;
    • from

      public static ChunkSectionPos from(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named from Lnet/minecraft/util/math/ChunkSectionPos;from(Lnet/minecraft/world/chunk/Chunk;)Lnet/minecraft/util/math/ChunkSectionPos;
      intermediary method_33705 Lnet/minecraft/class_4076;method_33705(Lnet/minecraft/class_2791;)Lnet/minecraft/class_4076;
      official a Lkb;a(Ldua;)Lkb;
    • offset

      public static long offset(long packed, Direction direction)
      Offsets a packed chunk section position in the given direction.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named offset Lnet/minecraft/util/math/ChunkSectionPos;offset(JLnet/minecraft/util/math/Direction;)J
      intermediary method_18679 Lnet/minecraft/class_4076;method_18679(JLnet/minecraft/class_2350;)J
      official a Lkb;a(JLje;)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:
      Mappings:
      Namespace Name Mixin selector
      named offset Lnet/minecraft/util/math/ChunkSectionPos;offset(JIII)J
      intermediary method_18678 Lnet/minecraft/class_4076;method_18678(JIII)J
      official a Lkb;a(JIII)J
    • getSectionCoord

      public static int getSectionCoord(double coord)
      Mappings:
      Namespace Name Mixin selector
      named getSectionCoord Lnet/minecraft/util/math/ChunkSectionPos;getSectionCoord(D)I
      intermediary method_32204 Lnet/minecraft/class_4076;method_32204(D)I
      official a Lkb;a(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
      named getSectionCoord Lnet/minecraft/util/math/ChunkSectionPos;getSectionCoord(I)I
      intermediary method_18675 Lnet/minecraft/class_4076;method_18675(I)I
      official a Lkb;a(I)I
    • getSectionCoordFloored

      public static int getSectionCoordFloored(double coord)
      Mappings:
      Namespace Name Mixin selector
      named getSectionCoordFloored Lnet/minecraft/util/math/ChunkSectionPos;getSectionCoordFloored(D)I
      intermediary method_42615 Lnet/minecraft/class_4076;method_42615(D)I
      official b Lkb;b(D)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
      named getLocalCoord Lnet/minecraft/util/math/ChunkSectionPos;getLocalCoord(I)I
      intermediary method_18684 Lnet/minecraft/class_4076;method_18684(I)I
      official b Lkb;b(I)I
    • packLocal

      public static short packLocal(BlockPos pos)
      Returns the local position of the given block position relative to its respective chunk section, packed into a short.
      Mappings:
      Namespace Name Mixin selector
      named packLocal Lnet/minecraft/util/math/ChunkSectionPos;packLocal(Lnet/minecraft/util/math/BlockPos;)S
      intermediary method_19454 Lnet/minecraft/class_4076;method_19454(Lnet/minecraft/class_2338;)S
      official b Lkb;b(Liz;)S
    • unpackLocalX

      public static int unpackLocalX(short packedLocalPos)
      Gets the local x-coordinate from the given packed local position.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named unpackLocalX Lnet/minecraft/util/math/ChunkSectionPos;unpackLocalX(S)I
      intermediary method_30551 Lnet/minecraft/class_4076;method_30551(S)I
      official a Lkb;a(S)I
    • unpackLocalY

      public static int unpackLocalY(short packedLocalPos)
      Gets the local y-coordinate from the given packed local position.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named unpackLocalY Lnet/minecraft/util/math/ChunkSectionPos;unpackLocalY(S)I
      intermediary method_30552 Lnet/minecraft/class_4076;method_30552(S)I
      official b Lkb;b(S)I
    • unpackLocalZ

      public static int unpackLocalZ(short packedLocalPos)
      Gets the local z-coordinate from the given packed local position.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named unpackLocalZ Lnet/minecraft/util/math/ChunkSectionPos;unpackLocalZ(S)I
      intermediary method_30553 Lnet/minecraft/class_4076;method_30553(S)I
      official c Lkb;c(S)I
    • unpackBlockX

      public int unpackBlockX(short packedLocalPos)
      Gets the world x-coordinate of the given local position within this chunk section.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named unpackBlockX Lnet/minecraft/util/math/ChunkSectionPos;unpackBlockX(S)I
      intermediary method_30554 Lnet/minecraft/class_4076;method_30554(S)I
      official d Lkb;d(S)I
    • unpackBlockY

      public int unpackBlockY(short packedLocalPos)
      Gets the world y-coordinate of the given local position within this chunk section.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named unpackBlockY Lnet/minecraft/util/math/ChunkSectionPos;unpackBlockY(S)I
      intermediary method_30555 Lnet/minecraft/class_4076;method_30555(S)I
      official e Lkb;e(S)I
    • unpackBlockZ

      public int unpackBlockZ(short packedLocalPos)
      Gets the world z-coordinate of the given local position within this chunk section.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named unpackBlockZ Lnet/minecraft/util/math/ChunkSectionPos;unpackBlockZ(S)I
      intermediary method_30556 Lnet/minecraft/class_4076;method_30556(S)I
      official f Lkb;f(S)I
    • unpackBlockPos

      public BlockPos unpackBlockPos(short packedLocalPos)
      Gets the world position of the given local position within this chunk section.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named unpackBlockPos Lnet/minecraft/util/math/ChunkSectionPos;unpackBlockPos(S)Lnet/minecraft/util/math/BlockPos;
      intermediary method_30557 Lnet/minecraft/class_4076;method_30557(S)Lnet/minecraft/class_2338;
      official g Lkb;g(S)Liz;
    • 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
      named getBlockCoord Lnet/minecraft/util/math/ChunkSectionPos;getBlockCoord(I)I
      intermediary method_18688 Lnet/minecraft/class_4076;method_18688(I)I
      official c Lkb;c(I)I
    • getOffsetPos

      public static int getOffsetPos(int chunkCoord, int offset)
      Mappings:
      Namespace Name Mixin selector
      named getOffsetPos Lnet/minecraft/util/math/ChunkSectionPos;getOffsetPos(II)I
      intermediary method_32205 Lnet/minecraft/class_4076;method_32205(II)I
      official a Lkb;a(II)I
    • unpackX

      public static int unpackX(long packed)
      Gets the chunk section x-coordinate from the given packed chunk section coordinate.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named unpackX Lnet/minecraft/util/math/ChunkSectionPos;unpackX(J)I
      intermediary method_18686 Lnet/minecraft/class_4076;method_18686(J)I
      official b Lkb;b(J)I
    • unpackY

      public static int unpackY(long packed)
      Gets the chunk section y-coordinate from the given packed chunk section coordinate.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named unpackY Lnet/minecraft/util/math/ChunkSectionPos;unpackY(J)I
      intermediary method_18689 Lnet/minecraft/class_4076;method_18689(J)I
      official c Lkb;c(J)I
    • unpackZ

      public static int unpackZ(long packed)
      Gets the chunk section z-coordinate from the given packed chunk section coordinate.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named unpackZ Lnet/minecraft/util/math/ChunkSectionPos;unpackZ(J)I
      intermediary method_18690 Lnet/minecraft/class_4076;method_18690(J)I
      official d Lkb;d(J)I
    • getSectionX

      public int getSectionX()
      Mappings:
      Namespace Name Mixin selector
      named getSectionX Lnet/minecraft/util/math/ChunkSectionPos;getSectionX()I
      intermediary method_18674 Lnet/minecraft/class_4076;method_18674()I
      official a Lkb;a()I
    • getSectionY

      public int getSectionY()
      Mappings:
      Namespace Name Mixin selector
      named getSectionY Lnet/minecraft/util/math/ChunkSectionPos;getSectionY()I
      intermediary method_18683 Lnet/minecraft/class_4076;method_18683()I
      official b Lkb;b()I
    • getSectionZ

      public int getSectionZ()
      Mappings:
      Namespace Name Mixin selector
      named getSectionZ Lnet/minecraft/util/math/ChunkSectionPos;getSectionZ()I
      intermediary method_18687 Lnet/minecraft/class_4076;method_18687()I
      official c Lkb;c()I
    • getMinX

      public int getMinX()
      Mappings:
      Namespace Name Mixin selector
      named getMinX Lnet/minecraft/util/math/ChunkSectionPos;getMinX()I
      intermediary method_19527 Lnet/minecraft/class_4076;method_19527()I
      official d Lkb;d()I
    • getMinY

      public int getMinY()
      Mappings:
      Namespace Name Mixin selector
      named getMinY Lnet/minecraft/util/math/ChunkSectionPos;getMinY()I
      intermediary method_19528 Lnet/minecraft/class_4076;method_19528()I
      official e Lkb;e()I
    • getMinZ

      public int getMinZ()
      Mappings:
      Namespace Name Mixin selector
      named getMinZ Lnet/minecraft/util/math/ChunkSectionPos;getMinZ()I
      intermediary method_19529 Lnet/minecraft/class_4076;method_19529()I
      official f Lkb;f()I
    • getMaxX

      public int getMaxX()
      Mappings:
      Namespace Name Mixin selector
      named getMaxX Lnet/minecraft/util/math/ChunkSectionPos;getMaxX()I
      intermediary method_19530 Lnet/minecraft/class_4076;method_19530()I
      official g Lkb;g()I
    • getMaxY

      public int getMaxY()
      Mappings:
      Namespace Name Mixin selector
      named getMaxY Lnet/minecraft/util/math/ChunkSectionPos;getMaxY()I
      intermediary method_19531 Lnet/minecraft/class_4076;method_19531()I
      official h Lkb;h()I
    • getMaxZ

      public int getMaxZ()
      Mappings:
      Namespace Name Mixin selector
      named getMaxZ Lnet/minecraft/util/math/ChunkSectionPos;getMaxZ()I
      intermediary method_19532 Lnet/minecraft/class_4076;method_19532()I
      official i Lkb;i()I
    • fromBlockPos

      public static long fromBlockPos(long blockPos)
      Gets the packed chunk section coordinate for a given packed BlockPos.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named fromBlockPos Lnet/minecraft/util/math/ChunkSectionPos;fromBlockPos(J)J
      intermediary method_18691 Lnet/minecraft/class_4076;method_18691(J)J
      official e Lkb;e(J)J
    • withZeroY

      public static long withZeroY(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named withZeroY Lnet/minecraft/util/math/ChunkSectionPos;withZeroY(II)J
      intermediary method_51687 Lnet/minecraft/class_4076;method_51687(II)J
      official b Lkb;b(II)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:
      Mappings:
      Namespace Name Mixin selector
      named withZeroY Lnet/minecraft/util/math/ChunkSectionPos;withZeroY(J)J
      intermediary method_18693 Lnet/minecraft/class_4076;method_18693(J)J
      official f Lkb;f(J)J
    • getMinPos

      public BlockPos getMinPos()
      Mappings:
      Namespace Name Mixin selector
      named getMinPos Lnet/minecraft/util/math/ChunkSectionPos;getMinPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_19767 Lnet/minecraft/class_4076;method_19767()Lnet/minecraft/class_2338;
      official j Lkb;j()Liz;
    • getCenterPos

      public BlockPos getCenterPos()
      Mappings:
      Namespace Name Mixin selector
      named getCenterPos Lnet/minecraft/util/math/ChunkSectionPos;getCenterPos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_19768 Lnet/minecraft/class_4076;method_19768()Lnet/minecraft/class_2338;
      official q Lkb;q()Liz;
    • toChunkPos

      public ChunkPos toChunkPos()
      Mappings:
      Namespace Name Mixin selector
      named toChunkPos Lnet/minecraft/util/math/ChunkSectionPos;toChunkPos()Lnet/minecraft/util/math/ChunkPos;
      intermediary method_18692 Lnet/minecraft/class_4076;method_18692()Lnet/minecraft/class_1923;
      official r Lkb;r()Ldbh;
    • toLong

      public static long toLong(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named toLong Lnet/minecraft/util/math/ChunkSectionPos;toLong(Lnet/minecraft/util/math/BlockPos;)J
      intermediary method_33706 Lnet/minecraft/class_4076;method_33706(Lnet/minecraft/class_2338;)J
      official c Lkb;c(Liz;)J
    • asLong

      public static long asLong(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named asLong Lnet/minecraft/util/math/ChunkSectionPos;asLong(III)J
      intermediary method_18685 Lnet/minecraft/class_4076;method_18685(III)J
      official b Lkb;b(III)J
    • asLong

      public long asLong()
      Mappings:
      Namespace Name Mixin selector
      named asLong Lnet/minecraft/util/math/ChunkSectionPos;asLong()J
      intermediary method_18694 Lnet/minecraft/class_4076;method_18694()J
      official s Lkb;s()J
    • add

      public ChunkSectionPos add(int int2, int int3, int int4)
      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.

      Overrides:
      add in class Vec3i
      Returns:
      another Vec3i whose coordinates have the parameter x, y, and z added to the coordinates of this vector
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/util/math/ChunkSectionPos;add(III)Lnet/minecraft/util/math/ChunkSectionPos;
      intermediary method_34591 Lnet/minecraft/class_4076;method_34591(III)Lnet/minecraft/class_4076;
      official d Lkb;d(III)Lkb;
    • streamBlocks

      public Stream<BlockPos> streamBlocks()
      Mappings:
      Namespace Name Mixin selector
      named streamBlocks Lnet/minecraft/util/math/ChunkSectionPos;streamBlocks()Ljava/util/stream/Stream;
      intermediary method_19533 Lnet/minecraft/class_4076;method_19533()Ljava/util/stream/Stream;
      official t Lkb;t()Ljava/util/stream/Stream;
    • stream

      public static Stream<ChunkSectionPos> stream(ChunkSectionPos center, int radius)
      Mappings:
      Namespace Name Mixin selector
      named stream Lnet/minecraft/util/math/ChunkSectionPos;stream(Lnet/minecraft/util/math/ChunkSectionPos;I)Ljava/util/stream/Stream;
      intermediary method_20439 Lnet/minecraft/class_4076;method_20439(Lnet/minecraft/class_4076;I)Ljava/util/stream/Stream;
      official a Lkb;a(Lkb;I)Ljava/util/stream/Stream;
    • stream

      public static Stream<ChunkSectionPos> stream(ChunkPos center, int radius, int minY, int maxY)
      Mappings:
      Namespace Name Mixin selector
      named stream Lnet/minecraft/util/math/ChunkSectionPos;stream(Lnet/minecraft/util/math/ChunkPos;III)Ljava/util/stream/Stream;
      intermediary method_22446 Lnet/minecraft/class_4076;method_22446(Lnet/minecraft/class_1923;III)Ljava/util/stream/Stream;
      official a Lkb;a(Ldbh;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
      named stream Lnet/minecraft/util/math/ChunkSectionPos;stream(IIIIII)Ljava/util/stream/Stream;
      intermediary method_20438 Lnet/minecraft/class_4076;method_20438(IIIIII)Ljava/util/stream/Stream;
      official a Lkb;a(IIIIII)Ljava/util/stream/Stream;
    • forEachChunkSectionAround

      public static void forEachChunkSectionAround(BlockPos pos, LongConsumer consumer)
      Mappings:
      Namespace Name Mixin selector
      named forEachChunkSectionAround Lnet/minecraft/util/math/ChunkSectionPos;forEachChunkSectionAround(Lnet/minecraft/util/math/BlockPos;Lit/unimi/dsi/fastutil/longs/LongConsumer;)V
      intermediary method_39491 Lnet/minecraft/class_4076;method_39491(Lnet/minecraft/class_2338;Lit/unimi/dsi/fastutil/longs/LongConsumer;)V
      official a Lkb;a(Liz;Lit/unimi/dsi/fastutil/longs/LongConsumer;)V
    • forEachChunkSectionAround

      public static void forEachChunkSectionAround(long pos, LongConsumer consumer)
      Mappings:
      Namespace Name Mixin selector
      named forEachChunkSectionAround Lnet/minecraft/util/math/ChunkSectionPos;forEachChunkSectionAround(JLit/unimi/dsi/fastutil/longs/LongConsumer;)V
      intermediary method_39490 Lnet/minecraft/class_4076;method_39490(JLit/unimi/dsi/fastutil/longs/LongConsumer;)V
      official a Lkb;a(JLit/unimi/dsi/fastutil/longs/LongConsumer;)V
    • forEachChunkSectionAround

      public static void forEachChunkSectionAround(int x, int y, int z, LongConsumer consumer)
      Performs an action for each chunk section enclosing a block position adjacent to (x, y, z).
      Parameters:
      consumer - the consumer that takes the chunk section position as a long
      Mappings:
      Namespace Name Mixin selector
      named forEachChunkSectionAround Lnet/minecraft/util/math/ChunkSectionPos;forEachChunkSectionAround(IIILit/unimi/dsi/fastutil/longs/LongConsumer;)V
      intermediary method_39489 Lnet/minecraft/class_4076;method_39489(IIILit/unimi/dsi/fastutil/longs/LongConsumer;)V
      official a Lkb;a(IIILit/unimi/dsi/fastutil/longs/LongConsumer;)V