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 ggp$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 Lggp$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 Lggp$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 Lggp$b;c:Ljava/util/concurrent/atomic/AtomicReference;
    • numFailures

      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 Lggp$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 Lggp$b;f:Lggp$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 Lggp$b;g:Lggp$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 Lggp$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 Lggp$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 Lggp$b;j:Levn;
    • 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 Lggp$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 Lggp$b;l:Liz$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 Lggp$b;m:[Liz$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 Lggp$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> Lggp$b;<init>(Lggp;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 Lggp$b;a(Liz;)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 Lggp$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 Lggp$b;b()Levn;
    • 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 Lggp$b;a(Lgdx;)Lfac;
    • 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 Lggp$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 Lggp$b;c()D
    • beginBufferBuilding

      void beginBufferBuilding(BufferBuilder buffer)
      Mappings:
      Namespace Name Mixin selector
      named beginBufferBuilding Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;beginBufferBuilding(Lnet/minecraft/client/render/BufferBuilder;)V
      intermediary method_3655 Lnet/minecraft/class_846$class_851;method_3655(Lnet/minecraft/class_287;)V
      official a Lggp$b;a(Lezu;)V
    • 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 Lggp$b;d()Lggp$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 Lggp$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 Lggp$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 Lggp$b;f()Liz;
    • 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 Lggp$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 Lggp$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 Lggp$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 Lggp$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 Lggp$b;a(Lje;)Liz;
    • 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 Lggp$b;a(Lgdx;Lggp;)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 Lggp$b;j()Z
    • createRebuildTask

      public ChunkBuilder.BuiltChunk.Task createRebuildTask(ChunkRendererRegionBuilder builder)
      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 Lggp$b;a(Lggo;)Lggp$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 Lggp$b;a(Lggp;Lggo;)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 Lggp$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 Lggp$b;b(Lggo;)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 Lggp$b;b(III)Z