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 TypeFieldDescriptionprivate final Set<SectionPos>
VillageSectionsDebugRenderer.villageSections
Modifier and TypeMethodDescriptionprivate static void
VillageSectionsDebugRenderer.highlightVillageSection
(PoseStack p_270832_, MultiBufferSource p_270443_, SectionPos p_271021_) void
VillageSectionsDebugRenderer.setNotVillageSection
(SectionPos p_113712_) void
VillageSectionsDebugRenderer.setVillageSection
(SectionPos p_113710_) -
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.game
Modifier and TypeFieldDescriptionprivate final SectionPos
ClientboundSectionBlocksUpdatePacket.sectionPos
ModifierConstructorDescriptionClientboundSectionBlocksUpdatePacket
(SectionPos p_132986_, it.unimi.dsi.fastutil.shorts.ShortSet p_132987_, LevelChunkSection p_132988_, boolean p_132989_) -
Uses of SectionPos in net.minecraft.server.level
Modifier and TypeFieldDescription(package private) SectionPos
ChunkMap.TrackedEntity.lastSectionPos
private SectionPos
ServerPlayer.lastSectionPos
Modifier and TypeMethodDescriptionServerPlayer.getLastSectionPos()
private SectionPos
ChunkMap.updatePlayerPos
(ServerPlayer p_140374_) 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_9339_, SectionPos p_9340_, DataLayer p_9341_, boolean p_9342_) 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 TypeMethodDescriptionint
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 TypeMethodDescriptionLayerLightEngine.getDataLayerData
(SectionPos p_75690_) LayerLightEventListener.DummyLightLayerEventListener.getDataLayerData
(SectionPos p_75718_) LayerLightEventListener.getDataLayerData
(SectionPos p_75709_) LevelLightEngine.getDebugData
(LightLayer p_75817_, SectionPos p_75818_) void
LevelLightEngine.queueSectionData
(LightLayer p_75819_, SectionPos p_75820_, DataLayer p_75821_, boolean p_75822_) void
LayerLightEngine.updateSectionStatus
(SectionPos p_75692_, boolean p_75693_) void
LayerLightEventListener.DummyLightLayerEventListener.updateSectionStatus
(SectionPos p_75720_, boolean p_75721_) void
LevelLightEngine.updateSectionStatus
(SectionPos p_75827_, boolean p_75828_) void
LightEventListener.updateSectionStatus
(SectionPos p_75837_, boolean p_75838_) -
Uses of SectionPos in net.minecraftforge.event.entity