Uses of Class
net.minecraft.util.math.ChunkSectionPos
Packages that use ChunkSectionPos
Package
Description
The basic AI system for Minecraft living entities.
-
Uses of ChunkSectionPos in net.minecraft.client.render
Fields in net.minecraft.client.render declared as ChunkSectionPosMethods in net.minecraft.client.render that return ChunkSectionPosMethods in net.minecraft.client.render with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionvoid
BuiltChunkStorage.updateCameraPosition
(ChunkSectionPos sectionPos) -
Uses of ChunkSectionPos in net.minecraft.client.render.chunk
Methods in net.minecraft.client.render.chunk with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionChunkRendererRegionBuilder.build
(World world, ChunkSectionPos sectionPos) SectionBuilder.build
(ChunkSectionPos sectionPos, ChunkRendererRegion renderRegion, VertexSorter vertexSorter, BlockBufferAllocatorStorage allocatorStorage) Constructors in net.minecraft.client.render.chunk with parameters of type ChunkSectionPosModifierConstructorDescriptionOctree
(ChunkSectionPos sectionPos, int viewDistance, int sizeY, int bottomY) -
Uses of ChunkSectionPos in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug declared as ChunkSectionPosModifier and TypeFieldDescription(package private) final ChunkSectionPos
LightDebugRenderer.Data.minSectionPos
Fields in net.minecraft.client.render.debug with type parameters of type ChunkSectionPosModifier and TypeFieldDescriptionprivate final Set
<ChunkSectionPos> VillageSectionsDebugRenderer.sections
Methods in net.minecraft.client.render.debug with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionvoid
VillageSectionsDebugRenderer.addSection
(ChunkSectionPos pos) private static void
VillageSectionsDebugRenderer.drawBoxAtCenterOf
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, ChunkSectionPos sectionPos) private static void
LightDebugRenderer.drawEdges
(MatrixStack matrices, VoxelSet shape, ChunkSectionPos sectionPos, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, Vector4f color) private static void
LightDebugRenderer.drawFaces
(MatrixStack matrices, VoxelSet shape, ChunkSectionPos sectionPos, VertexConsumer vertexConsumer, double cameraX, double cameraY, double cameraZ, Vector4f color) void
VillageSectionsDebugRenderer.removeSection
(ChunkSectionPos pos) Constructors in net.minecraft.client.render.debug with parameters of type ChunkSectionPosModifierConstructorDescription(package private)
Data
(LightingProvider lightingProvider, ChunkSectionPos sectionPos, int radius, LightType lightType) -
Uses of ChunkSectionPos in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionvoid
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 ChunkSectionPosModifier and TypeMethodDescriptionstatic ChunkSectionPos
TargetUtil.getPosClosestToOccupiedPointOfInterest
(ServerWorld world, ChunkSectionPos center, int radius) Methods in net.minecraft.entity.ai.brain.task with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionstatic ChunkSectionPos
TargetUtil.getPosClosestToOccupiedPointOfInterest
(ServerWorld world, ChunkSectionPos center, int radius) -
Uses of ChunkSectionPos in net.minecraft.entity.ai.goal
Methods in net.minecraft.entity.ai.goal that return ChunkSectionPosModifier and TypeMethodDescriptionprivate @Nullable ChunkSectionPos
IronGolemWanderAroundGoal.findRandomChunkPos()
Methods in net.minecraft.entity.ai.goal with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionIronGolemWanderAroundGoal.findRandomPosInChunk
(ChunkSectionPos pos) -
Uses of ChunkSectionPos in net.minecraft.network
Methods in net.minecraft.network that return ChunkSectionPosModifier and TypeMethodDescriptionPacketByteBuf.readChunkSectionPos()
Reads a chunk section position from this buf.Methods in net.minecraft.network with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionPacketByteBuf.writeChunkSectionPos
(ChunkSectionPos pos) Reads a chunk section position from this buf. -
Uses of ChunkSectionPos in net.minecraft.network.packet.s2c.custom
Fields in net.minecraft.network.packet.s2c.custom with type parameters of type ChunkSectionPosModifier and TypeFieldDescriptionprivate final Set
<ChunkSectionPos> DebugVillageSectionsCustomPayload.notVillageChunks
The field for thenotVillageChunks
record component.private final Set
<ChunkSectionPos> DebugVillageSectionsCustomPayload.villageChunks
The field for thevillageChunks
record component.Methods in net.minecraft.network.packet.s2c.custom that return types with arguments of type ChunkSectionPosModifier and TypeMethodDescriptionDebugVillageSectionsCustomPayload.notVillageChunks()
Returns the value of thenotVillageChunks
record component.DebugVillageSectionsCustomPayload.villageChunks()
Returns the value of thevillageChunks
record component.Constructor parameters in net.minecraft.network.packet.s2c.custom with type arguments of type ChunkSectionPosModifierConstructorDescription -
Uses of ChunkSectionPos in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as ChunkSectionPosModifier and TypeFieldDescriptionprivate final ChunkSectionPos
ChunkDeltaUpdateS2CPacket.sectionPos
Constructors in net.minecraft.network.packet.s2c.play with parameters of type ChunkSectionPosModifierConstructorDescriptionChunkDeltaUpdateS2CPacket
(ChunkSectionPos sectionPos, ShortSet positions, ChunkSection section) -
Uses of ChunkSectionPos in net.minecraft.server.network
Fields in net.minecraft.server.network declared as ChunkSectionPosModifier and TypeFieldDescriptionprivate 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 ChunkSectionPosModifier and TypeMethodDescriptionServerPlayerEntity.getWatchedSection()
Returns the chunk section position the player's client is currently watching from.Methods in net.minecraft.server.network with parameters of type ChunkSectionPosModifier 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
Fields in net.minecraft.server.world declared as ChunkSectionPosModifier and TypeFieldDescription(package private) ChunkSectionPos
ServerChunkLoadingManager.EntityTracker.trackedSection
The chunk section position of the tracked entity, may be outdated as an entity ticks.Methods in net.minecraft.server.world with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionvoid
ServerLightingProvider.enqueueSectionData
(LightType lightType, ChunkSectionPos pos, @Nullable ChunkNibbleArray nibbles) 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
Methods in net.minecraft.util.math that return ChunkSectionPosModifier 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) Methods in net.minecraft.util.math that return types with arguments of type ChunkSectionPosModifier 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) Methods in net.minecraft.util.math with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionstatic Stream
<ChunkSectionPos> ChunkSectionPos.stream
(ChunkSectionPos center, int radius) -
Uses of ChunkSectionPos in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk with parameters of type ChunkSectionPosModifier and TypeMethodDescriptiondefault 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 ChunkSectionPosModifier and TypeMethodDescriptionLightingProvider.displaySectionLevel
(LightType lightType, ChunkSectionPos pos) void
LightingProvider.enqueueSectionData
(LightType lightType, ChunkSectionPos pos, @Nullable ChunkNibbleArray nibbles) ChunkLightingView.Empty.getLightSection
(ChunkSectionPos pos) ChunkLightingView.getLightSection
(ChunkSectionPos pos) ChunkLightProvider.getLightSection
(ChunkSectionPos pos) LightingProvider.getStatus
(LightType lightType, 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 ChunkSectionPosModifier and TypeFieldDescriptionprivate @Nullable ChunkSectionPos
EntityGameEventHandler.sectionPos
Methods in net.minecraft.world.event.listener with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionprivate static void
EntityGameEventHandler.updateDispatcher
(WorldView world, @Nullable ChunkSectionPos sectionPos, Consumer<GameEventDispatcher> dispatcherConsumer) -
Uses of ChunkSectionPos in net.minecraft.world.gen
Methods in net.minecraft.world.gen with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionvoid
StructureAccessor.addStructureReference
(ChunkSectionPos pos, Structure structure, long reference, StructureHolder holder) StructureAccessor.getStructureStart
(ChunkSectionPos pos, Structure structure, StructureHolder holder) StructureAccessor.getStructureStarts
(ChunkSectionPos sectionPos, Structure structure) Returns a list of structure starts for this chunk.void
StructureAccessor.setStructureStart
(ChunkSectionPos pos, Structure structure, StructureStart structureStart, StructureHolder holder) -
Uses of ChunkSectionPos in net.minecraft.world.gen.chunk
Methods in net.minecraft.world.gen.chunk with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionprivate static int
ChunkGenerator.getStructureReferences
(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, Structure structure) private boolean
ChunkGenerator.trySetStructureStart
(StructureSet.WeightedEntry weightedEntry, StructureAccessor structureAccessor, DynamicRegistryManager dynamicRegistryManager, NoiseConfig noiseConfig, StructureTemplateManager structureManager, long seed, Chunk chunk, ChunkPos pos, ChunkSectionPos sectionPos) -
Uses of ChunkSectionPos in net.minecraft.world.poi
Methods in net.minecraft.world.poi with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionint
PointOfInterestStorage.getDistanceFromNearestOccupied
(ChunkSectionPos pos) void
PointOfInterestStorage.initForPalette
(ChunkSectionPos sectionPos, ChunkSection chunkSection) private void
PointOfInterestStorage.scanAndPopulate
(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> populator)