Class ChunkBuilder.BuiltChunk

java.lang.Object
net.minecraft.client.render.chunk.ChunkBuilder.BuiltChunk
Enclosing class:
ChunkBuilder

@Environment(CLIENT) public class ChunkBuilder.BuiltChunk extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk
intermediary net/minecraft/class_846$class_851
official gia$b
  • Field Details

    • field_32832

      public static final int field_32832
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_32832 Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;field_32832:I
      intermediary field_32832 Lnet/minecraft/class_846$class_851;field_32832:I
      official a Lgia$b;a:I
    • index

      public final int index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;index:I
      intermediary field_29641 Lnet/minecraft/class_846$class_851;field_29641:I
      official b Lgia$b;b:I
    • data

      Mappings:
      Namespace Name Mixin selector
      named data Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;data:Ljava/util/concurrent/atomic/AtomicReference;
      intermediary field_4459 Lnet/minecraft/class_846$class_851;field_4459:Ljava/util/concurrent/atomic/AtomicReference;
      official c Lgia$b;c:Ljava/util/concurrent/atomic/AtomicReference;
    • numFailures

      private final AtomicInteger numFailures
      Mappings:
      Namespace Name Mixin selector
      named numFailures Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;numFailures:Ljava/util/concurrent/atomic/AtomicInteger;
      intermediary field_36374 Lnet/minecraft/class_846$class_851;field_36374:Ljava/util/concurrent/atomic/AtomicInteger;
      official e Lgia$b;e:Ljava/util/concurrent/atomic/AtomicInteger;
    • rebuildTask

      Mappings:
      Namespace Name Mixin selector
      named rebuildTask Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;rebuildTask:Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$RebuildTask;
      intermediary field_20834 Lnet/minecraft/class_846$class_851;field_20834:Lnet/minecraft/class_846$class_851$class_4578;
      official f Lgia$b;f:Lgia$b$b;
    • sortTask

      Mappings:
      Namespace Name Mixin selector
      named sortTask Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;sortTask:Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$SortTask;
      intermediary field_4461 Lnet/minecraft/class_846$class_851;field_4461:Lnet/minecraft/class_846$class_851$class_4579;
      official g Lgia$b;g:Lgia$b$c;
    • blockEntities

      private final Set<BlockEntity> blockEntities
      Mappings:
      Namespace Name Mixin selector
      named blockEntities Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;blockEntities:Ljava/util/Set;
      intermediary field_4457 Lnet/minecraft/class_846$class_851;field_4457:Ljava/util/Set;
      official h Lgia$b;h:Ljava/util/Set;
    • buffers

      private final Map<RenderLayer,VertexBuffer> buffers
      Mappings:
      Namespace Name Mixin selector
      named buffers Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;buffers:Ljava/util/Map;
      intermediary field_4462 Lnet/minecraft/class_846$class_851;field_4462:Ljava/util/Map;
      official i Lgia$b;i:Ljava/util/Map;
    • boundingBox

      private Box boundingBox
      Mappings:
      Namespace Name Mixin selector
      named boundingBox Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;boundingBox:Lnet/minecraft/util/math/Box;
      intermediary field_4458 Lnet/minecraft/class_846$class_851;field_4458:Lnet/minecraft/class_238;
      official j Lgia$b;j:Lewx;
    • needsRebuild

      private boolean needsRebuild
      Mappings:
      Namespace Name Mixin selector
      named needsRebuild Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;needsRebuild:Z
      intermediary field_4464 Lnet/minecraft/class_846$class_851;field_4464:Z
      official k Lgia$b;k:Z
    • origin

      final BlockPos.Mutable origin
      Mappings:
      Namespace Name Mixin selector
      named origin Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;origin:Lnet/minecraft/util/math/BlockPos$Mutable;
      intermediary field_4467 Lnet/minecraft/class_846$class_851;field_4467:Lnet/minecraft/class_2338$class_2339;
      official l Lgia$b;l:Ljd$a;
    • neighborPositions

      private final BlockPos.Mutable[] neighborPositions
      Mappings:
      Namespace Name Mixin selector
      named neighborPositions Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;neighborPositions:[Lnet/minecraft/util/math/BlockPos$Mutable;
      intermediary field_4472 Lnet/minecraft/class_846$class_851;field_4472:[Lnet/minecraft/class_2338$class_2339;
      official m Lgia$b;m:[Ljd$a;
    • needsImportantRebuild

      private boolean needsImportantRebuild
      Mappings:
      Namespace Name Mixin selector
      named needsImportantRebuild Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;needsImportantRebuild:Z
      intermediary field_4463 Lnet/minecraft/class_846$class_851;field_4463:Z
      official n Lgia$b;n:Z
  • Constructor Details

    • BuiltChunk

      public BuiltChunk(int index, int originX, int originY, int originZ)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;<init>(Lnet/minecraft/client/render/chunk/ChunkBuilder;IIII)V
      intermediary <init> Lnet/minecraft/class_846$class_851;<init>(Lnet/minecraft/class_846;IIII)V
      official <init> Lgia$b;<init>(Lgia;IIII)V
  • Method Details

    • isChunkNonEmpty

      private boolean isChunkNonEmpty(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isChunkNonEmpty Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;isChunkNonEmpty(Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_3651 Lnet/minecraft/class_846$class_851;method_3651(Lnet/minecraft/class_2338;)Z
      official a Lgia$b;a(Ljd;)Z
    • shouldBuild

      public boolean shouldBuild()
      Mappings:
      Namespace Name Mixin selector
      named shouldBuild Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;shouldBuild()Z
      intermediary method_3673 Lnet/minecraft/class_846$class_851;method_3673()Z
      official a Lgia$b;a()Z
    • getBoundingBox

      public Box getBoundingBox()
      Mappings:
      Namespace Name Mixin selector
      named getBoundingBox Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getBoundingBox()Lnet/minecraft/util/math/Box;
      intermediary method_40051 Lnet/minecraft/class_846$class_851;method_40051()Lnet/minecraft/class_238;
      official b Lgia$b;b()Lewx;
    • getBuffer

      public VertexBuffer getBuffer(RenderLayer layer)
      Mappings:
      Namespace Name Mixin selector
      named getBuffer Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getBuffer(Lnet/minecraft/client/render/RenderLayer;)Lnet/minecraft/client/gl/VertexBuffer;
      intermediary method_3656 Lnet/minecraft/class_846$class_851;method_3656(Lnet/minecraft/class_1921;)Lnet/minecraft/class_291;
      official a Lgia$b;a(Lgfh;)Lfbl;
    • setOrigin

      public void setOrigin(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named setOrigin Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;setOrigin(III)V
      intermediary method_3653 Lnet/minecraft/class_846$class_851;method_3653(III)V
      official a Lgia$b;a(III)V
    • getSquaredCameraDistance

      protected double getSquaredCameraDistance()
      Mappings:
      Namespace Name Mixin selector
      named getSquaredCameraDistance Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getSquaredCameraDistance()D
      intermediary method_3668 Lnet/minecraft/class_846$class_851;method_3668()D
      official c Lgia$b;c()D
    • getData

      public ChunkBuilder.ChunkData getData()
      Mappings:
      Namespace Name Mixin selector
      named getData Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getData()Lnet/minecraft/client/render/chunk/ChunkBuilder$ChunkData;
      intermediary method_3677 Lnet/minecraft/class_846$class_851;method_3677()Lnet/minecraft/class_846$class_849;
      official d Lgia$b;d()Lgia$a;
    • clear

      private void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;clear()V
      intermediary method_3675 Lnet/minecraft/class_846$class_851;method_3675()V
      official k Lgia$b;k()V
    • delete

      public void delete()
      Mappings:
      Namespace Name Mixin selector
      named delete Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;delete()V
      intermediary method_3659 Lnet/minecraft/class_846$class_851;method_3659()V
      official e Lgia$b;e()V
    • getOrigin

      public BlockPos getOrigin()
      Mappings:
      Namespace Name Mixin selector
      named getOrigin Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getOrigin()Lnet/minecraft/util/math/BlockPos;
      intermediary method_3670 Lnet/minecraft/class_846$class_851;method_3670()Lnet/minecraft/class_2338;
      official f Lgia$b;f()Ljd;
    • scheduleRebuild

      public void scheduleRebuild(boolean important)
      Mappings:
      Namespace Name Mixin selector
      named scheduleRebuild Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;scheduleRebuild(Z)V
      intermediary method_3654 Lnet/minecraft/class_846$class_851;method_3654(Z)V
      official a Lgia$b;a(Z)V
    • cancelRebuild

      public void cancelRebuild()
      Mappings:
      Namespace Name Mixin selector
      named cancelRebuild Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;cancelRebuild()V
      intermediary method_3662 Lnet/minecraft/class_846$class_851;method_3662()V
      official g Lgia$b;g()V
    • needsRebuild

      public boolean needsRebuild()
      Mappings:
      Namespace Name Mixin selector
      named needsRebuild Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;needsRebuild()Z
      intermediary method_3672 Lnet/minecraft/class_846$class_851;method_3672()Z
      official h Lgia$b;h()Z
    • needsImportantRebuild

      public boolean needsImportantRebuild()
      Mappings:
      Namespace Name Mixin selector
      named needsImportantRebuild Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;needsImportantRebuild()Z
      intermediary method_3661 Lnet/minecraft/class_846$class_851;method_3661()Z
      official i Lgia$b;i()Z
    • getNeighborPosition

      public BlockPos getNeighborPosition(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      named getNeighborPosition Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getNeighborPosition(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/BlockPos;
      intermediary method_3676 Lnet/minecraft/class_846$class_851;method_3676(Lnet/minecraft/class_2350;)Lnet/minecraft/class_2338;
      official a Lgia$b;a(Lji;)Ljd;
    • scheduleSort

      public boolean scheduleSort(RenderLayer layer, ChunkBuilder chunkRenderer)
      Mappings:
      Namespace Name Mixin selector
      named scheduleSort Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;scheduleSort(Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/client/render/chunk/ChunkBuilder;)Z
      intermediary method_22773 Lnet/minecraft/class_846$class_851;method_22773(Lnet/minecraft/class_1921;Lnet/minecraft/class_846;)Z
      official a Lgia$b;a(Lgfh;Lgia;)Z
    • cancel

      protected boolean cancel()
      Mappings:
      Namespace Name Mixin selector
      named cancel Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;cancel()Z
      intermediary method_3663 Lnet/minecraft/class_846$class_851;method_3663()Z
      official j Lgia$b;j()Z
    • createRebuildTask

      public ChunkBuilder.BuiltChunk.Task createRebuildTask(ChunkRendererRegionBuilder chunkRendererRegionBuilder)
      Mappings:
      Namespace Name Mixin selector
      named createRebuildTask Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;createRebuildTask(Lnet/minecraft/client/render/chunk/ChunkRendererRegionBuilder;)Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;
      intermediary method_3674 Lnet/minecraft/class_846$class_851;method_3674(Lnet/minecraft/class_6850;)Lnet/minecraft/class_846$class_851$class_4577;
      official a Lgia$b;a(Lghy;)Lgia$b$a;
    • scheduleRebuild

      public void scheduleRebuild(ChunkBuilder chunkRenderer, ChunkRendererRegionBuilder builder)
      Mappings:
      Namespace Name Mixin selector
      named scheduleRebuild Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;scheduleRebuild(Lnet/minecraft/client/render/chunk/ChunkBuilder;Lnet/minecraft/client/render/chunk/ChunkRendererRegionBuilder;)V
      intermediary method_22777 Lnet/minecraft/class_846$class_851;method_22777(Lnet/minecraft/class_846;Lnet/minecraft/class_6850;)V
      official a Lgia$b;a(Lgia;Lghy;)V
    • setNoCullingBlockEntities

      void setNoCullingBlockEntities(Collection<BlockEntity> blockEntities)
      Mappings:
      Namespace Name Mixin selector
      named setNoCullingBlockEntities Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;setNoCullingBlockEntities(Ljava/util/Collection;)V
      intermediary method_22778 Lnet/minecraft/class_846$class_851;method_22778(Ljava/util/Collection;)V
      official a Lgia$b;a(Ljava/util/Collection;)V
    • rebuild

      public void rebuild(ChunkRendererRegionBuilder builder)
      Mappings:
      Namespace Name Mixin selector
      named rebuild Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;rebuild(Lnet/minecraft/client/render/chunk/ChunkRendererRegionBuilder;)V
      intermediary method_22781 Lnet/minecraft/class_846$class_851;method_22781(Lnet/minecraft/class_6850;)V
      official b Lgia$b;b(Lghy;)V
    • method_52841

      public boolean method_52841(int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      named method_52841 Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;method_52841(III)Z
      intermediary method_52841 Lnet/minecraft/class_846$class_851;method_52841(III)Z
      official b Lgia$b;b(III)Z
    • method_60908

      void method_60908(ChunkBuilder.ChunkData chunkData)
      Mappings:
      Namespace Name Mixin selector
      named method_60908 Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;method_60908(Lnet/minecraft/client/render/chunk/ChunkBuilder$ChunkData;)V
      intermediary method_60908 Lnet/minecraft/class_846$class_851;method_60908(Lnet/minecraft/class_846$class_849;)V
      official a Lgia$b;a(Lgia$a;)V
    • method_60909

      VertexSorter method_60909()
      Mappings:
      Namespace Name Mixin selector
      named method_60909 Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;method_60909()Lcom/mojang/blaze3d/systems/VertexSorter;
      intermediary method_60909 Lnet/minecraft/class_846$class_851;method_60909()Lnet/minecraft/class_8251;
      official l Lgia$b;l()Lfbq;