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 p_104436_, SectionPos p_104437_) -
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 p_350790_, RenderChunkRegion p_350782_, VertexSorting p_350635_, SectionBufferBuilderPack p_350612_) SectionCompiler.compile
(SectionPos p_350790_, RenderChunkRegion p_350782_, VertexSorting p_350635_, SectionBufferBuilderPack p_350612_, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers) RenderRegionCache.createRegion
(Level p_200466_, SectionPos p_350879_) RenderRegionCache.createRegion
(Level p_200466_, SectionPos p_350879_, 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 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_) Constructors in net.minecraft.client.renderer.debug with parameters of type SectionPosModifierConstructorDescription(package private)
SectionData
(LevelLightEngine p_283220_, SectionPos p_282370_, int p_282804_, LightLayer p_283151_) -
Uses of SectionPos in net.minecraft.core
Methods in net.minecraft.core that return SectionPosModifier 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_) Methods in net.minecraft.core that return types with arguments of type SectionPosModifier 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_) Methods in net.minecraft.core with parameters of type SectionPosModifier and TypeMethodDescriptionstatic Stream
<SectionPos> SectionPos.cube
(SectionPos p_123202_, int p_123203_) -
Uses of SectionPos in net.minecraft.network
Methods in net.minecraft.network that return SectionPosMethods in net.minecraft.network with parameters of type SectionPos -
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
Methods in net.minecraft.server.level that return SectionPosMethods in net.minecraft.server.level with parameters of type SectionPosModifier 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
Methods in net.minecraft.world.entity.ai.behavior that return SectionPosModifier and TypeMethodDescriptionstatic SectionPos
BehaviorUtils.findSectionClosestToVillage
(ServerLevel p_22582_, SectionPos p_22583_, int p_22584_) Methods in net.minecraft.world.entity.ai.behavior with parameters of type SectionPosModifier and TypeMethodDescriptionstatic SectionPos
BehaviorUtils.findSectionClosestToVillage
(ServerLevel p_22582_, SectionPos p_22583_, int p_22584_) -
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 p_25408_) -
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 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
Methods in net.minecraft.world.level with parameters of type SectionPosModifier 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
Methods in net.minecraft.world.level.chunk with parameters of type SectionPosModifier 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
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 p_223623_, SectionPos p_223624_, Consumer<GameEventListenerRegistry> p_223625_) -
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 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.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