Uses of Class
net.minecraft.core.SectionPos
Packages that use SectionPos
Package
Description
-
Uses of SectionPos in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type SectionPosModifier and TypeMethodDescriptionvoid
ClientChunkCache.onLightUpdate
(LightLayer type, SectionPos pos) -
Uses of SectionPos in net.minecraft.client.renderer.chunk
Methods in net.minecraft.client.renderer.chunk with parameters of type SectionPosModifier and TypeMethodDescriptionSectionCompiler.compile
(SectionPos sectionPos, RenderChunkRegion region, VertexSorting vertexSorting, SectionBufferBuilderPack sectionBufferBuilderPack) SectionCompiler.compile
(SectionPos sectionPos, RenderChunkRegion region, VertexSorting vertexSorting, SectionBufferBuilderPack sectionBufferBuilderPack, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers) RenderRegionCache.createRegion
(Level level, SectionPos sectionPos) RenderRegionCache.createRegion
(Level level, SectionPos sectionPos, boolean nullForEmpty) -
Uses of SectionPos in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as SectionPosModifier and TypeFieldDescription(package private) final SectionPos
LightSectionDebugRenderer.SectionData.minPos
Fields in net.minecraft.client.renderer.debug with type parameters of type SectionPosModifier and TypeFieldDescriptionprivate final Set
<SectionPos> VillageSectionsDebugRenderer.villageSections
Methods in net.minecraft.client.renderer.debug with parameters of type SectionPosModifier and TypeMethodDescriptionprivate static void
VillageSectionsDebugRenderer.highlightVillageSection
(PoseStack poseStack, MultiBufferSource buffer, SectionPos pos) private static void
LightSectionDebugRenderer.renderEdges
(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, MultiBufferSource bufferSource, double camX, double camY, double camZ, org.joml.Vector4f color) private static void
LightSectionDebugRenderer.renderFaces
(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, VertexConsumer buffer, double camX, double camY, double camZ, org.joml.Vector4f color) void
VillageSectionsDebugRenderer.setNotVillageSection
(SectionPos pos) void
VillageSectionsDebugRenderer.setVillageSection
(SectionPos pos) Constructors in net.minecraft.client.renderer.debug with parameters of type SectionPosModifierConstructorDescription(package private)
SectionData
(LevelLightEngine levelLightEngine, SectionPos pos, int radius, LightLayer lightLayer) -
Uses of SectionPos in net.minecraft.core
Methods in net.minecraft.core that return SectionPosModifier and TypeMethodDescriptionstatic SectionPos
SectionPos.bottomOf
(ChunkAccess chunk) static SectionPos
SectionPos.of
(int chunkX, int chunkY, int chunkZ) static SectionPos
SectionPos.of
(long packed) static SectionPos
static SectionPos
static SectionPos
static SectionPos
SectionPos.of
(EntityAccess entity) SectionPos.offset
(int dx, int dy, int dz) Methods in net.minecraft.core that return types with arguments of type SectionPosModifier and TypeMethodDescriptionstatic Stream
<SectionPos> SectionPos.aroundChunk
(ChunkPos chunkPos, int x, int y, int z) static Stream
<SectionPos> SectionPos.betweenClosedStream
(int x1, int y1, int z1, int x2, int y2, int z2) static Stream
<SectionPos> SectionPos.cube
(SectionPos center, int radius) Methods in net.minecraft.core with parameters of type SectionPosModifier and TypeMethodDescriptionstatic Stream
<SectionPos> SectionPos.cube
(SectionPos center, int radius) -
Uses of SectionPos in net.minecraft.network
Methods in net.minecraft.network that return SectionPosMethods in net.minecraft.network with parameters of type SectionPosModifier and TypeMethodDescriptionFriendlyByteBuf.writeSectionPos
(SectionPos sectionPos) Writes a SectionPos encoded as a long to the buffer. -
Uses of SectionPos in net.minecraft.network.protocol.common.custom
Fields in net.minecraft.network.protocol.common.custom with type parameters of type SectionPosModifier and TypeFieldDescriptionprivate final Set
<SectionPos> VillageSectionsDebugPayload.notVillageChunks
The field for thenotVillageChunks
record component.private final Set
<SectionPos> VillageSectionsDebugPayload.villageChunks
The field for thevillageChunks
record component.Methods in net.minecraft.network.protocol.common.custom that return types with arguments of type SectionPosModifier and TypeMethodDescriptionVillageSectionsDebugPayload.notVillageChunks()
Returns the value of thenotVillageChunks
record component.VillageSectionsDebugPayload.villageChunks()
Returns the value of thevillageChunks
record component.Constructor parameters in net.minecraft.network.protocol.common.custom with type arguments of type SectionPosModifierConstructorDescriptionVillageSectionsDebugPayload
(Set<SectionPos> villageChunks, Set<SectionPos> notVillageChunks) Creates an instance of aVillageSectionsDebugPayload
record class. -
Uses of SectionPos in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as SectionPosModifier and TypeFieldDescriptionprivate final SectionPos
ClientboundSectionBlocksUpdatePacket.sectionPos
Constructors in net.minecraft.network.protocol.game with parameters of type SectionPosModifierConstructorDescriptionClientboundSectionBlocksUpdatePacket
(SectionPos sectionPos, it.unimi.dsi.fastutil.shorts.ShortSet positions, LevelChunkSection section) -
Uses of SectionPos in net.minecraft.server.level
Fields in net.minecraft.server.level declared as SectionPosModifier and TypeFieldDescription(package private) SectionPos
ChunkMap.TrackedEntity.lastSectionPos
private SectionPos
ServerPlayer.lastSectionPos
Player section position as last updated by TicketManager, used by ChunkManagerMethods in net.minecraft.server.level that return SectionPosMethods in net.minecraft.server.level with parameters of type SectionPosModifier and TypeMethodDescriptionvoid
DistanceManager.addPlayer
(SectionPos sectionPos, ServerPlayer player) boolean
ServerLevel.isVillage
(SectionPos pos) void
ServerChunkCache.onLightUpdate
(LightLayer type, SectionPos pos) void
ThreadedLevelLightEngine.queueSectionData
(LightLayer lightLayer, SectionPos sectionPos, DataLayer dataLayer) void
DistanceManager.removePlayer
(SectionPos sectionPos, ServerPlayer player) int
ServerLevel.sectionsToVillage
(SectionPos pos) void
ServerPlayer.setLastSectionPos
(SectionPos sectionPos) void
ThreadedLevelLightEngine.updateSectionStatus
(SectionPos pos, boolean isEmpty) -
Uses of SectionPos in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior that return SectionPosModifier and TypeMethodDescriptionstatic SectionPos
BehaviorUtils.findSectionClosestToVillage
(ServerLevel serverLevel, SectionPos sectionPos, int radius) Methods in net.minecraft.world.entity.ai.behavior with parameters of type SectionPosModifier and TypeMethodDescriptionstatic SectionPos
BehaviorUtils.findSectionClosestToVillage
(ServerLevel serverLevel, SectionPos sectionPos, int radius) -
Uses of SectionPos in net.minecraft.world.entity.ai.goal
Methods in net.minecraft.world.entity.ai.goal that return SectionPosModifier and TypeMethodDescriptionprivate SectionPos
GolemRandomStrollInVillageGoal.getRandomVillageSection()
Methods in net.minecraft.world.entity.ai.goal with parameters of type SectionPosModifier and TypeMethodDescriptionprivate BlockPos
GolemRandomStrollInVillageGoal.getRandomPoiWithinSection
(SectionPos sectionPos) -
Uses of SectionPos in net.minecraft.world.entity.ai.village.poi
Methods in net.minecraft.world.entity.ai.village.poi with parameters of type SectionPosModifier and TypeMethodDescriptionvoid
PoiManager.checkConsistencyWithBlocks
(SectionPos sectionPos, LevelChunkSection levelChunkSection) int
PoiManager.sectionsToVillage
(SectionPos sectionPos) private void
PoiManager.updateFromSection
(LevelChunkSection section, SectionPos sectionPos, BiConsumer<BlockPos, Holder<PoiType>> posToTypeConsumer) -
Uses of SectionPos in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type SectionPosModifier and TypeMethodDescriptionvoid
StructureManager.addReferenceForStructure
(SectionPos sectionPos, Structure structure, long reference, StructureAccess structureAccess) StructureManager.getStartForStructure
(SectionPos sectionPos, Structure structure, StructureAccess structureAccess) void
StructureManager.setStartForStructure
(SectionPos sectionPos, Structure structure, StructureStart structureStart, StructureAccess structureAccess) StructureManager.startsForStructure
(SectionPos sectionPos, Structure structure) -
Uses of SectionPos in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type SectionPosModifier and TypeMethodDescriptionprivate static int
ChunkGenerator.fetchReferences
(StructureManager structureManager, ChunkAccess chunk, SectionPos sectionPos, Structure structure) default void
LightChunkGetter.onLightUpdate
(LightLayer layer, SectionPos pos) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry structureSelectionEntry, StructureManager structureManager, RegistryAccess registryAccess, RandomState random, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess chunk, ChunkPos chunkPos, SectionPos sectionPos) -
Uses of SectionPos in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as SectionPosMethods in net.minecraft.world.level.gameevent with parameters of type SectionPosModifier and TypeMethodDescriptionprivate static void
DynamicGameEventListener.ifChunkExists
(LevelReader level, SectionPos sectionPos, Consumer<GameEventListenerRegistry> dispatcherConsumer) -
Uses of SectionPos in net.minecraft.world.level.lighting
Methods in net.minecraft.world.level.lighting with parameters of type SectionPosModifier and TypeMethodDescriptionLayerLightEventListener.DummyLightLayerEventListener.getDataLayerData
(SectionPos sectionPos) LayerLightEventListener.getDataLayerData
(SectionPos sectionPos) LightEngine.getDataLayerData
(SectionPos sectionPos) LevelLightEngine.getDebugData
(LightLayer lightLayer, SectionPos sectionPos) LevelLightEngine.getDebugSectionType
(LightLayer lightLayer, SectionPos sectionPos) boolean
LevelLightEngine.lightOnInSection
(SectionPos sectionPos) void
LevelLightEngine.queueSectionData
(LightLayer lightLayer, SectionPos sectionPos, DataLayer dataLayer) void
LayerLightEventListener.DummyLightLayerEventListener.updateSectionStatus
(SectionPos pos, boolean isEmpty) void
LevelLightEngine.updateSectionStatus
(SectionPos pos, boolean isEmpty) void
LightEngine.updateSectionStatus
(SectionPos pos, boolean isQueueEmpty) void
LightEventListener.updateSectionStatus
(SectionPos pos, boolean isQueueEmpty) -
Uses of SectionPos in net.neoforged.neoforge.client.model.data
Methods in net.neoforged.neoforge.client.model.data with parameters of type SectionPosModifier and TypeMethodDescription@UnmodifiableView it.unimi.dsi.fastutil.longs.Long2ObjectMap
<ModelData> ModelDataManager.getAt
(SectionPos pos) Provides all the model data for a given chunk section. -
Uses of SectionPos in net.neoforged.neoforge.event.entity
Methods in net.neoforged.neoforge.event.entity that return SectionPos