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 TypeMethodDescriptionvoidClientChunkCache.onLightUpdate(LightLayer pType, SectionPos pPos) -
Uses of SectionPos in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as SectionPosMethods in net.minecraft.client.renderer that return SectionPosMethods in net.minecraft.client.renderer with parameters of type SectionPosConstructors in net.minecraft.client.renderer with parameters of type SectionPosModifierConstructorDescriptionOctree(SectionPos pCameraSectionPos, int pViewDistance, int pSectionGridSizeY, int pMinY) -
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 SectionPosLightSectionDebugRenderer.SectionData.minPosFields in net.minecraft.client.renderer.debug with type parameters of type SectionPosModifier and TypeFieldDescriptionprivate final Set<SectionPos> VillageSectionsDebugRenderer.villageSectionsMethods in net.minecraft.client.renderer.debug with parameters of type SectionPosModifier and TypeMethodDescriptionprivate static voidVillageSectionsDebugRenderer.highlightVillageSection(PoseStack pPoseStack, MultiBufferSource pBuffer, SectionPos pPos) private static voidLightSectionDebugRenderer.renderEdges(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ, Vector4f pColor) private static voidLightSectionDebugRenderer.renderFaces(PoseStack pPoseStack, DiscreteVoxelShape pShape, SectionPos pPos, VertexConsumer pBuffer, double pCamX, double pCamY, double pCamZ, Vector4f pColor) voidVillageSectionsDebugRenderer.setNotVillageSection(SectionPos pPos) voidVillageSectionsDebugRenderer.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 SectionPosSectionPos.bottomOf(ChunkAccess pChunk) static SectionPosSectionPos.of(int pChunkX, int pChunkY, int pChunkZ) static SectionPosSectionPos.of(long pPacked) static SectionPosstatic SectionPosstatic SectionPosstatic SectionPosSectionPos.of(EntityAccess pEntity) 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 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.notVillageChunksThe field for thenotVillageChunksrecord component.private final Set<SectionPos> VillageSectionsDebugPayload.villageChunksThe field for thevillageChunksrecord component.Methods in net.minecraft.network.protocol.common.custom that return types with arguments of type SectionPosModifier and TypeMethodDescriptionVillageSectionsDebugPayload.notVillageChunks()Returns the value of thenotVillageChunksrecord component.VillageSectionsDebugPayload.villageChunks()Returns the value of thevillageChunksrecord 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 aVillageSectionsDebugPayloadrecord class. -
Uses of SectionPos in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as SectionPosModifier and TypeFieldDescriptionprivate final SectionPosClientboundSectionBlocksUpdatePacket.sectionPosConstructors in net.minecraft.network.protocol.game with parameters of type SectionPosModifierConstructorDescriptionClientboundSectionBlocksUpdatePacket(SectionPos pSectionPos, it.unimi.dsi.fastutil.shorts.ShortSet pPositions, LevelChunkSection pSection) -
Uses of SectionPos in net.minecraft.server.level
Fields in net.minecraft.server.level declared as SectionPosModifier and TypeFieldDescription(package private) SectionPosChunkMap.TrackedEntity.lastSectionPosprivate SectionPosServerPlayer.lastSectionPosPlayer 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 TypeMethodDescriptionvoidDistanceManager.addPlayer(SectionPos pSectionPos, ServerPlayer pPlayer) booleanServerLevel.isVillage(SectionPos pPos) voidServerChunkCache.onLightUpdate(LightLayer pType, SectionPos pPos) voidThreadedLevelLightEngine.queueSectionData(LightLayer p_285046_, SectionPos p_285496_, DataLayer p_285495_) voidDistanceManager.removePlayer(SectionPos pSectionPos, ServerPlayer pPlayer) intServerLevel.sectionsToVillage(SectionPos pPos) voidServerPlayer.setLastSectionPos(SectionPos pSectionPos) voidThreadedLevelLightEngine.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 SectionPosBehaviorUtils.findSectionClosestToVillage(ServerLevel pServerLevel, SectionPos pSectionPos, int pRadius) Methods in net.minecraft.world.entity.ai.behavior with parameters of type SectionPosModifier and TypeMethodDescriptionstatic SectionPosBehaviorUtils.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 SectionPosGolemRandomStrollInVillageGoal.getRandomVillageSection()Methods in net.minecraft.world.entity.ai.goal with parameters of type SectionPosModifier and TypeMethodDescriptionprivate BlockPosGolemRandomStrollInVillageGoal.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 TypeMethodDescriptionvoidPoiManager.checkConsistencyWithBlocks(SectionPos pSectionPos, LevelChunkSection pLevelChunkSection) intPoiManager.sectionsToVillage(SectionPos pSectionPos) private voidPoiManager.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 TypeMethodDescriptionvoidStructureManager.addReferenceForStructure(SectionPos pSectionPos, Structure pStructure, long pReference, StructureAccess pStructureAccess) StructureManager.getStartForStructure(SectionPos pSectionPos, Structure pStructure, StructureAccess pStructureAccess) voidStructureManager.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 intChunkGenerator.fetchReferences(StructureManager pStructureManager, ChunkAccess pChunk, SectionPos pSectionPos, Structure pStructure) default voidLightChunkGetter.onLightUpdate(LightLayer pLayer, SectionPos pPos) private booleanChunkGenerator.tryGenerateStructure(StructureSet.StructureSelectionEntry pStructureSelectionEntry, StructureManager pStructureManager, RegistryAccess pRegistryAccess, RandomState pRandom, StructureTemplateManager pStructureTemplateManager, long pSeed, ChunkAccess pChunk, ChunkPos pChunkPos, SectionPos pSectionPos, ResourceKey<Level> pLevel) -
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 voidDynamicGameEventListener.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 p_75718_) LayerLightEventListener.getDataLayerData(SectionPos pSectionPos) LightEngine.getDataLayerData(SectionPos p_285093_) LevelLightEngine.getDebugData(LightLayer pLightLayer, SectionPos pSectionPos) LevelLightEngine.getDebugSectionType(LightLayer pLightLayer, SectionPos pSectionPos) voidLevelLightEngine.queueSectionData(LightLayer pLightLayer, SectionPos pSectionPos, DataLayer pDataLayer) voidLayerLightEventListener.DummyLightLayerEventListener.updateSectionStatus(SectionPos pPos, boolean pIsEmpty) voidLevelLightEngine.updateSectionStatus(SectionPos pPos, boolean pIsEmpty) voidLightEngine.updateSectionStatus(SectionPos p_285167_, boolean p_284934_) voidLightEventListener.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