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 layer, SectionPos pos) -
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 cameraSection, int renderDistance, int sectionsPerChunk, int minBlockY) -
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, RenderSectionRegion region, VertexSorting vertexSorting, SectionBufferBuilderPack builders) SectionCompiler.compile(SectionPos sectionPos, RenderSectionRegion region, VertexSorting vertexSorting, SectionBufferBuilderPack builders, List<AddSectionGeometryEvent.AdditionalSectionRenderer> additionalRenderers) private VertexSortingSectionRenderDispatcher.RenderSection.createVertexSorting(SectionPos sectionPos, Vec3 cameraPos) -
Uses of SectionPos in net.minecraft.client.renderer.debug
Fields in net.minecraft.client.renderer.debug declared as SectionPosModifier and TypeFieldDescriptionprivate final SectionPosLightSectionDebugRenderer.SectionData.minPosMethods in net.minecraft.client.renderer.debug with parameters of type SectionPosModifier and TypeMethodDescriptionprivate static voidLightSectionDebugRenderer.renderEdges(DiscreteVoxelShape shape, SectionPos minSection, int color) private static voidLightSectionDebugRenderer.renderFaces(DiscreteVoxelShape shape, SectionPos minSection, int color) Constructors in net.minecraft.client.renderer.debug with parameters of type SectionPosModifierConstructorDescriptionprivateSectionData(LevelLightEngine engine, SectionPos centerPos, int radius, LightLayer lightLayer) -
Uses of SectionPos in net.minecraft.core
Fields in net.minecraft.core with type parameters of type SectionPosModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, SectionPos> SectionPos.STREAM_CODECMethods in net.minecraft.core that return SectionPosModifier and TypeMethodDescriptionstatic SectionPosSectionPos.bottomOf(ChunkAccess chunk) static SectionPosSectionPos.of(int x, int y, int z) static SectionPosSectionPos.of(long sectionNode) static SectionPosstatic SectionPosstatic SectionPosstatic SectionPosSectionPos.of(EntityAccess entity) SectionPos.offset(int x, int y, int z) Methods in net.minecraft.core that return types with arguments of type SectionPosModifier and TypeMethodDescriptionstatic Stream<SectionPos> SectionPos.aroundChunk(ChunkPos center, int radius, int minSection, int maxSection) static Stream<SectionPos> SectionPos.betweenClosedStream(int minX, int minY, int minZ, int maxX, int maxY, int maxZ) 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.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 changes, LevelChunkSection section) -
Uses of SectionPos in net.minecraft.server.level
Fields in net.minecraft.server.level declared as SectionPosModifier and TypeFieldDescriptionprivate 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 pos, ServerPlayer player) booleanServerLevel.isVillage(SectionPos sectionPos) voidServerChunkCache.onLightUpdate(LightLayer layer, SectionPos pos) voidThreadedLevelLightEngine.queueSectionData(LightLayer layer, SectionPos pos, @Nullable DataLayer data) voidDistanceManager.removePlayer(SectionPos pos, ServerPlayer player) intServerLevel.sectionsToVillage(SectionPos pos) voidServerPlayer.setLastSectionPos(SectionPos lastSectionPos) voidThreadedLevelLightEngine.updateSectionStatus(SectionPos pos, boolean sectionEmpty) -
Uses of SectionPos in net.minecraft.util.debug
Methods in net.minecraft.util.debug with parameters of type SectionPosModifier and TypeMethodDescriptionprivate static voidTrackingDebugSynchronizer.VillageSectionSynchronizer.forEachVillageSectionUpdate(ServerLevel level, SectionPos centerSection, BiConsumer<SectionPos, Boolean> consumer) Method parameters in net.minecraft.util.debug with type arguments of type SectionPosModifier and TypeMethodDescriptionprivate static voidTrackingDebugSynchronizer.VillageSectionSynchronizer.forEachVillageSectionUpdate(ServerLevel level, SectionPos centerSection, BiConsumer<SectionPos, Boolean> consumer) -
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 level, SectionPos center, int radius) Methods in net.minecraft.world.entity.ai.behavior with parameters of type SectionPosModifier and TypeMethodDescriptionstatic SectionPosBehaviorUtils.findSectionClosestToVillage(ServerLevel level, SectionPos center, 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 @Nullable SectionPosGolemRandomStrollInVillageGoal.getRandomVillageSection()Methods in net.minecraft.world.entity.ai.goal with parameters of type SectionPosModifier and TypeMethodDescriptionprivate @Nullable 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 blockSection) intPoiManager.sectionsToVillage(SectionPos sectionPos) private voidPoiManager.updateFromSection(LevelChunkSection blockSection, SectionPos pos, BiConsumer<BlockPos, Holder<PoiType>> output) -
Uses of SectionPos in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type SectionPosModifier and TypeMethodDescriptionvoidStructureManager.addReferenceForStructure(SectionPos pos, Structure structure, long reference, StructureAccess chunk) @Nullable StructureStartStructureManager.getStartForStructure(SectionPos pos, Structure structure, StructureAccess chunk) voidStructureManager.setStartForStructure(SectionPos pos, Structure structure, StructureStart start, StructureAccess chunk) StructureManager.startsForStructure(SectionPos pos, 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 centerChunk, SectionPos sectionPos, Structure structure) default voidLightChunkGetter.onLightUpdate(LightLayer layer, SectionPos pos) private booleanChunkGenerator.tryGenerateStructure(StructureSet.StructureSelectionEntry selected, StructureManager structureManager, RegistryAccess registryAccess, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkAccess centerChunk, ChunkPos sourceChunkPos, SectionPos sectionPos, ResourceKey<Level> level) -
Uses of SectionPos in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as SectionPosModifier and TypeFieldDescriptionprivate @Nullable SectionPosDynamicGameEventListener.lastSectionMethods in net.minecraft.world.level.gameevent with parameters of type SectionPosModifier and TypeMethodDescriptionprivate static voidDynamicGameEventListener.ifChunkExists(LevelReader level, @Nullable SectionPos sectionPos, Consumer<GameEventListenerRegistry> action) -
Uses of SectionPos in net.minecraft.world.level.lighting
Methods in net.minecraft.world.level.lighting with parameters of type SectionPosModifier and TypeMethodDescription@Nullable DataLayerLayerLightEventListener.DummyLightLayerEventListener.getDataLayerData(SectionPos pos) @Nullable DataLayerLayerLightEventListener.getDataLayerData(SectionPos pos) @Nullable DataLayerLightEngine.getDataLayerData(SectionPos pos) LevelLightEngine.getDebugData(LightLayer layer, SectionPos pos) LevelLightEngine.getDebugSectionType(LightLayer layer, SectionPos pos) voidLevelLightEngine.queueSectionData(LightLayer layer, SectionPos pos, @Nullable DataLayer data) voidLayerLightEventListener.DummyLightLayerEventListener.updateSectionStatus(SectionPos pos, boolean sectionEmpty) voidLevelLightEngine.updateSectionStatus(SectionPos pos, boolean sectionEmpty) voidLightEngine.updateSectionStatus(SectionPos pos, boolean sectionEmpty) voidLightEventListener.updateSectionStatus(SectionPos pos, boolean sectionEmpty) -
Uses of SectionPos in net.neoforged.neoforge.event.entity
Methods in net.neoforged.neoforge.event.entity that return SectionPos -
Uses of SectionPos in net.neoforged.neoforge.model.data
Methods in net.neoforged.neoforge.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.