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 pType, SectionPos pPos) -
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 pSectionPos, RenderChunkRegion pRegion, VertexSorting pVertexSorting, SectionBufferBuilderPack pSectionBufferBuilderPack) SectionCompiler.compile
(SectionPos pSectionPos, RenderChunkRegion pRegion, VertexSorting pVertexSorting, SectionBufferBuilderPack pSectionBufferBuilderPack, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers) RenderRegionCache.createRegion
(Level pLevel, SectionPos pSectionPos) RenderRegionCache.createRegion
(Level pLevel, SectionPos pSectionPos, 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 pPoseStack, MultiBufferSource pBuffer, SectionPos pPos) private static void
LightSectionDebugRenderer.renderEdges
(PoseStack p_282890_, DiscreteVoxelShape p_282950_, SectionPos p_281925_, MultiBufferSource p_281516_, double p_281554_, double p_283233_, double p_281690_, org.joml.Vector4f p_282916_) private static void
LightSectionDebugRenderer.renderFaces
(PoseStack p_283088_, DiscreteVoxelShape p_281747_, SectionPos p_282941_, VertexConsumer p_283103_, double p_281419_, double p_282520_, double p_281976_, org.joml.Vector4f p_282342_) void
VillageSectionsDebugRenderer.setNotVillageSection
(SectionPos pPos) void
VillageSectionsDebugRenderer.setVillageSection
(SectionPos pPos) Constructors in net.minecraft.client.renderer.debug with parameters of type SectionPosModifierConstructorDescription(package private)
SectionData
(LevelLightEngine pLevelLightEngine, SectionPos pPos, int pRadius, LightLayer pLightLayer) -
Uses of SectionPos in net.minecraft.core
Methods in net.minecraft.core that return SectionPosModifier and TypeMethodDescriptionstatic SectionPos
SectionPos.bottomOf
(ChunkAccess pChunk) static SectionPos
SectionPos.of
(int pChunkX, int pChunkY, int pChunkZ) static SectionPos
SectionPos.of
(long pPacked) static SectionPos
static SectionPos
static SectionPos
static SectionPos
SectionPos.of
(EntityAccess pEntity) SectionPos.offset
(int pDx, int pDy, int pDz) Methods in net.minecraft.core that return types with arguments of type SectionPosModifier and TypeMethodDescriptionstatic Stream
<SectionPos> SectionPos.aroundChunk
(ChunkPos pChunkPos, int pX, int pY, int pZ) static Stream
<SectionPos> SectionPos.betweenClosedStream
(int pX1, int pY1, int pZ1, int pX2, int pY2, int pZ2) static Stream
<SectionPos> SectionPos.cube
(SectionPos pCenter, int pRadius) Methods in net.minecraft.core with parameters of type SectionPosModifier and TypeMethodDescriptionstatic Stream
<SectionPos> SectionPos.cube
(SectionPos pCenter, int pRadius) -
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 pSectionPos) 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 p_284963_, it.unimi.dsi.fastutil.shorts.ShortSet p_285027_, LevelChunkSection p_285414_) -
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 pSectionPos, ServerPlayer pPlayer) boolean
ServerLevel.isVillage
(SectionPos pPos) void
ServerChunkCache.onLightUpdate
(LightLayer pType, SectionPos pPos) void
ThreadedLevelLightEngine.queueSectionData
(LightLayer pLightLayer, SectionPos pSectionPos, DataLayer pDataLayer) void
DistanceManager.removePlayer
(SectionPos pSectionPos, ServerPlayer pPlayer) int
ServerLevel.sectionsToVillage
(SectionPos pPos) void
ServerPlayer.setLastSectionPos
(SectionPos pSectionPos) void
ThreadedLevelLightEngine.updateSectionStatus
(SectionPos pPos, boolean pIsEmpty) -
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 pServerLevel, SectionPos pSectionPos, int pRadius) Methods in net.minecraft.world.entity.ai.behavior with parameters of type SectionPosModifier and TypeMethodDescriptionstatic SectionPos
BehaviorUtils.findSectionClosestToVillage
(ServerLevel pServerLevel, SectionPos pSectionPos, int pRadius) -
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 pSectionPos) -
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 pSectionPos, LevelChunkSection pLevelChunkSection) int
PoiManager.sectionsToVillage
(SectionPos pSectionPos) private void
PoiManager.updateFromSection
(LevelChunkSection pSection, SectionPos pSectionPos, BiConsumer<BlockPos, Holder<PoiType>> pPosToTypeConsumer) -
Uses of SectionPos in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type SectionPosModifier and TypeMethodDescriptionvoid
StructureManager.addReferenceForStructure
(SectionPos pSectionPos, Structure pStructure, long pReference, StructureAccess pStructureAccess) StructureManager.getStartForStructure
(SectionPos pSectionPos, Structure pStructure, StructureAccess pStructureAccess) void
StructureManager.setStartForStructure
(SectionPos pSectionPos, Structure pStructure, StructureStart pStructureStart, StructureAccess pStructureAccess) StructureManager.startsForStructure
(SectionPos pSectionPos, Structure pStructure) -
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 pStructureManager, ChunkAccess pChunk, SectionPos pSectionPos, Structure pStructure) default void
LightChunkGetter.onLightUpdate
(LightLayer pLayer, SectionPos pPos) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry pStructureSelectionEntry, StructureManager pStructureManager, RegistryAccess pRegistryAccess, RandomState pRandom, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkAccess pChunk, ChunkPos pChunkPos, SectionPos pSectionPos) -
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 pLevel, SectionPos pSectionPos, Consumer<GameEventListenerRegistry> pDispatcherConsumer) -
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 pSectionPos) LayerLightEventListener.getDataLayerData
(SectionPos pSectionPos) LightEngine.getDataLayerData
(SectionPos pSectionPos) LevelLightEngine.getDebugData
(LightLayer pLightLayer, SectionPos pSectionPos) LevelLightEngine.getDebugSectionType
(LightLayer pLightLayer, SectionPos pSectionPos) boolean
LevelLightEngine.lightOnInSection
(SectionPos pSectionPos) void
LevelLightEngine.queueSectionData
(LightLayer pLightLayer, SectionPos pSectionPos, DataLayer pDataLayer) void
LayerLightEventListener.DummyLightLayerEventListener.updateSectionStatus
(SectionPos pPos, boolean pIsEmpty) void
LevelLightEngine.updateSectionStatus
(SectionPos pPos, boolean pIsEmpty) void
LightEngine.updateSectionStatus
(SectionPos pPos, boolean pIsQueueEmpty) void
LightEventListener.updateSectionStatus
(SectionPos pPos, boolean pIsQueueEmpty) -
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