Uses of Class
net.minecraft.util.math.ChunkSectionPos
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of ChunkSectionPos in net.minecraft.client.render.debug
Modifier and TypeFieldDescriptionprivate final Set<ChunkSectionPos>
VillageSectionsDebugRenderer.sections
Modifier and TypeMethodDescriptionvoid
VillageSectionsDebugRenderer.addSection
(ChunkSectionPos pos) private static void
VillageSectionsDebugRenderer.drawBoxAtCenterOf
(ChunkSectionPos pos) void
VillageSectionsDebugRenderer.removeSection
(ChunkSectionPos pos) -
Uses of ChunkSectionPos in net.minecraft.client.world
Modifier and TypeMethodDescriptionvoid
ClientChunkManager.onLightUpdate
(LightType type, ChunkSectionPos pos) -
Uses of ChunkSectionPos in net.minecraft.entity.ai.brain.task
Modifier and TypeMethodDescriptionstatic ChunkSectionPos
LookTargetUtil.getPosClosestToOccupiedPointOfInterest
(ServerWorld world, ChunkSectionPos center, int radius) Modifier and TypeMethodDescriptionstatic 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
Modifier and TypeMethodDescriptionprivate @Nullable ChunkSectionPos
IronGolemWanderAroundGoal.findRandomChunkPos()
Modifier and TypeMethodDescriptionIronGolemWanderAroundGoal.findRandomPosInChunk
(ChunkSectionPos pos) -
Uses of ChunkSectionPos in net.minecraft.network
Modifier and TypeMethodDescriptionPacketByteBuf.readChunkSectionPos()
Reads a chunk section position from this buf.Modifier and TypeMethodDescriptionPacketByteBuf.writeChunkSectionPos
(ChunkSectionPos pos) Reads a chunk section position from this buf. -
Uses of ChunkSectionPos in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final ChunkSectionPos
ChunkDeltaUpdateS2CPacket.sectionPos
ModifierConstructorDescriptionChunkDeltaUpdateS2CPacket
(ChunkSectionPos sectionPos, ShortSet positions, ChunkSection section, boolean noLightingUpdates) -
Uses of ChunkSectionPos in net.minecraft.server.network
Modifier and TypeFieldDescriptionprivate ChunkSectionPos
ServerPlayerEntity.watchedSection
A chunk section position indicating where the player's client is currently watching chunks from.Modifier and TypeMethodDescriptionServerPlayerEntity.getWatchedSection()
Returns the chunk section position the player's client is currently watching from.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeFieldDescription(package private) ChunkSectionPos
ThreadedAnvilChunkStorage.EntityTracker.trackedSection
The chunk section position of the tracked entity, may be outdated as an entity ticks.Modifier and TypeMethodDescriptionprivate ChunkSectionPos
ThreadedAnvilChunkStorage.updateWatchedSection
(ServerPlayerEntity player) Updates the watched chunk section position for theplayer
, and sends a render distance update packet to the client.Modifier and TypeMethodDescriptionvoid
ServerLightingProvider.enqueueSectionData
(LightType lightType, ChunkSectionPos pos, @Nullable ChunkNibbleArray nibbles, boolean nonEdge) int
ServerWorld.getOccupiedPointOfInterestDistance
(ChunkSectionPos pos) 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
Modifier and TypeMethodDescriptionChunkSectionPos.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
static ChunkSectionPos
Creates a chunk section position from a chunk position and the y-coordinate of the vertical section.static ChunkSectionPos
static ChunkSectionPos
static ChunkSectionPos
ChunkSectionPos.from
(EntityLike entity) Modifier and TypeMethodDescriptionstatic Stream<ChunkSectionPos>
ChunkSectionPos.stream
(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) static Stream<ChunkSectionPos>
static Stream<ChunkSectionPos>
ChunkSectionPos.stream
(ChunkSectionPos center, int radius) Modifier and TypeMethodDescriptionstatic Stream<ChunkSectionPos>
ChunkSectionPos.stream
(ChunkSectionPos center, int radius) -
Uses of ChunkSectionPos in net.minecraft.world.chunk
Modifier and TypeMethodDescriptiondefault void
ChunkProvider.onLightUpdate
(LightType type, ChunkSectionPos pos) -
Uses of ChunkSectionPos in net.minecraft.world.chunk.light
Modifier and TypeMethodDescriptionLightingProvider.displaySectionLevel
(LightType lightType, ChunkSectionPos pos) void
LightingProvider.enqueueSectionData
(LightType lightType, ChunkSectionPos pos, @Nullable ChunkNibbleArray nibbles, boolean nonEdge) ChunkLightingView.Empty.getLightSection
(ChunkSectionPos pos) ChunkLightingView.getLightSection
(ChunkSectionPos pos) 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
Modifier and TypeFieldDescriptionprivate @Nullable ChunkSectionPos
EntityGameEventHandler.sectionPos
Modifier and TypeMethodDescriptionprivate static void
EntityGameEventHandler.updateDispatcher
(WorldView world, @Nullable ChunkSectionPos sectionPos, Consumer<GameEventDispatcher> dispatcherConsumer) -
Uses of ChunkSectionPos in net.minecraft.world.gen
Modifier and TypeMethodDescriptionvoid
StructureAccessor.addStructureReference
(ChunkSectionPos pos, StructureType structureFeature, long reference, StructureHolder holder) StructureAccessor.getStructureStart
(ChunkSectionPos pos, StructureType structureFeature, StructureHolder holder) StructureAccessor.getStructureStarts
(ChunkSectionPos sectionPos, StructureType structureType) Returns a list of structure starts for this chunk.void
StructureAccessor.setStructureStart
(ChunkSectionPos pos, StructureType structureFeature, StructureStart structureStart, StructureHolder holder) -
Uses of ChunkSectionPos in net.minecraft.world.gen.chunk
Modifier and TypeMethodDescriptionprivate static int
ChunkGenerator.getStructureReferences
(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, StructureType structure) private boolean
ChunkGenerator.method_41044
(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureManager structureManager, long long2, Chunk chunk, ChunkPos chunkPos, ChunkSectionPos chunkSectionPos) -
Uses of ChunkSectionPos in net.minecraft.world.poi
Modifier and TypeMethodDescriptionint
PointOfInterestStorage.getDistanceFromNearestOccupied
(ChunkSectionPos pos) private void
PointOfInterestStorage.scanAndPopulate
(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> biConsumer)