Package net.minecraft.world.chunk
Class ChunkSection
java.lang.Object
net.minecraft.world.chunk.ChunkSection
- Mappings:
Namespace Name official asgintermediary net/minecraft/class_1197named net/minecraft/world/chunk/ChunkSection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChunkNibbleArrayprivate intprivate class_2743private ChunkNibbleArrayprivate intprivate 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 int yOffset- Mappings:
Namespace Name Mixin selector official aLasg;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 bLasg;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 cLasg;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 dLasg;d:Lary;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 eLasg;e:Lasb;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 fLasg;f:Lasb;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>Lasg;<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 aLasg;a(III)Lard;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 aLasg;a(IIILard;)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 aLasg;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 bLasg;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 dLasg;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 aLasg;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 bLasg;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 bLasg;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 cLasg;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 eLasg;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 gLasg;g()Lary;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 hLasg;h()Lasb;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 iLasg;i()Lasb;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 aLasg;a(Lasb;)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 bLasg;b(Lasb;)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
-