接口 Chunk

    • 方法详细资料

      • getGameEventDispatcher

        default GameEventDispatcher getGameEventDispatcher​(int ySectionCoord)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(I)Lcnu;
        intermediary method_32914 Lnet/minecraft/class_2791;method_32914(I)Lnet/minecraft/class_5713;
        named getGameEventDispatcher Lnet/minecraft/world/chunk/Chunk;getGameEventDispatcher(I)Lnet/minecraft/world/event/listener/GameEventDispatcher;
      • setBlockState

        @Nullable
        @Nullable BlockState setBlockState​(BlockPos pos,
                                           BlockState state,
                                           boolean moved)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(Lgb;Lcjr;Z)Lcjr;
        intermediary method_12010 Lnet/minecraft/class_2791;method_12010(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Z)Lnet/minecraft/class_2680;
        named setBlockState Lnet/minecraft/world/chunk/Chunk;setBlockState(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)Lnet/minecraft/block/BlockState;
      • setBlockEntity

        void setBlockEntity​(BlockEntity blockEntity)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(Lchp;)V
        intermediary method_12007 Lnet/minecraft/class_2791;method_12007(Lnet/minecraft/class_2586;)V
        named setBlockEntity Lnet/minecraft/world/chunk/Chunk;setBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
      • addEntity

        void addEntity​(Entity entity)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(Lasl;)V
        intermediary method_12002 Lnet/minecraft/class_2791;method_12002(Lnet/minecraft/class_1297;)V
        named addEntity Lnet/minecraft/world/chunk/Chunk;addEntity(Lnet/minecraft/entity/Entity;)V
      • getHighestNonEmptySection

        @Nullable
        default @Nullable ChunkSection getHighestNonEmptySection()
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a()Lclw;
        intermediary method_12040 Lnet/minecraft/class_2791;method_12040()Lnet/minecraft/class_2826;
        named getHighestNonEmptySection Lnet/minecraft/world/chunk/Chunk;getHighestNonEmptySection()Lnet/minecraft/world/chunk/ChunkSection;
      • getHighestNonEmptySectionYOffset

        default int getHighestNonEmptySectionYOffset()
        Mappings:
        Namespace Name Mixin selector
        official b Lclk;b()I
        intermediary method_12031 Lnet/minecraft/class_2791;method_12031()I
        named getHighestNonEmptySectionYOffset Lnet/minecraft/world/chunk/Chunk;getHighestNonEmptySectionYOffset()I
      • getBlockEntityPositions

        Set<BlockPos> getBlockEntityPositions()
        Mappings:
        Namespace Name Mixin selector
        official c Lclk;c()Ljava/util/Set;
        intermediary method_12021 Lnet/minecraft/class_2791;method_12021()Ljava/util/Set;
        named getBlockEntityPositions Lnet/minecraft/world/chunk/Chunk;getBlockEntityPositions()Ljava/util/Set;
      • getSectionArray

        ChunkSection[] getSectionArray()
        Mappings:
        Namespace Name Mixin selector
        official d Lclk;d()[Lclw;
        intermediary method_12006 Lnet/minecraft/class_2791;method_12006()[Lnet/minecraft/class_2826;
        named getSectionArray Lnet/minecraft/world/chunk/Chunk;getSectionArray()[Lnet/minecraft/world/chunk/ChunkSection;
      • getSection

        default ChunkSection getSection​(int yIndex)
        Mappings:
        Namespace Name Mixin selector
        official b Lclk;b(I)Lclw;
        intermediary method_33729 Lnet/minecraft/class_2791;method_33729(I)Lnet/minecraft/class_2826;
        named getSection Lnet/minecraft/world/chunk/Chunk;getSection(I)Lnet/minecraft/world/chunk/ChunkSection;
      • getHeightmaps

        Collection<Map.Entry<Heightmap.Type,​Heightmap>> getHeightmaps()
        Mappings:
        Namespace Name Mixin selector
        official e Lclk;e()Ljava/util/Collection;
        intermediary method_12011 Lnet/minecraft/class_2791;method_12011()Ljava/util/Collection;
        named getHeightmaps Lnet/minecraft/world/chunk/Chunk;getHeightmaps()Ljava/util/Collection;
      • setHeightmap

        void setHeightmap​(Heightmap.Type type,
                          long[] heightmap)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(Lcor$a;[J)V
        intermediary method_12037 Lnet/minecraft/class_2791;method_12037(Lnet/minecraft/class_2902$class_2903;[J)V
        named setHeightmap Lnet/minecraft/world/chunk/Chunk;setHeightmap(Lnet/minecraft/world/Heightmap$Type;[J)V
      • getHeightmap

        Heightmap getHeightmap​(Heightmap.Type type)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(Lcor$a;)Lcor;
        intermediary method_12032 Lnet/minecraft/class_2791;method_12032(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2902;
        named getHeightmap Lnet/minecraft/world/chunk/Chunk;getHeightmap(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/world/Heightmap;
      • sampleHeightmap

        int sampleHeightmap​(Heightmap.Type type,
                            int x,
                            int z)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(Lcor$a;II)I
        intermediary method_12005 Lnet/minecraft/class_2791;method_12005(Lnet/minecraft/class_2902$class_2903;II)I
        named sampleHeightmap Lnet/minecraft/world/chunk/Chunk;sampleHeightmap(Lnet/minecraft/world/Heightmap$Type;II)I
      • method_35319

        BlockPos method_35319​(Heightmap.Type type)
        Mappings:
        Namespace Name Mixin selector
        official b Lclk;b(Lcor$a;)Lgb;
        intermediary method_35319 Lnet/minecraft/class_2791;method_35319(Lnet/minecraft/class_2902$class_2903;)Lnet/minecraft/class_2338;
        named method_35319 Lnet/minecraft/world/chunk/Chunk;method_35319(Lnet/minecraft/world/Heightmap$Type;)Lnet/minecraft/util/math/BlockPos;
      • getPos

        ChunkPos getPos()
        Mappings:
        Namespace Name Mixin selector
        official f Lclk;f()Lbuw;
        intermediary method_12004 Lnet/minecraft/class_2791;method_12004()Lnet/minecraft/class_1923;
        named getPos Lnet/minecraft/world/chunk/Chunk;getPos()Lnet/minecraft/util/math/ChunkPos;
      • getStructureStarts

        Map<StructureFeature<?>,​StructureStart<?>> getStructureStarts()
        Mappings:
        Namespace Name Mixin selector
        official g Lclk;g()Ljava/util/Map;
        intermediary method_12016 Lnet/minecraft/class_2791;method_12016()Ljava/util/Map;
        named getStructureStarts Lnet/minecraft/world/chunk/Chunk;getStructureStarts()Ljava/util/Map;
      • setStructureStarts

        void setStructureStarts​(Map<StructureFeature<?>,​StructureStart<?>> structureStarts)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(Ljava/util/Map;)V
        intermediary method_12034 Lnet/minecraft/class_2791;method_12034(Ljava/util/Map;)V
        named setStructureStarts Lnet/minecraft/world/chunk/Chunk;setStructureStarts(Ljava/util/Map;)V
      • areSectionsEmptyBetween

        default boolean areSectionsEmptyBetween​(int lowerHeight,
                                                int upperHeight)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(II)Z
        intermediary method_12228 Lnet/minecraft/class_2791;method_12228(II)Z
        named areSectionsEmptyBetween Lnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
      • getBiomeArray

        @Nullable
        @Nullable BiomeArray getBiomeArray()
        Mappings:
        Namespace Name Mixin selector
        official h Lclk;h()Lcll;
        intermediary method_12036 Lnet/minecraft/class_2791;method_12036()Lnet/minecraft/class_4548;
        named getBiomeArray Lnet/minecraft/world/chunk/Chunk;getBiomeArray()Lnet/minecraft/world/biome/source/BiomeArray;
      • setShouldSave

        void setShouldSave​(boolean shouldSave)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(Z)V
        intermediary method_12008 Lnet/minecraft/class_2791;method_12008(Z)V
        named setShouldSave Lnet/minecraft/world/chunk/Chunk;setShouldSave(Z)V
      • needsSaving

        boolean needsSaving()
        Mappings:
        Namespace Name Mixin selector
        official i Lclk;i()Z
        intermediary method_12044 Lnet/minecraft/class_2791;method_12044()Z
        named needsSaving Lnet/minecraft/world/chunk/Chunk;needsSaving()Z
      • getStatus

        ChunkStatus getStatus()
        Mappings:
        Namespace Name Mixin selector
        official j Lclk;j()Lclo;
        intermediary method_12009 Lnet/minecraft/class_2791;method_12009()Lnet/minecraft/class_2806;
        named getStatus Lnet/minecraft/world/chunk/Chunk;getStatus()Lnet/minecraft/world/chunk/ChunkStatus;
      • removeBlockEntity

        void removeBlockEntity​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official d Lclk;d(Lgb;)V
        intermediary method_12041 Lnet/minecraft/class_2791;method_12041(Lnet/minecraft/class_2338;)V
        named removeBlockEntity Lnet/minecraft/world/chunk/Chunk;removeBlockEntity(Lnet/minecraft/util/math/BlockPos;)V
      • markBlockForPostProcessing

        default void markBlockForPostProcessing​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official e Lclk;e(Lgb;)V
        intermediary method_12039 Lnet/minecraft/class_2791;method_12039(Lnet/minecraft/class_2338;)V
        named markBlockForPostProcessing Lnet/minecraft/world/chunk/Chunk;markBlockForPostProcessing(Lnet/minecraft/util/math/BlockPos;)V
      • getPostProcessingLists

        ShortList[] getPostProcessingLists()
        Mappings:
        Namespace Name Mixin selector
        official k Lclk;k()[Lit/unimi/dsi/fastutil/shorts/ShortList;
        intermediary method_12012 Lnet/minecraft/class_2791;method_12012()[Lit/unimi/dsi/fastutil/shorts/ShortList;
        named getPostProcessingLists Lnet/minecraft/world/chunk/Chunk;getPostProcessingLists()[Lit/unimi/dsi/fastutil/shorts/ShortList;
      • markBlockForPostProcessing

        default void markBlockForPostProcessing​(short packedPos,
                                                int index)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(SI)V
        intermediary method_12029 Lnet/minecraft/class_2791;method_12029(SI)V
        named markBlockForPostProcessing Lnet/minecraft/world/chunk/Chunk;markBlockForPostProcessing(SI)V
      • addPendingBlockEntityNbt

        default void addPendingBlockEntityNbt​(CompoundTag nbt)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(Lmv;)V
        intermediary method_12042 Lnet/minecraft/class_2791;method_12042(Lnet/minecraft/class_2487;)V
        named addPendingBlockEntityNbt Lnet/minecraft/world/chunk/Chunk;addPendingBlockEntityNbt(Lnet/minecraft/nbt/CompoundTag;)V
      • getBlockEntityNbt

        @Nullable
        @Nullable CompoundTag getBlockEntityNbt​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official h Lclk;h(Lgb;)Lmv;
        intermediary method_12024 Lnet/minecraft/class_2791;method_12024(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;
        named getBlockEntityNbt Lnet/minecraft/world/chunk/Chunk;getBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/CompoundTag;
      • getPackedBlockEntityNbt

        @Nullable
        @Nullable CompoundTag getPackedBlockEntityNbt​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official i Lclk;i(Lgb;)Lmv;
        intermediary method_20598 Lnet/minecraft/class_2791;method_20598(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2487;
        named getPackedBlockEntityNbt Lnet/minecraft/world/chunk/Chunk;getPackedBlockEntityNbt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/nbt/CompoundTag;
      • getLightSourcesStream

        Stream<BlockPos> getLightSourcesStream()
        Mappings:
        Namespace Name Mixin selector
        official n Lclk;n()Ljava/util/stream/Stream;
        intermediary method_12018 Lnet/minecraft/class_2791;method_12018()Ljava/util/stream/Stream;
        named getLightSourcesStream Lnet/minecraft/world/chunk/Chunk;getLightSourcesStream()Ljava/util/stream/Stream;
      • getBlockTickScheduler

        TickScheduler<Block> getBlockTickScheduler()
        Mappings:
        Namespace Name Mixin selector
        official o Lclk;o()Lbwj;
        intermediary method_12013 Lnet/minecraft/class_2791;method_12013()Lnet/minecraft/class_1951;
        named getBlockTickScheduler Lnet/minecraft/world/chunk/Chunk;getBlockTickScheduler()Lnet/minecraft/world/TickScheduler;
      • getFluidTickScheduler

        TickScheduler<Fluid> getFluidTickScheduler()
        Mappings:
        Namespace Name Mixin selector
        official p Lclk;p()Lbwj;
        intermediary method_12014 Lnet/minecraft/class_2791;method_12014()Lnet/minecraft/class_1951;
        named getFluidTickScheduler Lnet/minecraft/world/chunk/Chunk;getFluidTickScheduler()Lnet/minecraft/world/TickScheduler;
      • getUpgradeData

        UpgradeData getUpgradeData()
        Mappings:
        Namespace Name Mixin selector
        official q Lclk;q()Lcmf;
        intermediary method_12003 Lnet/minecraft/class_2791;method_12003()Lnet/minecraft/class_2843;
        named getUpgradeData Lnet/minecraft/world/chunk/Chunk;getUpgradeData()Lnet/minecraft/world/chunk/UpgradeData;
      • setInhabitedTime

        void setInhabitedTime​(long inhabitedTime)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a(J)V
        intermediary method_12028 Lnet/minecraft/class_2791;method_12028(J)V
        named setInhabitedTime Lnet/minecraft/world/chunk/Chunk;setInhabitedTime(J)V
      • getInhabitedTime

        long getInhabitedTime()
        Mappings:
        Namespace Name Mixin selector
        official r Lclk;r()J
        intermediary method_12033 Lnet/minecraft/class_2791;method_12033()J
        named getInhabitedTime Lnet/minecraft/world/chunk/Chunk;getInhabitedTime()J
      • getList

        static ShortList getList​(ShortList[] lists,
                                 int index)
        Mappings:
        Namespace Name Mixin selector
        official a Lclk;a([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList;
        intermediary method_12026 Lnet/minecraft/class_2791;method_12026([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList;
        named getList Lnet/minecraft/world/chunk/Chunk;getList([Lit/unimi/dsi/fastutil/shorts/ShortList;I)Lit/unimi/dsi/fastutil/shorts/ShortList;
      • isLightOn

        boolean isLightOn()
        Mappings:
        Namespace Name Mixin selector
        official s Lclk;s()Z
        intermediary method_12038 Lnet/minecraft/class_2791;method_12038()Z
        named isLightOn Lnet/minecraft/world/chunk/Chunk;isLightOn()Z
      • setLightOn

        void setLightOn​(boolean lightOn)
        Mappings:
        Namespace Name Mixin selector
        official b Lclk;b(Z)V
        intermediary method_12020 Lnet/minecraft/class_2791;method_12020(Z)V
        named setLightOn Lnet/minecraft/world/chunk/Chunk;setLightOn(Z)V