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.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) -
Uses of ChunkSectionPos in net.minecraft.client.render.debug
Fields in net.minecraft.client.render.debug declared as ChunkSectionPosModifier and TypeFieldDescription(package private) final ChunkSectionPosLightDebugRenderer.Data.minSectionPosFields in net.minecraft.client.render.debug with type parameters of type ChunkSectionPosModifier and TypeFieldDescriptionprivate final Set<ChunkSectionPos> VillageSectionsDebugRenderer.sectionsMethods in net.minecraft.client.render.debug with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionvoidVillageSectionsDebugRenderer.addSection(ChunkSectionPos pos) private static voidVillageSectionsDebugRenderer.drawBoxAtCenterOf(MatrixStack matrices, VertexConsumerProvider vertexConsumers, ChunkSectionPos sectionPos) private static voidLightDebugRenderer.drawEdges(MatrixStack matrices, VoxelSet shape, ChunkSectionPos sectionPos, VertexConsumerProvider vertexConsumers, double cameraX, double cameraY, double cameraZ, Vector4f color) private static voidLightDebugRenderer.drawFaces(MatrixStack matrices, VoxelSet shape, ChunkSectionPos sectionPos, VertexConsumer vertexConsumer, double cameraX, double cameraY, double cameraZ, Vector4f color) voidVillageSectionsDebugRenderer.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 TypeMethodDescriptionvoidClientChunkManager.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 ChunkSectionPosLookTargetUtil.getPosClosestToOccupiedPointOfInterest(ServerWorld world, ChunkSectionPos center, int radius) Methods in net.minecraft.entity.ai.brain.task with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionstatic ChunkSectionPosLookTargetUtil.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 ChunkSectionPosIronGolemWanderAroundGoal.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.notVillageChunksThe field for thenotVillageChunksrecord component.private final Set<ChunkSectionPos> DebugVillageSectionsCustomPayload.villageChunksThe field for thevillageChunksrecord component.Methods in net.minecraft.network.packet.s2c.custom that return types with arguments of type ChunkSectionPosModifier and TypeMethodDescriptionDebugVillageSectionsCustomPayload.notVillageChunks()Returns the value of thenotVillageChunksrecord component.DebugVillageSectionsCustomPayload.villageChunks()Returns the value of thevillageChunksrecord 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 ChunkSectionPosChunkDeltaUpdateS2CPacket.sectionPosConstructors 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 ChunkSectionPosServerPlayerEntity.watchedSectionA 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 TypeMethodDescriptionvoidServerPlayerEntity.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) ChunkSectionPosServerChunkLoadingManager.EntityTracker.trackedSectionThe 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 TypeMethodDescriptionvoidServerLightingProvider.enqueueSectionData(LightType lightType, ChunkSectionPos pos, @Nullable ChunkNibbleArray nibbles) intServerWorld.getOccupiedPointOfInterestDistance(ChunkSectionPos pos) voidChunkTicketManager.handleChunkEnter(ChunkSectionPos pos, ServerPlayerEntity player) voidChunkTicketManager.handleChunkLeave(ChunkSectionPos pos, ServerPlayerEntity player) booleanServerWorld.isNearOccupiedPointOfInterest(ChunkSectionPos sectionPos) voidServerChunkManager.onLightUpdate(LightType type, ChunkSectionPos pos) voidServerLightingProvider.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 ChunkSectionPosChunkSectionPos.from(int x, int y, int z) Creates a chunk section position from its x-, y- and z-coordinates.static ChunkSectionPosChunkSectionPos.from(long packed) Creates a chunk section position from its packed representation.static ChunkSectionPosstatic ChunkSectionPosCreates a chunk section position from a chunk position and the y-coordinate of the vertical section.static ChunkSectionPosstatic ChunkSectionPosstatic ChunkSectionPosChunkSectionPos.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 voidChunkProvider.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) voidLightingProvider.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) booleanLightingProvider.isLightingEnabled(ChunkSectionPos sectionPos) voidChunkLightingView.Empty.setSectionStatus(ChunkSectionPos pos, boolean notReady) voidChunkLightProvider.setSectionStatus(ChunkSectionPos pos, boolean notReady) voidLightingProvider.setSectionStatus(ChunkSectionPos pos, boolean notReady) voidLightingView.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 ChunkSectionPosEntityGameEventHandler.sectionPosMethods in net.minecraft.world.event.listener with parameters of type ChunkSectionPosModifier and TypeMethodDescriptionprivate static voidEntityGameEventHandler.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 TypeMethodDescriptionvoidStructureAccessor.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.voidStructureAccessor.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 intChunkGenerator.getStructureReferences(StructureAccessor structureAccessor, Chunk chunk, ChunkSectionPos sectionPos, Structure structure) private booleanChunkGenerator.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 TypeMethodDescriptionintPointOfInterestStorage.getDistanceFromNearestOccupied(ChunkSectionPos pos) voidPointOfInterestStorage.initForPalette(ChunkSectionPos sectionPos, ChunkSection chunkSection) private voidPointOfInterestStorage.scanAndPopulate(ChunkSection chunkSection, ChunkSectionPos sectionPos, BiConsumer<BlockPos, RegistryEntry<PointOfInterestType>> populator)