Package net.minecraft.client.render
Class BuiltChunkStorage
java.lang.Object
net.minecraft.client.render.BuiltChunkStorage
- Mappings:
Namespace Name named net/minecraft/client/render/BuiltChunkStorageintermediary net/minecraft/class_769official hhb
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChunkSectionPosprotected intprotected intprotected intprivate intprotected final Worldprotected final WorldRenderer -
Constructor Summary
ConstructorsConstructorDescriptionBuiltChunkStorage(ChunkBuilder chunkBuilder, World world, int viewDistance, WorldRenderer worldRenderer) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()protected voidcreateChunks(ChunkBuilder chunkBuilder) private intgetChunkIndex(int x, int y, int z) private ChunkBuilder.BuiltChunkgetRenderedChunk(int sectionX, int sectionY, int sectionZ) protected ChunkBuilder.BuiltChunkgetRenderedChunk(long sectionPos) protected ChunkBuilder.BuiltChunkgetRenderedChunk(BlockPos blockPos) intgetWorld()private booleanisSectionWithinViewDistance(int sectionX, int sectionY, int sectionZ) voidscheduleRebuild(int x, int y, int z, boolean important) protected voidsetViewDistance(int viewDistance) voidupdateCameraPosition(ChunkSectionPos sectionPos)
-
Field Details
-
worldRenderer
- Mappings:
Namespace Name Mixin selector named worldRendererLnet/minecraft/client/render/BuiltChunkStorage;worldRenderer:Lnet/minecraft/client/render/WorldRenderer;intermediary field_4146Lnet/minecraft/class_769;field_4146:Lnet/minecraft/class_761;official aLhhb;a:Lhfq;
-
world
- Mappings:
Namespace Name Mixin selector named worldLnet/minecraft/client/render/BuiltChunkStorage;world:Lnet/minecraft/world/World;intermediary field_4151Lnet/minecraft/class_769;field_4151:Lnet/minecraft/class_1937;official bLhhb;b:Ldrq;
-
sizeY
protected int sizeY- Mappings:
Namespace Name Mixin selector named sizeYLnet/minecraft/client/render/BuiltChunkStorage;sizeY:Iintermediary field_4149Lnet/minecraft/class_769;field_4149:Iofficial cLhhb;c:I
-
sizeX
protected int sizeX- Mappings:
Namespace Name Mixin selector named sizeXLnet/minecraft/client/render/BuiltChunkStorage;sizeX:Iintermediary field_4148Lnet/minecraft/class_769;field_4148:Iofficial dLhhb;d:I
-
sizeZ
protected int sizeZ- Mappings:
Namespace Name Mixin selector named sizeZLnet/minecraft/client/render/BuiltChunkStorage;sizeZ:Iintermediary field_4147Lnet/minecraft/class_769;field_4147:Iofficial eLhhb;e:I
-
viewDistance
private int viewDistance- Mappings:
Namespace Name Mixin selector named viewDistanceLnet/minecraft/client/render/BuiltChunkStorage;viewDistance:Iintermediary field_45629Lnet/minecraft/class_769;field_45629:Iofficial gLhhb;g:I
-
sectionPos
- Mappings:
Namespace Name Mixin selector named sectionPosLnet/minecraft/client/render/BuiltChunkStorage;sectionPos:Lnet/minecraft/util/math/ChunkSectionPos;intermediary field_53952Lnet/minecraft/class_769;field_53952:Lnet/minecraft/class_4076;official hLhhb;h:Lkd;
-
chunks
- Mappings:
Namespace Name Mixin selector named chunksLnet/minecraft/client/render/BuiltChunkStorage;chunks:[Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;intermediary field_4150Lnet/minecraft/class_769;field_4150:[Lnet/minecraft/class_846$class_851;official fLhhb;f:[Lhlc$a;
-
-
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;)Vintermediary <init>Lnet/minecraft/class_769;<init>(Lnet/minecraft/class_846;Lnet/minecraft/class_1937;ILnet/minecraft/class_761;)Vofficial <init>Lhhb;<init>(Lhlc;Ldrq;ILhfq;)V
-
-
Method Details
-
createChunks
- Mappings:
Namespace Name Mixin selector named createChunksLnet/minecraft/client/render/BuiltChunkStorage;createChunks(Lnet/minecraft/client/render/chunk/ChunkBuilder;)Vintermediary method_3324Lnet/minecraft/class_769;method_3324(Lnet/minecraft/class_846;)Vofficial aLhhb;a(Lhlc;)V
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector named clearLnet/minecraft/client/render/BuiltChunkStorage;clear()Vintermediary method_3327Lnet/minecraft/class_769;method_3327()Vofficial aLhhb;a()V
-
getChunkIndex
private int getChunkIndex(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named getChunkIndexLnet/minecraft/client/render/BuiltChunkStorage;getChunkIndex(III)Iintermediary method_3326Lnet/minecraft/class_769;method_3326(III)Iofficial aLhhb;a(III)I
-
setViewDistance
protected void setViewDistance(int viewDistance) - Mappings:
Namespace Name Mixin selector named setViewDistanceLnet/minecraft/client/render/BuiltChunkStorage;setViewDistance(I)Vintermediary method_3325Lnet/minecraft/class_769;method_3325(I)Vofficial aLhhb;a(I)V
-
getViewDistance
public int getViewDistance()- Mappings:
Namespace Name Mixin selector named getViewDistanceLnet/minecraft/client/render/BuiltChunkStorage;getViewDistance()Iintermediary method_52839Lnet/minecraft/class_769;method_52839()Iofficial bLhhb;b()I
-
getWorld
- Mappings:
Namespace Name Mixin selector named getWorldLnet/minecraft/client/render/BuiltChunkStorage;getWorld()Lnet/minecraft/world/HeightLimitView;intermediary method_52840Lnet/minecraft/class_769;method_52840()Lnet/minecraft/class_5539;official cLhhb;c()Ldrs;
-
updateCameraPosition
- Mappings:
Namespace Name Mixin selector named updateCameraPositionLnet/minecraft/client/render/BuiltChunkStorage;updateCameraPosition(Lnet/minecraft/util/math/ChunkSectionPos;)Vintermediary method_3330Lnet/minecraft/class_769;method_3330(Lnet/minecraft/class_4076;)Vofficial aLhhb;a(Lkd;)V
-
getSectionPos
- Mappings:
Namespace Name Mixin selector named getSectionPosLnet/minecraft/client/render/BuiltChunkStorage;getSectionPos()Lnet/minecraft/util/math/ChunkSectionPos;intermediary method_62966Lnet/minecraft/class_769;method_62966()Lnet/minecraft/class_4076;official dLhhb;d()Lkd;
-
scheduleRebuild
public void scheduleRebuild(int x, int y, int z, boolean important) - Mappings:
Namespace Name Mixin selector named scheduleRebuildLnet/minecraft/client/render/BuiltChunkStorage;scheduleRebuild(IIIZ)Vintermediary method_16040Lnet/minecraft/class_769;method_16040(IIIZ)Vofficial aLhhb;a(IIIZ)V
-
getRenderedChunk
- Mappings:
Namespace Name Mixin selector named getRenderedChunkLnet/minecraft/client/render/BuiltChunkStorage;getRenderedChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;intermediary method_3323Lnet/minecraft/class_769;method_3323(Lnet/minecraft/class_2338;)Lnet/minecraft/class_846$class_851;official aLhhb;a(Lja;)Lhlc$a;
-
getRenderedChunk
- Mappings:
Namespace Name Mixin selector named getRenderedChunkLnet/minecraft/client/render/BuiltChunkStorage;getRenderedChunk(J)Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;intermediary method_62963Lnet/minecraft/class_769;method_62963(J)Lnet/minecraft/class_846$class_851;official aLhhb;a(J)Lhlc$a;
-
getRenderedChunk
@Nullable private ChunkBuilder.BuiltChunk getRenderedChunk(int sectionX, int sectionY, int sectionZ) - Mappings:
Namespace Name Mixin selector named getRenderedChunkLnet/minecraft/client/render/BuiltChunkStorage;getRenderedChunk(III)Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;intermediary method_62964Lnet/minecraft/class_769;method_62964(III)Lnet/minecraft/class_846$class_851;official bLhhb;b(III)Lhlc$a;
-
isSectionWithinViewDistance
private boolean isSectionWithinViewDistance(int sectionX, int sectionY, int sectionZ) - Mappings:
Namespace Name Mixin selector named isSectionWithinViewDistanceLnet/minecraft/client/render/BuiltChunkStorage;isSectionWithinViewDistance(III)Zintermediary method_62965Lnet/minecraft/class_769;method_62965(III)Zofficial cLhhb;c(III)Z
-