Class ChunkCache

java.lang.Object
net.minecraft.world.chunk.ChunkCache
All Implemented Interfaces:
class_3600, BlockView, RenderBlockView

public class ChunkCache extends Object implements class_3600
Mappings:
Namespace Name
official ayl
intermediary net/minecraft/class_1164
named net/minecraft/world/chunk/ChunkCache
  • Field Details

    • minX

      protected int minX
      Mappings:
      Namespace Name Mixin selector
      official a Layl;a:I
      intermediary field_4595 Lnet/minecraft/class_1164;field_4595:I
      named minX Lnet/minecraft/world/chunk/ChunkCache;minX:I
    • minZ

      protected int minZ
      Mappings:
      Namespace Name Mixin selector
      official b Layl;b:I
      intermediary field_4596 Lnet/minecraft/class_1164;field_4596:I
      named minZ Lnet/minecraft/world/chunk/ChunkCache;minZ:I
    • chunks

      protected Chunk[][] chunks
      Mappings:
      Namespace Name Mixin selector
      official c Layl;c:[[Lbnj;
      intermediary field_4597 Lnet/minecraft/class_1164;field_4597:[[Lnet/minecraft/class_1196;
      named chunks Lnet/minecraft/world/chunk/ChunkCache;chunks:[[Lnet/minecraft/world/chunk/Chunk;
    • field_17511

      protected boolean field_17511
      Mappings:
      Namespace Name Mixin selector
      official d Layl;d:Z
      intermediary field_17511 Lnet/minecraft/class_1164;field_17511:Z
      named field_17511 Lnet/minecraft/world/chunk/ChunkCache;field_17511:Z
    • world

      protected World world
      Mappings:
      Namespace Name Mixin selector
      official e Layl;e:Laxy;
      intermediary field_4599 Lnet/minecraft/class_1164;field_4599:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/world/chunk/ChunkCache;world:Lnet/minecraft/world/World;
  • Constructor Details

    • ChunkCache

      public ChunkCache(World world, BlockPos minPos, BlockPos maxPos, int offset)
      Mappings:
      Namespace Name Mixin selector
      official <init> Layl;<init>(Laxy;Lel;Lel;I)V
      intermediary <init> Lnet/minecraft/class_1164;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;I)V
      named <init> Lnet/minecraft/world/chunk/ChunkCache;<init>(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;I)V
  • Method Details

    • getBlockEntity

      @Nullable public BlockEntity getBlockEntity(BlockPos pos)
      Specified by:
      getBlockEntity in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official f Laxk;f(Lel;)Lbji;
      intermediary method_8581 Lnet/minecraft/class_1158;method_8581(Lnet/minecraft/class_2552;)Lnet/minecraft/class_226;
      named getBlockEntity Lnet/minecraft/world/BlockView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
    • method_13314

      @Nullable public BlockEntity method_13314(BlockPos blockPos, Chunk.Status status)
      Mappings:
      Namespace Name Mixin selector
      official a Layl;a(Lel;Lbnj$a;)Lbji;
      intermediary method_13314 Lnet/minecraft/class_1164;method_13314(Lnet/minecraft/class_2552;Lnet/minecraft/class_1196$class_2251;)Lnet/minecraft/class_226;
      named method_13314 Lnet/minecraft/world/chunk/ChunkCache;method_13314(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/Chunk$Status;)Lnet/minecraft/block/entity/BlockEntity;
    • method_8578

      @Environment(CLIENT) public int method_8578(BlockPos blockPos, int int2)
      Specified by:
      method_8578 in interface class_3600
      Mappings:
      Namespace Name Mixin selector
      official b Laye;b(Lel;I)I
      intermediary method_8578 Lnet/minecraft/class_3600;method_8578(Lnet/minecraft/class_2552;I)I
      named method_8578 Lnet/minecraft/class_3600;method_8578(Lnet/minecraft/util/math/BlockPos;I)I
    • method_16356

      public float method_16356(BlockPos blockPos)
      Specified by:
      method_16356 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official A Layc;A(Lel;)F
      intermediary method_16356 Lnet/minecraft/class_3599;method_16356(Lnet/minecraft/class_2552;)F
      named method_16356 Lnet/minecraft/world/RenderBlockView;method_16356(Lnet/minecraft/util/math/BlockPos;)F
    • method_16389

      public int method_16389(BlockPos blockPos, int int2)
      Specified by:
      method_16389 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official d Layc;d(Lel;I)I
      intermediary method_16389 Lnet/minecraft/class_3599;method_16389(Lnet/minecraft/class_2552;I)I
      named method_16389 Lnet/minecraft/world/RenderBlockView;method_16389(Lnet/minecraft/util/math/BlockPos;I)I
    • method_16393

      public Dimension method_16393()
      Specified by:
      method_16393 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official o Layc;o()Lboc;
      intermediary method_16393 Lnet/minecraft/class_3599;method_16393()Lnet/minecraft/class_1208;
      named method_16393 Lnet/minecraft/world/RenderBlockView;method_16393()Lnet/minecraft/world/dimension/Dimension;
    • method_16379

      public int method_16379(BlockPos blockPos, int int2)
      Specified by:
      method_16379 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official a Layc;a(Lel;I)I
      intermediary method_16379 Lnet/minecraft/class_3599;method_16379(Lnet/minecraft/class_2552;I)I
      named method_16379 Lnet/minecraft/world/RenderBlockView;method_16379(Lnet/minecraft/util/math/BlockPos;I)I
    • method_8487

      public boolean method_8487(int int2, int int3, boolean bool)
      Specified by:
      method_8487 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official a Layc;a(IIZ)Z
      intermediary method_8487 Lnet/minecraft/class_3599;method_8487(IIZ)Z
      named method_8487 Lnet/minecraft/world/RenderBlockView;method_8487(IIZ)Z
    • hasDirectSunlight

      public boolean hasDirectSunlight(BlockPos blockPos)
      Specified by:
      hasDirectSunlight in interface RenderBlockView
    • method_16408

      public boolean method_16408(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Layl;a(II)Z
      intermediary method_16408 Lnet/minecraft/class_1164;method_16408(II)Z
      named method_16408 Lnet/minecraft/world/chunk/ChunkCache;method_16408(II)Z
    • method_16372

      public int method_16372(class_3804.class_3805 class_3805, int int2, int int3)
      Specified by:
      method_16372 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official a Layc;a(Lbor$a;II)I
      intermediary method_16372 Lnet/minecraft/class_3599;method_16372(Lnet/minecraft/class_3804$class_3805;II)I
      named method_16372 Lnet/minecraft/world/RenderBlockView;method_16372(Lnet/minecraft/class_3804$class_3805;II)I
    • getWorldBorder

      public WorldBorder getWorldBorder()
      Specified by:
      getWorldBorder in interface RenderBlockView
    • method_16368

      public boolean method_16368(@Nullable Entity entity, VoxelShape voxelShape)
      Specified by:
      method_16368 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official a Layc;a(Laer;Lcew;)Z
      intermediary method_16368 Lnet/minecraft/class_3599;method_16368(Lnet/minecraft/class_864;Lnet/minecraft/class_4100;)Z
      named method_16368 Lnet/minecraft/world/RenderBlockView;method_16368(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/shapes/VoxelShape;)Z
    • method_16360

      @Nullable public PlayerEntity method_16360(double double2, double double3, double double4, double double5, Predicate<Entity> predicate)
      Specified by:
      method_16360 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official a Layc;a(DDDDLjava/util/function/Predicate;)Laog;
      intermediary method_16360 Lnet/minecraft/class_3599;method_16360(DDDDLjava/util/function/Predicate;)Lnet/minecraft/class_988;
      named method_16360 Lnet/minecraft/world/RenderBlockView;method_16360(DDDDLjava/util/function/Predicate;)Lnet/minecraft/entity/player/PlayerEntity;
    • getBlockState

      public BlockState getBlockState(BlockPos pos)
      Specified by:
      getBlockState in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official a_ Laxk;a_(Lel;)Lblc;
      intermediary method_8580 Lnet/minecraft/class_1158;method_8580(Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;
      named getBlockState Lnet/minecraft/world/BlockView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getFluidState

      public FluidState getFluidState(BlockPos pos)
      Specified by:
      getFluidState in interface BlockView
      Mappings:
      Namespace Name Mixin selector
      official b Laxk;b(Lel;)Lbyw;
      intermediary method_16280 Lnet/minecraft/class_1158;method_16280(Lnet/minecraft/class_2552;)Lnet/minecraft/class_4024;
      named getFluidState Lnet/minecraft/world/BlockView;getFluidState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/fluid/FluidState;
    • getAmbientDarkness

      public int getAmbientDarkness()
      Specified by:
      getAmbientDarkness in interface RenderBlockView
    • method_8577

      public Biome method_8577(BlockPos blockPos)
      Specified by:
      method_8577 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official d Layc;d(Lel;)Layu;
      intermediary method_8577 Lnet/minecraft/class_3599;method_8577(Lnet/minecraft/class_2552;)Lnet/minecraft/class_1170;
      named method_8577 Lnet/minecraft/world/RenderBlockView;method_8577(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/biome/Biome;
    • getLightAtPos

      @Environment(CLIENT) private int getLightAtPos(LightType type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Layl;b(Layi;Lel;)I
      intermediary method_8585 Lnet/minecraft/class_1164;method_8585(Lnet/minecraft/class_1161;Lnet/minecraft/class_2552;)I
      named getLightAtPos Lnet/minecraft/world/chunk/ChunkCache;getLightAtPos(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
    • method_8579

      public boolean method_8579(BlockPos blockPos)
      Specified by:
      method_8579 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official c Layc;c(Lel;)Z
      intermediary method_8579 Lnet/minecraft/class_3599;method_8579(Lnet/minecraft/class_2552;)Z
      named method_8579 Lnet/minecraft/world/RenderBlockView;method_8579(Lnet/minecraft/util/math/BlockPos;)Z
    • method_16370

      public int method_16370(LightType lightType, BlockPos blockPos)
      Specified by:
      method_16370 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official a Layc;a(Layi;Lel;)I
      intermediary method_16370 Lnet/minecraft/class_3599;method_16370(Lnet/minecraft/class_1161;Lnet/minecraft/class_2552;)I
      named method_16370 Lnet/minecraft/world/RenderBlockView;method_16370(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
    • method_8576

      public int method_8576(BlockPos blockPos, Direction direction)
      Specified by:
      method_8576 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official a Layc;a(Lel;Leq;)I
      intermediary method_8576 Lnet/minecraft/class_3599;method_8576(Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named method_8576 Lnet/minecraft/world/RenderBlockView;method_8576(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • method_16390

      public boolean method_16390()
      Specified by:
      method_16390 in interface RenderBlockView
      Mappings:
      Namespace Name Mixin selector
      official e Layc;e()Z
      intermediary method_16390 Lnet/minecraft/class_3599;method_16390()Z
      named method_16390 Lnet/minecraft/world/RenderBlockView;method_16390()Z
    • getSeaLevel

      public int getSeaLevel()
      Specified by:
      getSeaLevel in interface RenderBlockView