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 ghf$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 Lghf$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 Lghf$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 Lghf$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 Lghf$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 Lghf$b;f:Lghf$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 Lghf$b;g:Lghf$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 Lghf$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 Lghf$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 Lghf$b;j:Lewc;
    • 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 Lghf$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 Lghf$b;l:Lja$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 Lghf$b;m:[Lja$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 Lghf$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> Lghf$b;<init>(Lghf;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 Lghf$b;a(Lja;)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 Lghf$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 Lghf$b;b()Lewc;
    • 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 Lghf$b;a(Lgen;)Lfar;
    • 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 Lghf$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 Lghf$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 Lghf$b;a(Lfaj;)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 Lghf$b;d()Lghf$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 Lghf$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 Lghf$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 Lghf$b;f()Lja;
    • 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 Lghf$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 Lghf$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 Lghf$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 Lghf$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 Lghf$b;a(Ljf;)Lja;
    • 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 Lghf$b;a(Lgen;Lghf;)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 Lghf$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 Lghf$b;a(Lghe;)Lghf$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 Lghf$b;a(Lghf;Lghe;)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 Lghf$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 Lghf$b;b(Lghe;)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 Lghf$b;b(III)Z