Class ChunkCache

java.lang.Object
net.minecraft.world.chunk.ChunkCache
All Implemented Interfaces:
WorldView
Direct Known Subclasses:
ChunkRenderCache

public class ChunkCache
extends Object
implements WorldView
Mappings:
Namespace Name
official adv
intermediary net/minecraft/class_110
named net/minecraft/world/chunk/ChunkCache
  • Field Details

    • field_337

      protected int field_337
      Mappings:
      Namespace Name Mixin selector
      official a Ladv;a:I
      intermediary field_337 Lnet/minecraft/class_110;field_337:I
      named field_337 Lnet/minecraft/world/chunk/ChunkCache;field_337:I
    • field_338

      protected int field_338
      Mappings:
      Namespace Name Mixin selector
      official b Ladv;b:I
      intermediary field_338 Lnet/minecraft/class_110;field_338:I
      named field_338 Lnet/minecraft/world/chunk/ChunkCache;field_338:I
    • chunks

      protected Chunk[][] chunks
      Mappings:
      Namespace Name Mixin selector
      official c Ladv;c:[[Lamy;
      intermediary field_339 Lnet/minecraft/class_110;field_339:[[Lnet/minecraft/class_399;
      named chunks Lnet/minecraft/world/chunk/ChunkCache;chunks:[[Lnet/minecraft/world/chunk/Chunk;
    • saved

      protected boolean saved
      Mappings:
      Namespace Name Mixin selector
      official d Ladv;d:Z
      intermediary field_340 Lnet/minecraft/class_110;field_340:Z
      named saved Lnet/minecraft/world/chunk/ChunkCache;saved:Z
    • world

      protected World world
      Mappings:
      Namespace Name Mixin selector
      official e Ladv;e:Ladm;
      intermediary field_341 Lnet/minecraft/class_110;field_341:Lnet/minecraft/class_99;
      named world Lnet/minecraft/world/chunk/ChunkCache;world:Lnet/minecraft/world/World;
  • Constructor Details

    • ChunkCache

      public ChunkCache​(World world, BlockPos startPos, BlockPos endPos, int int2)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ladv;<init>(Ladm;Lcj;Lcj;I)V
      intermediary <init> Lnet/minecraft/class_110;<init>(Lnet/minecraft/class_99;Lnet/minecraft/class_1372;Lnet/minecraft/class_1372;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

    • isSaved

      @Environment(CLIENT) public boolean isSaved()
      Specified by:
      isSaved in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official W Ladq;W()Z
      intermediary method_478 Lnet/minecraft/class_104;method_478()Z
      named isSaved Lnet/minecraft/world/WorldView;isSaved()Z
    • getBlockEntity

      public BlockEntity getBlockEntity​(BlockPos pos)
      Specified by:
      getBlockEntity in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official s Ladq;s(Lcj;)Lakw;
      intermediary method_484 Lnet/minecraft/class_104;method_484(Lnet/minecraft/class_1372;)Lnet/minecraft/class_348;
      named getBlockEntity Lnet/minecraft/world/WorldView;getBlockEntity(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/entity/BlockEntity;
    • getLight

      @Environment(CLIENT) public int getLight​(BlockPos pos, int minBlockLight)
      Specified by:
      getLight in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official b Ladq;b(Lcj;I)I
      intermediary method_481 Lnet/minecraft/class_104;method_481(Lnet/minecraft/class_1372;I)I
      named getLight Lnet/minecraft/world/WorldView;getLight(Lnet/minecraft/util/math/BlockPos;I)I
    • getBlockState

      public BlockState getBlockState​(BlockPos pos)
      Specified by:
      getBlockState in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official p Ladq;p(Lcj;)Lalz;
      intermediary method_483 Lnet/minecraft/class_104;method_483(Lnet/minecraft/class_1372;)Lnet/minecraft/class_376;
      named getBlockState Lnet/minecraft/world/WorldView;getBlockState(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
    • getBiomeAt

      @Environment(CLIENT) public Biome getBiomeAt​(BlockPos pos)
      Specified by:
      getBiomeAt in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official b Ladq;b(Lcj;)Lady;
      intermediary method_480 Lnet/minecraft/class_104;method_480(Lnet/minecraft/class_1372;)Lnet/minecraft/class_113;
      named getBiomeAt Lnet/minecraft/world/WorldView;getBiomeAt(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/biome/Biome;
    • method_506

      @Environment(CLIENT) private int method_506​(LightType type, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ladv;a(Lads;Lcj;)I
      intermediary method_506 Lnet/minecraft/class_110;method_506(Lnet/minecraft/class_106;Lnet/minecraft/class_1372;)I
      named method_506 Lnet/minecraft/world/chunk/ChunkCache;method_506(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
    • isAir

      public boolean isAir​(BlockPos pos)
      Specified by:
      isAir in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official d Ladq;d(Lcj;)Z
      intermediary method_482 Lnet/minecraft/class_104;method_482(Lnet/minecraft/class_1372;)Z
      named isAir Lnet/minecraft/world/WorldView;isAir(Lnet/minecraft/util/math/BlockPos;)Z
    • method_507

      @Environment(CLIENT) public int method_507​(LightType lightType, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Ladv;b(Lads;Lcj;)I
      intermediary method_507 Lnet/minecraft/class_110;method_507(Lnet/minecraft/class_106;Lnet/minecraft/class_1372;)I
      named method_507 Lnet/minecraft/world/chunk/ChunkCache;method_507(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
    • getStrongRedstonePower

      public int getStrongRedstonePower​(BlockPos pos, Direction direction)
      Specified by:
      getStrongRedstonePower in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official a Ladq;a(Lcj;Lcq;)I
      intermediary method_479 Lnet/minecraft/class_104;method_479(Lnet/minecraft/class_1372;Lnet/minecraft/class_1383;)I
      named getStrongRedstonePower Lnet/minecraft/world/WorldView;getStrongRedstonePower(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • getGeneratorType

      @Environment(CLIENT) public LevelGeneratorType getGeneratorType()
      Specified by:
      getGeneratorType in interface WorldView
      Mappings:
      Namespace Name Mixin selector
      official G Ladq;G()Ladr;
      intermediary method_477 Lnet/minecraft/class_104;method_477()Lnet/minecraft/class_105;
      named getGeneratorType Lnet/minecraft/world/WorldView;getGeneratorType()Lnet/minecraft/world/level/LevelGeneratorType;