Class BuiltChunkStorage

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

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

    • worldRenderer

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

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

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

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

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

      private int viewDistance
      Mappings:
      Namespace Name Mixin selector
      named viewDistance Lnet/minecraft/client/render/BuiltChunkStorage;viewDistance:I
      intermediary field_45629 Lnet/minecraft/class_769;field_45629:I
      official g Lgmi;g:I
    • sectionPos

      private ChunkSectionPos sectionPos
      Mappings:
      Namespace Name Mixin selector
      named sectionPos Lnet/minecraft/client/render/BuiltChunkStorage;sectionPos:Lnet/minecraft/util/math/ChunkSectionPos;
      intermediary field_53952 Lnet/minecraft/class_769;field_53952:Lnet/minecraft/class_4076;
      official h Lgmi;h:Lkj;
    • chunks

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

    • BuiltChunkStorage

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

    • createChunks

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

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

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

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

      public int getViewDistance()
      Mappings:
      Namespace Name Mixin selector
      named getViewDistance Lnet/minecraft/client/render/BuiltChunkStorage;getViewDistance()I
      intermediary method_52839 Lnet/minecraft/class_769;method_52839()I
      official b Lgmi;b()I
    • getWorld

      public HeightLimitView getWorld()
      Mappings:
      Namespace Name Mixin selector
      named getWorld Lnet/minecraft/client/render/BuiltChunkStorage;getWorld()Lnet/minecraft/world/HeightLimitView;
      intermediary method_52840 Lnet/minecraft/class_769;method_52840()Lnet/minecraft/class_5539;
      official c Lgmi;c()Ldhj;
    • updateCameraPosition

      public void updateCameraPosition(ChunkSectionPos sectionPos)
      Mappings:
      Namespace Name Mixin selector
      named updateCameraPosition Lnet/minecraft/client/render/BuiltChunkStorage;updateCameraPosition(Lnet/minecraft/util/math/ChunkSectionPos;)V
      intermediary method_3330 Lnet/minecraft/class_769;method_3330(Lnet/minecraft/class_4076;)V
      official a Lgmi;a(Lkj;)V
    • getSectionPos

      public ChunkSectionPos getSectionPos()
      Mappings:
      Namespace Name Mixin selector
      named getSectionPos Lnet/minecraft/client/render/BuiltChunkStorage;getSectionPos()Lnet/minecraft/util/math/ChunkSectionPos;
      intermediary method_62966 Lnet/minecraft/class_769;method_62966()Lnet/minecraft/class_4076;
      official d Lgmi;d()Lkj;
    • scheduleRebuild

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

      @Nullable protected ChunkBuilder.BuiltChunk getRenderedChunk(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      named getRenderedChunk Lnet/minecraft/client/render/BuiltChunkStorage;getRenderedChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;
      intermediary method_3323 Lnet/minecraft/class_769;method_3323(Lnet/minecraft/class_2338;)Lnet/minecraft/class_846$class_851;
      official a Lgmi;a(Ljh;)Lgox$b;
    • getRenderedChunk

      @Nullable protected ChunkBuilder.BuiltChunk getRenderedChunk(long sectionPos)
      Mappings:
      Namespace Name Mixin selector
      named getRenderedChunk Lnet/minecraft/client/render/BuiltChunkStorage;getRenderedChunk(J)Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;
      intermediary method_62963 Lnet/minecraft/class_769;method_62963(J)Lnet/minecraft/class_846$class_851;
      official a Lgmi;a(J)Lgox$b;
    • getRenderedChunk

      @Nullable private ChunkBuilder.BuiltChunk getRenderedChunk(int sectionX, int sectionY, int sectionZ)
      Mappings:
      Namespace Name Mixin selector
      named getRenderedChunk Lnet/minecraft/client/render/BuiltChunkStorage;getRenderedChunk(III)Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;
      intermediary method_62964 Lnet/minecraft/class_769;method_62964(III)Lnet/minecraft/class_846$class_851;
      official b Lgmi;b(III)Lgox$b;
    • isSectionWithinViewDistance

      private boolean isSectionWithinViewDistance(int sectionX, int sectionY, int sectionZ)
      Mappings:
      Namespace Name Mixin selector
      named isSectionWithinViewDistance Lnet/minecraft/client/render/BuiltChunkStorage;isSectionWithinViewDistance(III)Z
      intermediary method_62965 Lnet/minecraft/class_769;method_62965(III)Z
      official c Lgmi;c(III)Z