类 ChunkCache

    • 字段详细资料

      • minX

        protected final int minX
        Mappings:
        Namespace Name Mixin selector
        official a Lbwd;a:I
        intermediary field_9304 Lnet/minecraft/class_1950;field_9304:I
        named minX Lnet/minecraft/world/chunk/ChunkCache;minX:I
      • minZ

        protected final int minZ
        Mappings:
        Namespace Name Mixin selector
        official b Lbwd;b:I
        intermediary field_9303 Lnet/minecraft/class_1950;field_9303:I
        named minZ Lnet/minecraft/world/chunk/ChunkCache;minZ:I
      • chunks

        protected final Chunk[][] chunks
        Mappings:
        Namespace Name Mixin selector
        official c Lbwd;c:[[Lclk;
        intermediary field_9305 Lnet/minecraft/class_1950;field_9305:[[Lnet/minecraft/class_2791;
        named chunks Lnet/minecraft/world/chunk/ChunkCache;chunks:[[Lnet/minecraft/world/chunk/Chunk;
      • empty

        protected boolean empty
        Mappings:
        Namespace Name Mixin selector
        official d Lbwd;d:Z
        intermediary field_9302 Lnet/minecraft/class_1950;field_9302:Z
        named empty Lnet/minecraft/world/chunk/ChunkCache;empty:Z
      • world

        protected final World world
        Mappings:
        Namespace Name Mixin selector
        official e Lbwd;e:Lbvr;
        intermediary field_9306 Lnet/minecraft/class_1950;field_9306:Lnet/minecraft/class_1937;
        named world Lnet/minecraft/world/chunk/ChunkCache;world:Lnet/minecraft/world/World;
    • 构造器详细资料

      • ChunkCache

        public ChunkCache​(World world,
                          BlockPos minPos,
                          BlockPos maxPos)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbwd;<init>(Lbvr;Lgb;Lgb;)V
        intermediary <init> Lnet/minecraft/class_1950;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)V
        named <init> Lnet/minecraft/world/chunk/ChunkCache;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)V
    • 方法详细资料

      • getChunk

        private Chunk getChunk​(BlockPos pos)
        Mappings:
        Namespace Name Mixin selector
        official d Lbwd;d(Lgb;)Lclk;
        intermediary method_22354 Lnet/minecraft/class_1950;method_22354(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2791;
        named getChunk Lnet/minecraft/world/chunk/ChunkCache;getChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/Chunk;
      • getChunk

        private Chunk getChunk​(int chunkX,
                               int chunkZ)
        Mappings:
        Namespace Name Mixin selector
        official a Lbwd;a(II)Lclk;
        intermediary method_22353 Lnet/minecraft/class_1950;method_22353(II)Lnet/minecraft/class_2791;
        named getChunk Lnet/minecraft/world/chunk/ChunkCache;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
      • getWorldBorder

        public WorldBorder getWorldBorder()
        指定者:
        getWorldBorder 在接口中 CollisionView
        Mappings:
        Namespace Name Mixin selector
        official e Lbva;e()Lclh;
        intermediary method_8621 Lnet/minecraft/class_1941;method_8621()Lnet/minecraft/class_2784;
        named getWorldBorder Lnet/minecraft/world/CollisionView;getWorldBorder()Lnet/minecraft/world/border/WorldBorder;
      • getChunkAsView

        public BlockView getChunkAsView​(int chunkX,
                                        int chunkZ)
        指定者:
        getChunkAsView 在接口中 CollisionView
        Mappings:
        Namespace Name Mixin selector
        official c Lbva;c(II)Lbuv;
        intermediary method_22338 Lnet/minecraft/class_1941;method_22338(II)Lnet/minecraft/class_1922;
        named getChunkAsView Lnet/minecraft/world/CollisionView;getChunkAsView(II)Lnet/minecraft/world/BlockView;
      • getBlockEntity

        @Nullable
        public @Nullable BlockEntity getBlockEntity​(BlockPos pos)
        指定者:
        getBlockEntity 在接口中 BlockView
        Mappings:
        Namespace Name Mixin selector
        official c Lbuv;c(Lgb;)Lchp;
        intermediary method_8321 Lnet/minecraft/class_1922;method_8321(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2586;
        named getBlockEntity Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
      • getBlockState

        public BlockState getBlockState​(BlockPos pos)
        指定者:
        getBlockState 在接口中 BlockView
        Mappings:
        Namespace Name Mixin selector
        official d_ Lbuv;d_(Lgb;)Lcjr;
        intermediary method_8320 Lnet/minecraft/class_1922;method_8320(Lnet/minecraft/class_2338;)Lnet/minecraft/class_2680;
        named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
      • getEntityCollisions

        public Stream<VoxelShape> getEntityCollisions​(@Nullable
                                                      @Nullable Entity entity,
                                                      Box box,
                                                      Predicate<Entity> predicate)
        指定者:
        getEntityCollisions 在接口中 CollisionView
        Mappings:
        Namespace Name Mixin selector
        official c Lbva;c(Lasl;Ldlv;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
        intermediary method_20743 Lnet/minecraft/class_1941;method_20743(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
        named getEntityCollisions Lnet/minecraft/world/CollisionView;getEntityCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
      • getCollisions

        public Stream<VoxelShape> getCollisions​(@Nullable
                                                @Nullable Entity entity,
                                                Box box,
                                                Predicate<Entity> predicate)
        指定者:
        getCollisions 在接口中 CollisionView
        Mappings:
        Namespace Name Mixin selector
        official d Lbva;d(Lasl;Ldlv;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
        intermediary method_8600 Lnet/minecraft/class_1941;method_8600(Lnet/minecraft/class_1297;Lnet/minecraft/class_238;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
        named getCollisions Lnet/minecraft/world/CollisionView;getCollisions(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
      • getFluidState

        public FluidState getFluidState​(BlockPos pos)
        指定者:
        getFluidState 在接口中 BlockView
        Mappings:
        Namespace Name Mixin selector
        official b Lbuv;b(Lgb;)Ldds;
        intermediary method_8316 Lnet/minecraft/class_1922;method_8316(Lnet/minecraft/class_2338;)Lnet/minecraft/class_3610;
        named getFluidState Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
      • getBottomY

        public int getBottomY()
        Returns the bottom Y level, or height, inclusive, of this view.
        指定者:
        getBottomY 在接口中 HeightLimitView
        另请参阅:
        HeightLimitView.getTopY(), HeightLimitView.getHeight()
        Mappings:
        Namespace Name Mixin selector
        official v_ Lbvt;v_()I
        intermediary method_31607 Lnet/minecraft/class_5539;method_31607()I
        named getBottomY Lnet/minecraft/world/HeightLimitView;getBottomY()I
      • getHeight

        public int getHeight()
        Returns the difference in the minimum and maximum height.

        This is the number of blocks that can be modified in any vertical column within the view, or the vertical size, in blocks, of the view.

        指定者:
        getHeight 在接口中 HeightLimitView
        返回:
        the difference in the minimum and maximum height
        另请参阅:
        HeightLimitView.getBottomY(), HeightLimitView.getTopY()
        Mappings:
        Namespace Name Mixin selector
        official m Lbvt;m()I
        intermediary method_31605 Lnet/minecraft/class_5539;method_31605()I
        named getHeight Lnet/minecraft/world/HeightLimitView;getHeight()I