Package net.minecraft.world.chunk
Class ChunkSection
java.lang.Object
net.minecraft.world.chunk.ChunkSection
- Mappings:
Namespace Name official aupintermediary net/minecraft/class_1197named net/minecraft/world/chunk/ChunkSection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChunkNibbleArrayprivate intprivate final class_2743private ChunkNibbleArrayprivate intprivate final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintgetBlockLight(int x, int y, int z) getBlockState(int x, int y, int z) intgetSkyLight(int x, int y, int z) intbooleanbooleanisEmpty()voidsetBlockLight(int x, int y, int z, int light) voidsetBlockLight(ChunkNibbleArray blockLight) voidsetBlockState(int x, int y, int z, BlockState state) voidsetSkyLight(int x, int y, int z, int light) voidsetSkyLight(ChunkNibbleArray skyLight)
-
Field Details
-
yOffset
private final int yOffset- Mappings:
Namespace Name Mixin selector official aLaup;a:Iintermediary field_4744Lnet/minecraft/class_1197;field_4744:Inamed yOffsetLnet/minecraft/world/chunk/ChunkSection;yOffset:I
-
containedBlockCount
private int containedBlockCount- Mappings:
Namespace Name Mixin selector official bLaup;b:Iintermediary field_4745Lnet/minecraft/class_1197;field_4745:Inamed containedBlockCountLnet/minecraft/world/chunk/ChunkSection;containedBlockCount:I
-
tickableBlockCount
private int tickableBlockCount- Mappings:
Namespace Name Mixin selector official cLaup;c:Iintermediary field_4746Lnet/minecraft/class_1197;field_4746:Inamed tickableBlockCountLnet/minecraft/world/chunk/ChunkSection;tickableBlockCount:I
-
field_12914
- Mappings:
Namespace Name Mixin selector official dLaup;d:Lauh;intermediary field_12914Lnet/minecraft/class_1197;field_12914:Lnet/minecraft/class_2743;named field_12914Lnet/minecraft/world/chunk/ChunkSection;field_12914:Lnet/minecraft/class_2743;
-
blockLight
- Mappings:
Namespace Name Mixin selector official eLaup;e:Lauk;intermediary field_4750Lnet/minecraft/class_1197;field_4750:Lnet/minecraft/class_1194;named blockLightLnet/minecraft/world/chunk/ChunkSection;blockLight:Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
skyLight
- Mappings:
Namespace Name Mixin selector official fLaup;f:Lauk;intermediary field_4751Lnet/minecraft/class_1197;field_4751:Lnet/minecraft/class_1194;named skyLightLnet/minecraft/world/chunk/ChunkSection;skyLight:Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
-
Constructor Details
-
ChunkSection
public ChunkSection(int yOffset, boolean skyLightEnabled) - Mappings:
Namespace Name Mixin selector official <init>Laup;<init>(IZ)Vintermediary <init>Lnet/minecraft/class_1197;<init>(IZ)Vnamed <init>Lnet/minecraft/world/chunk/ChunkSection;<init>(IZ)V
-
-
Method Details
-
getBlockState
- Mappings:
Namespace Name Mixin selector official aLaup;a(III)Latl;intermediary method_9170Lnet/minecraft/class_1197;method_9170(III)Lnet/minecraft/class_2232;named getBlockStateLnet/minecraft/world/chunk/ChunkSection;getBlockState(III)Lnet/minecraft/block/BlockState;
-
setBlockState
- Mappings:
Namespace Name Mixin selector official aLaup;a(IIILatl;)Vintermediary method_9171Lnet/minecraft/class_1197;method_9171(IIILnet/minecraft/class_2232;)Vnamed setBlockStateLnet/minecraft/world/chunk/ChunkSection;setBlockState(IIILnet/minecraft/block/BlockState;)V
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official aLaup;a()Zintermediary method_3925Lnet/minecraft/class_1197;method_3925()Znamed isEmptyLnet/minecraft/world/chunk/ChunkSection;isEmpty()Z
-
hasTickableBlocks
public boolean hasTickableBlocks()- Mappings:
Namespace Name Mixin selector official bLaup;b()Zintermediary method_3930Lnet/minecraft/class_1197;method_3930()Znamed hasTickableBlocksLnet/minecraft/world/chunk/ChunkSection;hasTickableBlocks()Z
-
getYOffset
public int getYOffset()- Mappings:
Namespace Name Mixin selector official dLaup;d()Iintermediary method_3937Lnet/minecraft/class_1197;method_3937()Inamed getYOffsetLnet/minecraft/world/chunk/ChunkSection;getYOffset()I
-
setSkyLight
public void setSkyLight(int x, int y, int z, int light) - Mappings:
Namespace Name Mixin selector official aLaup;a(IIII)Vintermediary method_3935Lnet/minecraft/class_1197;method_3935(IIII)Vnamed setSkyLightLnet/minecraft/world/chunk/ChunkSection;setSkyLight(IIII)V
-
getSkyLight
public int getSkyLight(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official bLaup;b(III)Iintermediary method_3934Lnet/minecraft/class_1197;method_3934(III)Inamed getSkyLightLnet/minecraft/world/chunk/ChunkSection;getSkyLight(III)I
-
setBlockLight
public void setBlockLight(int x, int y, int z, int light) - Mappings:
Namespace Name Mixin selector official bLaup;b(IIII)Vintermediary method_3939Lnet/minecraft/class_1197;method_3939(IIII)Vnamed setBlockLightLnet/minecraft/world/chunk/ChunkSection;setBlockLight(IIII)V
-
getBlockLight
public int getBlockLight(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official cLaup;c(III)Iintermediary method_3938Lnet/minecraft/class_1197;method_3938(III)Inamed getBlockLightLnet/minecraft/world/chunk/ChunkSection;getBlockLight(III)I
-
calculateCounts
public void calculateCounts()- Mappings:
Namespace Name Mixin selector official eLaup;e()Vintermediary method_3941Lnet/minecraft/class_1197;method_3941()Vnamed calculateCountsLnet/minecraft/world/chunk/ChunkSection;calculateCounts()V
-
method_11774
- Mappings:
Namespace Name Mixin selector official gLaup;g()Lauh;intermediary method_11774Lnet/minecraft/class_1197;method_11774()Lnet/minecraft/class_2743;named method_11774Lnet/minecraft/world/chunk/ChunkSection;method_11774()Lnet/minecraft/class_2743;
-
getBlockLight
- Mappings:
Namespace Name Mixin selector official hLaup;h()Lauk;intermediary method_3946Lnet/minecraft/class_1197;method_3946()Lnet/minecraft/class_1194;named getBlockLightLnet/minecraft/world/chunk/ChunkSection;getBlockLight()Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
getSkyLight
- Mappings:
Namespace Name Mixin selector official iLaup;i()Lauk;intermediary method_3947Lnet/minecraft/class_1197;method_3947()Lnet/minecraft/class_1194;named getSkyLightLnet/minecraft/world/chunk/ChunkSection;getSkyLight()Lnet/minecraft/world/chunk/ChunkNibbleArray;
-
setBlockLight
- Mappings:
Namespace Name Mixin selector official aLaup;a(Lauk;)Vintermediary method_3936Lnet/minecraft/class_1197;method_3936(Lnet/minecraft/class_1194;)Vnamed setBlockLightLnet/minecraft/world/chunk/ChunkSection;setBlockLight(Lnet/minecraft/world/chunk/ChunkNibbleArray;)V
-
setSkyLight
- Mappings:
Namespace Name Mixin selector official bLaup;b(Lauk;)Vintermediary method_3940Lnet/minecraft/class_1197;method_3940(Lnet/minecraft/class_1194;)Vnamed setSkyLightLnet/minecraft/world/chunk/ChunkSection;setSkyLight(Lnet/minecraft/world/chunk/ChunkNibbleArray;)V
-