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 type, SectionPos pos) -
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 sectionPos, RenderChunkRegion region, VertexSorting vertexSorting, SectionBufferBuilderPack sectionBufferBuilderPack) SectionCompiler.compile(SectionPos sectionPos, RenderChunkRegion region, VertexSorting vertexSorting, SectionBufferBuilderPack sectionBufferBuilderPack, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers) RenderRegionCache.createRegion(Level level, SectionPos sectionPos) RenderRegionCache.createRegion(Level level, SectionPos sectionPos, 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 poseStack, MultiBufferSource buffer, SectionPos pos) private static voidLightSectionDebugRenderer.renderEdges(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, MultiBufferSource bufferSource, double camX, double camY, double camZ, org.joml.Vector4f color) private static voidLightSectionDebugRenderer.renderFaces(PoseStack poseStack, DiscreteVoxelShape shape, SectionPos pos, VertexConsumer buffer, double camX, double camY, double camZ, org.joml.Vector4f color) voidVillageSectionsDebugRenderer.setNotVillageSection(SectionPos pos) voidVillageSectionsDebugRenderer.setVillageSection(SectionPos pos) Constructors in net.minecraft.client.renderer.debug with parameters of type SectionPosModifierConstructorDescription(package private)SectionData(LevelLightEngine levelLightEngine, SectionPos pos, int radius, LightLayer lightLayer) -
Uses of SectionPos in net.minecraft.core
Methods in net.minecraft.core that return SectionPosModifier and TypeMethodDescriptionstatic SectionPosSectionPos.bottomOf(ChunkAccess chunk) static SectionPosSectionPos.of(int chunkX, int chunkY, int chunkZ) static SectionPosSectionPos.of(long packed) static SectionPosstatic SectionPosstatic SectionPosstatic SectionPosSectionPos.of(EntityAccess entity) SectionPos.offset(int dx, int dy, int dz) Methods in net.minecraft.core that return types with arguments of type SectionPosModifier and TypeMethodDescriptionstatic Stream<SectionPos> SectionPos.aroundChunk(ChunkPos chunkPos, int x, int y, int z) static Stream<SectionPos> SectionPos.betweenClosedStream(int x1, int y1, int z1, int x2, int y2, int z2) static Stream<SectionPos> SectionPos.cube(SectionPos center, int radius) Methods in net.minecraft.core with parameters of type SectionPosModifier and TypeMethodDescriptionstatic Stream<SectionPos> SectionPos.cube(SectionPos center, int radius) -
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 sectionPos) 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 sectionPos, it.unimi.dsi.fastutil.shorts.ShortSet positions, LevelChunkSection section) -
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 sectionPos, ServerPlayer player) booleanServerLevel.isVillage(SectionPos pos) voidServerChunkCache.onLightUpdate(LightLayer type, SectionPos pos) voidThreadedLevelLightEngine.queueSectionData(LightLayer lightLayer, SectionPos sectionPos, DataLayer dataLayer) voidDistanceManager.removePlayer(SectionPos sectionPos, ServerPlayer player) intServerLevel.sectionsToVillage(SectionPos pos) voidServerPlayer.setLastSectionPos(SectionPos sectionPos) voidThreadedLevelLightEngine.updateSectionStatus(SectionPos pos, boolean isEmpty) -
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 serverLevel, SectionPos sectionPos, int radius) Methods in net.minecraft.world.entity.ai.behavior with parameters of type SectionPosModifier and TypeMethodDescriptionstatic SectionPosBehaviorUtils.findSectionClosestToVillage(ServerLevel serverLevel, SectionPos sectionPos, int radius) -
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 sectionPos) -
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 sectionPos, LevelChunkSection levelChunkSection) intPoiManager.sectionsToVillage(SectionPos sectionPos) private voidPoiManager.updateFromSection(LevelChunkSection section, SectionPos sectionPos, BiConsumer<BlockPos, Holder<PoiType>> posToTypeConsumer) -
Uses of SectionPos in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type SectionPosModifier and TypeMethodDescriptionvoidStructureManager.addReferenceForStructure(SectionPos sectionPos, Structure structure, long reference, StructureAccess structureAccess) StructureManager.getStartForStructure(SectionPos sectionPos, Structure structure, StructureAccess structureAccess) voidStructureManager.setStartForStructure(SectionPos sectionPos, Structure structure, StructureStart structureStart, StructureAccess structureAccess) StructureManager.startsForStructure(SectionPos sectionPos, Structure structure) -
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 structureManager, ChunkAccess chunk, SectionPos sectionPos, Structure structure) default voidLightChunkGetter.onLightUpdate(LightLayer layer, SectionPos pos) private booleanChunkGenerator.tryGenerateStructure(StructureSet.StructureSelectionEntry structureSelectionEntry, StructureManager structureManager, RegistryAccess registryAccess, RandomState random, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess chunk, ChunkPos chunkPos, SectionPos sectionPos) -
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 level, SectionPos sectionPos, Consumer<GameEventListenerRegistry> dispatcherConsumer) -
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 sectionPos) LayerLightEventListener.getDataLayerData(SectionPos sectionPos) LightEngine.getDataLayerData(SectionPos sectionPos) LevelLightEngine.getDebugData(LightLayer lightLayer, SectionPos sectionPos) LevelLightEngine.getDebugSectionType(LightLayer lightLayer, SectionPos sectionPos) booleanLevelLightEngine.lightOnInSection(SectionPos sectionPos) voidLevelLightEngine.queueSectionData(LightLayer lightLayer, SectionPos sectionPos, DataLayer dataLayer) voidLayerLightEventListener.DummyLightLayerEventListener.updateSectionStatus(SectionPos pos, boolean isEmpty) voidLevelLightEngine.updateSectionStatus(SectionPos pos, boolean isEmpty) voidLightEngine.updateSectionStatus(SectionPos pos, boolean isQueueEmpty) voidLightEventListener.updateSectionStatus(SectionPos pos, boolean isQueueEmpty) -
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