Class ChunkBuilder.BuiltChunk
java.lang.Object
net.minecraft.client.render.chunk.ChunkBuilder.BuiltChunk
- Enclosing class:
ChunkBuilder
- Mappings:
Namespace Name official fwg$b
intermediary net/minecraft/class_846$class_851
named net/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate class
private class
private class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set<BlockEntity>
private Box
private final Map<RenderLayer,
VertexBuffer> static final int
final int
private boolean
private boolean
private final BlockPos.Mutable[]
(package private) final AtomicInteger
(package private) final BlockPos.Mutable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
beginBufferBuilding
(BufferBuilder buffer) protected boolean
cancel()
void
private void
clear()
void
delete()
getBuffer
(RenderLayer layer) getData()
getNeighborPosition
(Direction direction) protected double
private boolean
isChunkNonEmpty
(BlockPos pos) boolean
method_52841
(int int2, int int3, int int4) boolean
boolean
void
rebuild
(ChunkRendererRegionBuilder builder) void
scheduleRebuild
(boolean important) void
scheduleRebuild
(ChunkBuilder chunkRenderer, ChunkRendererRegionBuilder builder) boolean
scheduleSort
(RenderLayer layer, ChunkBuilder chunkRenderer) (package private) void
setNoCullingBlockEntities
(Collection<BlockEntity> blockEntities) void
setOrigin
(int x, int y, int z) boolean
-
Field Details
-
field_32832
public static final int field_32832- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a:I
intermediary field_32832
Lnet/minecraft/class_846$class_851;field_32832:I
named field_32832
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;field_32832:I
-
index
public final int index- Mappings:
Namespace Name Mixin selector official b
Lfwg$b;b:I
intermediary field_29641
Lnet/minecraft/class_846$class_851;field_29641:I
named index
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;index:I
-
data
- Mappings:
Namespace Name Mixin selector official c
Lfwg$b;c:Ljava/util/concurrent/atomic/AtomicReference;
intermediary field_4459
Lnet/minecraft/class_846$class_851;field_4459:Ljava/util/concurrent/atomic/AtomicReference;
named data
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;data:Ljava/util/concurrent/atomic/AtomicReference;
-
numFailures
- Mappings:
Namespace Name Mixin selector official e
Lfwg$b;e:Ljava/util/concurrent/atomic/AtomicInteger;
intermediary field_36374
Lnet/minecraft/class_846$class_851;field_36374:Ljava/util/concurrent/atomic/AtomicInteger;
named numFailures
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;numFailures:Ljava/util/concurrent/atomic/AtomicInteger;
-
rebuildTask
- Mappings:
Namespace Name Mixin selector official f
Lfwg$b;f:Lfwg$b$b;
intermediary field_20834
Lnet/minecraft/class_846$class_851;field_20834:Lnet/minecraft/class_846$class_851$class_4578;
named rebuildTask
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;rebuildTask:Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$RebuildTask;
-
sortTask
- Mappings:
Namespace Name Mixin selector official g
Lfwg$b;g:Lfwg$b$c;
intermediary field_4461
Lnet/minecraft/class_846$class_851;field_4461:Lnet/minecraft/class_846$class_851$class_4579;
named sortTask
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;sortTask:Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$SortTask;
-
blockEntities
- Mappings:
Namespace Name Mixin selector official h
Lfwg$b;h:Ljava/util/Set;
intermediary field_4457
Lnet/minecraft/class_846$class_851;field_4457:Ljava/util/Set;
named blockEntities
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;blockEntities:Ljava/util/Set;
-
buffers
- Mappings:
Namespace Name Mixin selector official i
Lfwg$b;i:Ljava/util/Map;
intermediary field_4462
Lnet/minecraft/class_846$class_851;field_4462:Ljava/util/Map;
named buffers
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;buffers:Ljava/util/Map;
-
boundingBox
- Mappings:
Namespace Name Mixin selector official j
Lfwg$b;j:Lelo;
intermediary field_4458
Lnet/minecraft/class_846$class_851;field_4458:Lnet/minecraft/class_238;
named boundingBox
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;boundingBox:Lnet/minecraft/util/math/Box;
-
needsRebuild
private boolean needsRebuild- Mappings:
Namespace Name Mixin selector official k
Lfwg$b;k:Z
intermediary field_4464
Lnet/minecraft/class_846$class_851;field_4464:Z
named needsRebuild
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;needsRebuild:Z
-
origin
- Mappings:
Namespace Name Mixin selector official l
Lfwg$b;l:Lhx$a;
intermediary field_4467
Lnet/minecraft/class_846$class_851;field_4467:Lnet/minecraft/class_2338$class_2339;
named origin
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;origin:Lnet/minecraft/util/math/BlockPos$Mutable;
-
neighborPositions
- Mappings:
Namespace Name Mixin selector official m
Lfwg$b;m:[Lhx$a;
intermediary field_4472
Lnet/minecraft/class_846$class_851;field_4472:[Lnet/minecraft/class_2338$class_2339;
named neighborPositions
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;neighborPositions:[Lnet/minecraft/util/math/BlockPos$Mutable;
-
needsImportantRebuild
private boolean needsImportantRebuild- Mappings:
Namespace Name Mixin selector official n
Lfwg$b;n:Z
intermediary field_4463
Lnet/minecraft/class_846$class_851;field_4463:Z
named needsImportantRebuild
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;needsImportantRebuild:Z
-
-
Constructor Details
-
BuiltChunk
public BuiltChunk(int index, int originX, int originY, int originZ) - Mappings:
Namespace Name Mixin selector official <init>
Lfwg$b;<init>(Lfwg;IIII)V
intermediary <init>
Lnet/minecraft/class_846$class_851;<init>(Lnet/minecraft/class_846;IIII)V
named <init>
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;<init>(Lnet/minecraft/client/render/chunk/ChunkBuilder;IIII)V
-
-
Method Details
-
isChunkNonEmpty
- Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a(Lhx;)Z
intermediary method_3651
Lnet/minecraft/class_846$class_851;method_3651(Lnet/minecraft/class_2338;)Z
named isChunkNonEmpty
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;isChunkNonEmpty(Lnet/minecraft/util/math/BlockPos;)Z
-
shouldBuild
public boolean shouldBuild()- Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a()Z
intermediary method_3673
Lnet/minecraft/class_846$class_851;method_3673()Z
named shouldBuild
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;shouldBuild()Z
-
getBoundingBox
- Mappings:
Namespace Name Mixin selector official b
Lfwg$b;b()Lelo;
intermediary method_40051
Lnet/minecraft/class_846$class_851;method_40051()Lnet/minecraft/class_238;
named getBoundingBox
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getBoundingBox()Lnet/minecraft/util/math/Box;
-
getBuffer
- Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a(Lftp;)Leqe;
intermediary method_3656
Lnet/minecraft/class_846$class_851;method_3656(Lnet/minecraft/class_1921;)Lnet/minecraft/class_291;
named getBuffer
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getBuffer(Lnet/minecraft/client/render/RenderLayer;)Lnet/minecraft/client/gl/VertexBuffer;
-
setOrigin
public void setOrigin(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a(III)V
intermediary method_3653
Lnet/minecraft/class_846$class_851;method_3653(III)V
named setOrigin
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;setOrigin(III)V
-
getSquaredCameraDistance
protected double getSquaredCameraDistance()- Mappings:
Namespace Name Mixin selector official c
Lfwg$b;c()D
intermediary method_3668
Lnet/minecraft/class_846$class_851;method_3668()D
named getSquaredCameraDistance
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getSquaredCameraDistance()D
-
beginBufferBuilding
- Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a(Lepw;)V
intermediary method_3655
Lnet/minecraft/class_846$class_851;method_3655(Lnet/minecraft/class_287;)V
named beginBufferBuilding
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;beginBufferBuilding(Lnet/minecraft/client/render/BufferBuilder;)V
-
getData
- Mappings:
Namespace Name Mixin selector official d
Lfwg$b;d()Lfwg$a;
intermediary method_3677
Lnet/minecraft/class_846$class_851;method_3677()Lnet/minecraft/class_846$class_849;
named getData
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getData()Lnet/minecraft/client/render/chunk/ChunkBuilder$ChunkData;
-
clear
private void clear()- Mappings:
Namespace Name Mixin selector official k
Lfwg$b;k()V
intermediary method_3675
Lnet/minecraft/class_846$class_851;method_3675()V
named clear
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;clear()V
-
delete
public void delete()- Mappings:
Namespace Name Mixin selector official e
Lfwg$b;e()V
intermediary method_3659
Lnet/minecraft/class_846$class_851;method_3659()V
named delete
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;delete()V
-
getOrigin
- Mappings:
Namespace Name Mixin selector official f
Lfwg$b;f()Lhx;
intermediary method_3670
Lnet/minecraft/class_846$class_851;method_3670()Lnet/minecraft/class_2338;
named getOrigin
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getOrigin()Lnet/minecraft/util/math/BlockPos;
-
scheduleRebuild
public void scheduleRebuild(boolean important) - Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a(Z)V
intermediary method_3654
Lnet/minecraft/class_846$class_851;method_3654(Z)V
named scheduleRebuild
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;scheduleRebuild(Z)V
-
cancelRebuild
public void cancelRebuild()- Mappings:
Namespace Name Mixin selector official g
Lfwg$b;g()V
intermediary method_3662
Lnet/minecraft/class_846$class_851;method_3662()V
named cancelRebuild
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;cancelRebuild()V
-
needsRebuild
public boolean needsRebuild()- Mappings:
Namespace Name Mixin selector official h
Lfwg$b;h()Z
intermediary method_3672
Lnet/minecraft/class_846$class_851;method_3672()Z
named needsRebuild
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;needsRebuild()Z
-
needsImportantRebuild
public boolean needsImportantRebuild()- Mappings:
Namespace Name Mixin selector official i
Lfwg$b;i()Z
intermediary method_3661
Lnet/minecraft/class_846$class_851;method_3661()Z
named needsImportantRebuild
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;needsImportantRebuild()Z
-
getNeighborPosition
- Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a(Lic;)Lhx;
intermediary method_3676
Lnet/minecraft/class_846$class_851;method_3676(Lnet/minecraft/class_2350;)Lnet/minecraft/class_2338;
named getNeighborPosition
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;getNeighborPosition(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/BlockPos;
-
scheduleSort
- Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a(Lftp;Lfwg;)Z
intermediary method_22773
Lnet/minecraft/class_846$class_851;method_22773(Lnet/minecraft/class_1921;Lnet/minecraft/class_846;)Z
named scheduleSort
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;scheduleSort(Lnet/minecraft/client/render/RenderLayer;Lnet/minecraft/client/render/chunk/ChunkBuilder;)Z
-
cancel
protected boolean cancel()- Mappings:
Namespace Name Mixin selector official j
Lfwg$b;j()Z
intermediary method_3663
Lnet/minecraft/class_846$class_851;method_3663()Z
named cancel
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;cancel()Z
-
createRebuildTask
- Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a(Lfwf;)Lfwg$b$a;
intermediary method_3674
Lnet/minecraft/class_846$class_851;method_3674(Lnet/minecraft/class_6850;)Lnet/minecraft/class_846$class_851$class_4577;
named createRebuildTask
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;createRebuildTask(Lnet/minecraft/client/render/chunk/ChunkRendererRegionBuilder;)Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk$Task;
-
scheduleRebuild
- Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a(Lfwg;Lfwf;)V
intermediary method_22777
Lnet/minecraft/class_846$class_851;method_22777(Lnet/minecraft/class_846;Lnet/minecraft/class_6850;)V
named scheduleRebuild
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;scheduleRebuild(Lnet/minecraft/client/render/chunk/ChunkBuilder;Lnet/minecraft/client/render/chunk/ChunkRendererRegionBuilder;)V
-
setNoCullingBlockEntities
- Mappings:
Namespace Name Mixin selector official a
Lfwg$b;a(Ljava/util/Collection;)V
intermediary method_22778
Lnet/minecraft/class_846$class_851;method_22778(Ljava/util/Collection;)V
named setNoCullingBlockEntities
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;setNoCullingBlockEntities(Ljava/util/Collection;)V
-
rebuild
- Mappings:
Namespace Name Mixin selector official b
Lfwg$b;b(Lfwf;)V
intermediary method_22781
Lnet/minecraft/class_846$class_851;method_22781(Lnet/minecraft/class_6850;)V
named rebuild
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;rebuild(Lnet/minecraft/client/render/chunk/ChunkRendererRegionBuilder;)V
-
method_52841
public boolean method_52841(int int2, int int3, int int4) - Mappings:
Namespace Name Mixin selector official b
Lfwg$b;b(III)Z
intermediary method_52841
Lnet/minecraft/class_846$class_851;method_52841(III)Z
named method_52841
Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;method_52841(III)Z
-