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 hld
-
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 @Nullable ChunkBuilder.BuiltChunkgetRenderedChunk(int sectionX, int sectionY, int sectionZ) protected @Nullable ChunkBuilder.BuiltChunkgetRenderedChunk(long sectionPos) protected @Nullable 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 aLhld;a:Lhju;
-
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 bLhld;b:Ldva;
-
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 cLhld;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 dLhld;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 eLhld;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 gLhld;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 hLhld;h:Ljy;
-
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 fLhld;f:[Lhpe$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>Lhld;<init>(Lhpe;Ldva;ILhju;)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 aLhld;a(Lhpe;)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 aLhld;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 aLhld;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 aLhld;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 bLhld;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 cLhld;c()Ldvc;
-
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 aLhld;a(Ljy;)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 dLhld;d()Ljy;
-
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 aLhld;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 aLhld;a(Liv;)Lhpe$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 aLhld;a(J)Lhpe$a;
-
getRenderedChunk
private @Nullable 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 bLhld;b(III)Lhpe$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 cLhld;c(III)Z
-