Uses of Class
net.minecraft.core.SectionPos
Package
Description
-
Uses of SectionPos in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionvoid
ClientChunkCache.onLightUpdate
(LightLayer p_104436_, SectionPos p_104437_) -
Uses of SectionPos in net.minecraft.client.renderer.debug
Modifier and TypeFieldDescription(package private) final SectionPos
LightSectionDebugRenderer.SectionData.minPos
Modifier and TypeFieldDescriptionprivate final Set<SectionPos>
VillageSectionsDebugRenderer.villageSections
Modifier and TypeMethodDescriptionprivate static void
VillageSectionsDebugRenderer.highlightVillageSection
(PoseStack p_270832_, MultiBufferSource p_270443_, SectionPos p_271021_) 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 p_113712_) void
VillageSectionsDebugRenderer.setVillageSection
(SectionPos p_113710_) ModifierConstructorDescription(package private)
SectionData
(LevelLightEngine p_283220_, SectionPos p_282370_, int p_282804_, LightLayer p_283151_) -
Uses of SectionPos in net.minecraft.core
Modifier and TypeMethodDescriptionstatic SectionPos
SectionPos.bottomOf
(ChunkAccess p_175563_) static SectionPos
SectionPos.of
(int p_123174_, int p_123175_, int p_123176_) static SectionPos
SectionPos.of
(long p_123185_) static SectionPos
static SectionPos
static SectionPos
static SectionPos
SectionPos.of
(EntityAccess p_235862_) SectionPos.offset
(int p_175571_, int p_175572_, int p_175573_) Modifier and TypeMethodDescriptionstatic Stream<SectionPos>
SectionPos.aroundChunk
(ChunkPos p_175558_, int p_175559_, int p_175560_, int p_175561_) static Stream<SectionPos>
SectionPos.betweenClosedStream
(int p_123178_, int p_123179_, int p_123180_, int p_123181_, int p_123182_, int p_123183_) static Stream<SectionPos>
SectionPos.cube
(SectionPos p_123202_, int p_123203_) Modifier and TypeMethodDescriptionstatic Stream<SectionPos>
SectionPos.cube
(SectionPos p_123202_, int p_123203_) -
Uses of SectionPos in net.minecraft.network
-
Uses of SectionPos in net.minecraft.network.protocol.common.custom
Modifier 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.Modifier and TypeMethodDescriptionVillageSectionsDebugPayload.notVillageChunks()
Returns the value of thenotVillageChunks
record component.VillageSectionsDebugPayload.villageChunks()
Returns the value of thevillageChunks
record component.ModifierConstructorDescriptionVillageSectionsDebugPayload
(Set<SectionPos> villageChunks, Set<SectionPos> notVillageChunks) Creates an instance of aVillageSectionsDebugPayload
record class. -
Uses of SectionPos in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final SectionPos
ClientboundSectionBlocksUpdatePacket.sectionPos
ModifierConstructorDescriptionClientboundSectionBlocksUpdatePacket
(SectionPos p_284963_, it.unimi.dsi.fastutil.shorts.ShortSet p_285027_, LevelChunkSection p_285414_) -
Uses of SectionPos in net.minecraft.server.level
Modifier and TypeFieldDescription(package private) SectionPos
ChunkMap.TrackedEntity.lastSectionPos
private SectionPos
ServerPlayer.lastSectionPos
Modifier and TypeMethodDescriptionvoid
DistanceManager.addPlayer
(SectionPos p_140803_, ServerPlayer p_140804_) boolean
ServerLevel.isVillage
(SectionPos p_8763_) void
ServerChunkCache.onLightUpdate
(LightLayer p_8403_, SectionPos p_8404_) void
ThreadedLevelLightEngine.queueSectionData
(LightLayer p_285046_, SectionPos p_285496_, DataLayer p_285495_) void
DistanceManager.removePlayer
(SectionPos p_140829_, ServerPlayer p_140830_) int
ServerLevel.sectionsToVillage
(SectionPos p_8829_) void
ServerPlayer.setLastSectionPos
(SectionPos p_9120_) void
ThreadedLevelLightEngine.updateSectionStatus
(SectionPos p_9364_, boolean p_9365_) -
Uses of SectionPos in net.minecraft.world.entity.ai.behavior
Modifier and TypeMethodDescriptionstatic SectionPos
BehaviorUtils.findSectionClosestToVillage
(ServerLevel p_22582_, SectionPos p_22583_, int p_22584_) Modifier and TypeMethodDescriptionstatic SectionPos
BehaviorUtils.findSectionClosestToVillage
(ServerLevel p_22582_, SectionPos p_22583_, int p_22584_) -
Uses of SectionPos in net.minecraft.world.entity.ai.goal
Modifier and TypeMethodDescriptionprivate SectionPos
GolemRandomStrollInVillageGoal.getRandomVillageSection()
Modifier and TypeMethodDescriptionprivate BlockPos
GolemRandomStrollInVillageGoal.getRandomPoiWithinSection
(SectionPos p_25408_) -
Uses of SectionPos in net.minecraft.world.entity.ai.village.poi
Modifier and TypeMethodDescriptionvoid
PoiManager.checkConsistencyWithBlocks
(SectionPos p_281731_, LevelChunkSection p_281893_) int
PoiManager.sectionsToVillage
(SectionPos p_27099_) private void
PoiManager.updateFromSection
(LevelChunkSection p_27070_, SectionPos p_27071_, BiConsumer<BlockPos, Holder<PoiType>> p_27072_) -
Uses of SectionPos in net.minecraft.world.level
Modifier and TypeMethodDescriptionvoid
StructureManager.addReferenceForStructure
(SectionPos p_220508_, Structure p_220509_, long p_220510_, StructureAccess p_220511_) StructureManager.getStartForStructure
(SectionPos p_220513_, Structure p_220514_, StructureAccess p_220515_) void
StructureManager.setStartForStructure
(SectionPos p_220517_, Structure p_220518_, StructureStart p_220519_, StructureAccess p_220520_) StructureManager.startsForStructure
(SectionPos p_220505_, Structure p_220506_) -
Uses of SectionPos in net.minecraft.world.level.chunk
Modifier and TypeMethodDescriptionprivate static int
ChunkGenerator.fetchReferences
(StructureManager p_223055_, ChunkAccess p_223056_, SectionPos p_223057_, Structure p_223058_) default void
LightChunkGetter.onLightUpdate
(LightLayer p_63021_, SectionPos p_63022_) private boolean
ChunkGenerator.tryGenerateStructure
(StructureSet.StructureSelectionEntry p_223105_, StructureManager p_223106_, RegistryAccess p_223107_, RandomState p_223108_, StructureTemplateManager p_223109_, long p_223110_, ChunkAccess p_223111_, ChunkPos p_223112_, SectionPos p_223113_) -
Uses of SectionPos in net.minecraft.world.level.gameevent
Modifier and TypeMethodDescriptionprivate static void
DynamicGameEventListener.ifChunkExists
(LevelReader p_223623_, SectionPos p_223624_, Consumer<GameEventListenerRegistry> p_223625_) -
Uses of SectionPos in net.minecraft.world.level.lighting
Modifier and TypeMethodDescriptionLayerLightEventListener.DummyLightLayerEventListener.getDataLayerData
(SectionPos p_75718_) LayerLightEventListener.getDataLayerData
(SectionPos p_75709_) LightEngine.getDataLayerData
(SectionPos p_285093_) LevelLightEngine.getDebugData
(LightLayer p_75817_, SectionPos p_75818_) LevelLightEngine.getDebugSectionType
(LightLayer p_285008_, SectionPos p_285336_) boolean
LevelLightEngine.lightOnInSection
(SectionPos p_285319_) void
LevelLightEngine.queueSectionData
(LightLayer p_285328_, SectionPos p_284962_, DataLayer p_285035_) void
LayerLightEventListener.DummyLightLayerEventListener.updateSectionStatus
(SectionPos p_75720_, boolean p_75721_) void
LevelLightEngine.updateSectionStatus
(SectionPos p_75827_, boolean p_75828_) void
LightEngine.updateSectionStatus
(SectionPos p_285167_, boolean p_284934_) void
LightEventListener.updateSectionStatus
(SectionPos p_75837_, boolean p_75838_) -
Uses of SectionPos in net.neoforged.neoforge.event.entity