Uses of Class
net.minecraft.util.math.ChunkSectionPos
-
Uses of ChunkSectionPos in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug with type parameters of type ChunkSectionPos Modifier and Type Field Description private Set<ChunkSectionPos>
VillageSectionsDebugRenderer. sections
Methods in net.minecraft.client.render.debug with parameters of type ChunkSectionPos Modifier and Type Method Description void
VillageSectionsDebugRenderer. addSection(ChunkSectionPos pos)
private static void
VillageSectionsDebugRenderer. drawBoxAtCenterOf(ChunkSectionPos pos)
void
VillageSectionsDebugRenderer. removeSection(ChunkSectionPos pos)
-
Uses of ChunkSectionPos in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type ChunkSectionPos Modifier and Type Method Description void
ClientChunkManager. onLightUpdate(LightType type, ChunkSectionPos pos)
-
Uses of ChunkSectionPos in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task that return ChunkSectionPos Modifier and Type Method Description static ChunkSectionPos
LookTargetUtil. getPosClosestToOccupiedPointOfInterest(ServerWorld world, ChunkSectionPos center, int radius)
Methods in net.minecraft.entity.ai.brain.task with parameters of type ChunkSectionPos Modifier and Type Method Description static ChunkSectionPos
LookTargetUtil. getPosClosestToOccupiedPointOfInterest(ServerWorld world, ChunkSectionPos center, int radius)
private void
FindWalkTargetTask. updateWalkTarget(PathAwareEntity entity, ChunkSectionPos pos)
-
Uses of ChunkSectionPos in net.minecraft.entity.ai.goal
Methods in net.minecraft.entity.ai.goal that return ChunkSectionPos Modifier and Type Method Description private @Nullable ChunkSectionPos
IronGolemWanderAroundGoal. method_27928()
Methods in net.minecraft.entity.ai.goal with parameters of type ChunkSectionPos Modifier and Type Method Description private @Nullable BlockPos
IronGolemWanderAroundGoal. method_27923(ChunkSectionPos chunkSectionPos)
-
Uses of ChunkSectionPos in net.minecraft.network
Methods in net.minecraft.network that return ChunkSectionPos Modifier and Type Method Description ChunkSectionPos
PacketByteBuf. readChunkSectionPos()
Reads a chunk section position from this buf.Methods in net.minecraft.network with parameters of type ChunkSectionPos Modifier and Type Method Description PacketByteBuf
PacketByteBuf. writeChunkSectionPos(ChunkSectionPos pos)
Reads a chunk section position from this buf. -
Uses of ChunkSectionPos in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as ChunkSectionPos Modifier and Type Field Description private ChunkSectionPos
ChunkDeltaUpdateS2CPacket. sectionPos
Constructors in net.minecraft.network.packet.s2c.play with parameters of type ChunkSectionPos Constructor Description ChunkDeltaUpdateS2CPacket(ChunkSectionPos sectionPos, ShortSet shortSet, ChunkSection section, boolean bool)
-
Uses of ChunkSectionPos in net.minecraft.server.network
Fields in net.minecraft.server.network declared as ChunkSectionPos Modifier and Type Field Description private ChunkSectionPos
ServerPlayerEntity. watchedSection
A chunk section position indicating where the player's client is currently watching chunks from.Methods in net.minecraft.server.network that return ChunkSectionPos Modifier and Type Method Description ChunkSectionPos
ServerPlayerEntity. getWatchedSection()
Returns the chunk section position the player's client is currently watching from.Methods in net.minecraft.server.network with parameters of type ChunkSectionPos Modifier and Type Method Description void
ServerPlayerEntity. setWatchedSection(ChunkSectionPos section)
Sets the chunk section position the player's client is currently watching from. -
Uses of ChunkSectionPos in net.minecraft.server.world
Fields in net.minecraft.server.world declared as ChunkSectionPos Modifier and Type Field Description private ChunkSectionPos
ThreadedAnvilChunkStorage.EntityTracker. trackedSection
The chunk section position of the tracked entity, may be outdated as an entity ticks.Methods in net.minecraft.server.world that return ChunkSectionPos Modifier and Type Method Description private ChunkSectionPos
ThreadedAnvilChunkStorage. updateWatchedSection(ServerPlayerEntity player)
Updates the watched chunk section position for theplayer
, and sends a render distance update packet to the client.Methods in net.minecraft.server.world with parameters of type ChunkSectionPos Modifier and Type Method Description void
ServerLightingProvider. enqueueSectionData(LightType lightType, ChunkSectionPos pos, @Nullable ChunkNibbleArray nibbles, boolean bool)
int
ServerWorld. getOccupiedPointOfInterestDistance(ChunkSectionPos pos)
Stream<? extends StructureStart<?>>
ServerWorld. getStructures(ChunkSectionPos pos, StructureFeature<?> feature)
void
ChunkTicketManager. handleChunkEnter(ChunkSectionPos pos, ServerPlayerEntity player)
void
ChunkTicketManager. handleChunkLeave(ChunkSectionPos pos, ServerPlayerEntity player)
boolean
ServerWorld. isNearOccupiedPointOfInterest(ChunkSectionPos sectionPos)
void
ServerChunkManager. onLightUpdate(LightType type, ChunkSectionPos pos)
void
ServerLightingProvider. setSectionStatus(ChunkSectionPos pos, boolean notReady)
-
Uses of ChunkSectionPos in net.minecraft.util.math
Methods in net.minecraft.util.math that return ChunkSectionPos Modifier and Type Method Description ChunkSectionPos
ChunkSectionPos. add(int int2, int int3, int int4)
static ChunkSectionPos
ChunkSectionPos. from(int x, int y, int z)
Creates a chunk section position from its x-, y- and z-coordinates.static ChunkSectionPos
ChunkSectionPos. from(long packed)
Creates a chunk section position from its packed representation.static ChunkSectionPos
ChunkSectionPos. from(Entity entity)
static ChunkSectionPos
ChunkSectionPos. from(BlockPos pos)
static ChunkSectionPos
ChunkSectionPos. from(ChunkPos chunkPos, int y)
Creates a chunk section position from a chunk position and the y-coordinate of the vertical section.static ChunkSectionPos
ChunkSectionPos. from(Chunk chunk)
Methods in net.minecraft.util.math that return types with arguments of type ChunkSectionPos Modifier and Type Method Description static Stream<ChunkSectionPos>
ChunkSectionPos. stream(int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
static Stream<ChunkSectionPos>
ChunkSectionPos. stream(ChunkPos center, int radius, int minY, int maxY)
static Stream<ChunkSectionPos>
ChunkSectionPos. stream(ChunkSectionPos center, int radius)
Methods in net.minecraft.util.math with parameters of type ChunkSectionPos Modifier and Type Method Description static Stream<ChunkSectionPos>
ChunkSectionPos. stream(ChunkSectionPos center, int radius)
-
Uses of ChunkSectionPos in net.minecraft.world
Methods in net.minecraft.world with parameters of type ChunkSectionPos Modifier and Type Method Description Stream<? extends StructureStart<?>>
ChunkRegion. getStructures(ChunkSectionPos pos, StructureFeature<?> feature)
Stream<? extends StructureStart<?>>
StructureWorldAccess. getStructures(ChunkSectionPos pos, StructureFeature<?> feature)
-
Uses of ChunkSectionPos in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk with parameters of type ChunkSectionPos Modifier and Type Method Description default void
ChunkProvider. onLightUpdate(LightType type, ChunkSectionPos pos)
-
Uses of ChunkSectionPos in net.minecraft.world.chunk.light
Methods in net.minecraft.world.chunk.light with parameters of type ChunkSectionPos Modifier and Type Method Description String
LightingProvider. displaySectionLevel(LightType lightType, ChunkSectionPos chunkSectionPos)
void
LightingProvider. enqueueSectionData(LightType lightType, ChunkSectionPos pos, @Nullable ChunkNibbleArray nibbles, boolean bool)
@Nullable ChunkNibbleArray
ChunkLightingView.Empty. getLightSection(ChunkSectionPos pos)
@Nullable ChunkNibbleArray
ChunkLightingView. getLightSection(ChunkSectionPos pos)
@Nullable ChunkNibbleArray
ChunkLightProvider. getLightSection(ChunkSectionPos pos)
void
ChunkLightingView.Empty. setSectionStatus(ChunkSectionPos pos, boolean notReady)
void
ChunkLightProvider. setSectionStatus(ChunkSectionPos pos, boolean notReady)
void
LightingProvider. setSectionStatus(ChunkSectionPos pos, boolean notReady)
void
LightingView. setSectionStatus(ChunkSectionPos pos, boolean notReady)
-
Uses of ChunkSectionPos in net.minecraft.world.event.listener
Fields in net.minecraft.world.event.listener declared as ChunkSectionPos Modifier and Type Field Description private @Nullable ChunkSectionPos
EntityGameEventHandler. sectionPos
Methods in net.minecraft.world.event.listener with parameters of type ChunkSectionPos Modifier and Type Method Description private void
EntityGameEventHandler. updateDispatcher(World world, @Nullable ChunkSectionPos sectionPos, Consumer<GameEventDispatcher> action)
-
Uses of ChunkSectionPos in net.minecraft.world.gen
Methods in net.minecraft.world.gen with parameters of type ChunkSectionPos Modifier and Type Method Description void
StructureAccessor. addStructureReference(ChunkSectionPos pos, StructureFeature<?> feature, long reference, StructureHolder holder)
@Nullable StructureStart<?>
StructureAccessor. getStructureStart(ChunkSectionPos pos, StructureFeature<?> feature, StructureHolder holder)
Stream<? extends StructureStart<?>>
StructureAccessor. getStructuresWithChildren(ChunkSectionPos pos, StructureFeature<?> feature)
void
StructureAccessor. setStructureStart(ChunkSectionPos pos, StructureFeature<?> feature, StructureStart<?> structureStart, StructureHolder holder)
-
Uses of ChunkSectionPos in net.minecraft.world.poi
Methods in net.minecraft.world.poi with parameters of type ChunkSectionPos Modifier and Type Method Description int
PointOfInterestStorage. getDistanceFromNearestOccupied(ChunkSectionPos pos)
private void
PointOfInterestStorage. scanAndPopulate(ChunkSection chunkSection, ChunkSectionPos chunkSectionPos, BiConsumer<BlockPos,PointOfInterestType> biConsumer)