Class BuiltChunkStorage

java.lang.Object
net.minecraft.client.render.BuiltChunkStorage

@Environment(CLIENT) public class BuiltChunkStorage extends Object
Mappings:
Namespace Name
official env
intermediary net/minecraft/class_769
named net/minecraft/client/render/BuiltChunkStorage
  • Field Details

    • worldRenderer

      protected final WorldRenderer worldRenderer
      Mappings:
      Namespace Name Mixin selector
      official a Lenv;a:Lenf;
      intermediary field_4146 Lnet/minecraft/class_769;field_4146:Lnet/minecraft/class_761;
      named worldRenderer Lnet/minecraft/client/render/BuiltChunkStorage;worldRenderer:Lnet/minecraft/client/render/WorldRenderer;
    • world

      protected final World world
      Mappings:
      Namespace Name Mixin selector
      official b Lenv;b:Lbwp;
      intermediary field_4151 Lnet/minecraft/class_769;field_4151:Lnet/minecraft/class_1937;
      named world Lnet/minecraft/client/render/BuiltChunkStorage;world:Lnet/minecraft/world/World;
    • sizeY

      protected int sizeY
      Mappings:
      Namespace Name Mixin selector
      official c Lenv;c:I
      intermediary field_4149 Lnet/minecraft/class_769;field_4149:I
      named sizeY Lnet/minecraft/client/render/BuiltChunkStorage;sizeY:I
    • sizeX

      protected int sizeX
      Mappings:
      Namespace Name Mixin selector
      official d Lenv;d:I
      intermediary field_4148 Lnet/minecraft/class_769;field_4148:I
      named sizeX Lnet/minecraft/client/render/BuiltChunkStorage;sizeX:I
    • sizeZ

      protected int sizeZ
      Mappings:
      Namespace Name Mixin selector
      official e Lenv;e:I
      intermediary field_4147 Lnet/minecraft/class_769;field_4147:I
      named sizeZ Lnet/minecraft/client/render/BuiltChunkStorage;sizeZ:I
    • chunks

      public ChunkBuilder.BuiltChunk[] chunks
      Mappings:
      Namespace Name Mixin selector
      official f Lenv;f:[Lepw$c;
      intermediary field_4150 Lnet/minecraft/class_769;field_4150:[Lnet/minecraft/class_846$class_851;
      named chunks Lnet/minecraft/client/render/BuiltChunkStorage;chunks:[Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;
  • Constructor Details

    • BuiltChunkStorage

      public BuiltChunkStorage(ChunkBuilder chunkBuilder, World world, int viewDistance, WorldRenderer worldRenderer)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lenv;<init>(Lepw;Lbwp;ILenf;)V
      intermediary <init> Lnet/minecraft/class_769;<init>(Lnet/minecraft/class_846;Lnet/minecraft/class_1937;ILnet/minecraft/class_761;)V
      named <init> Lnet/minecraft/client/render/BuiltChunkStorage;<init>(Lnet/minecraft/client/render/chunk/ChunkBuilder;Lnet/minecraft/world/World;ILnet/minecraft/client/render/WorldRenderer;)V
  • Method Details

    • createChunks

      protected void createChunks(ChunkBuilder chunkBuilder)
      Mappings:
      Namespace Name Mixin selector
      official a Lenv;a(Lepw;)V
      intermediary method_3324 Lnet/minecraft/class_769;method_3324(Lnet/minecraft/class_846;)V
      named createChunks Lnet/minecraft/client/render/BuiltChunkStorage;createChunks(Lnet/minecraft/client/render/chunk/ChunkBuilder;)V
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      official a Lenv;a()V
      intermediary method_3327 Lnet/minecraft/class_769;method_3327()V
      named clear Lnet/minecraft/client/render/BuiltChunkStorage;clear()V
    • getChunkIndex

      private int getChunkIndex(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Lenv;a(III)I
      intermediary method_3326 Lnet/minecraft/class_769;method_3326(III)I
      named getChunkIndex Lnet/minecraft/client/render/BuiltChunkStorage;getChunkIndex(III)I
    • setViewDistance

      protected void setViewDistance(int viewDistance)
      Mappings:
      Namespace Name Mixin selector
      official a Lenv;a(I)V
      intermediary method_3325 Lnet/minecraft/class_769;method_3325(I)V
      named setViewDistance Lnet/minecraft/client/render/BuiltChunkStorage;setViewDistance(I)V
    • updateCameraPosition

      public void updateCameraPosition(double x, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Lenv;a(DD)V
      intermediary method_3330 Lnet/minecraft/class_769;method_3330(DD)V
      named updateCameraPosition Lnet/minecraft/client/render/BuiltChunkStorage;updateCameraPosition(DD)V
    • scheduleRebuild

      public void scheduleRebuild(int x, int y, int z, boolean important)
      Mappings:
      Namespace Name Mixin selector
      official a Lenv;a(IIIZ)V
      intermediary method_16040 Lnet/minecraft/class_769;method_16040(IIIZ)V
      named scheduleRebuild Lnet/minecraft/client/render/BuiltChunkStorage;scheduleRebuild(IIIZ)V
    • getRenderedChunk

      @Nullable protected ChunkBuilder.BuiltChunk getRenderedChunk(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lenv;a(Lgg;)Lepw$c;
      intermediary method_3323 Lnet/minecraft/class_769;method_3323(Lnet/minecraft/class_2338;)Lnet/minecraft/class_846$class_851;
      named getRenderedChunk Lnet/minecraft/client/render/BuiltChunkStorage;getRenderedChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;