Package net.minecraft.world.chunk
Class ChunkSection
java.lang.Object
net.minecraft.world.chunk.ChunkSection
- Mappings:
Namespace Name official bnkintermediary net/minecraft/class_1197named net/minecraft/world/chunk/ChunkSection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChunkNibbleArrayprivate intprivate static final class_2748<BlockState>private intprivate final class_2743<BlockState>private 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()booleanmethod_17093(int int2, int int3, int int4) booleanvoidsetBlockLight(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
-
field_18896
- Mappings:
Namespace Name Mixin selector official aLbnk;a:Lbno;intermediary field_18896Lnet/minecraft/class_1197;field_18896:Lnet/minecraft/class_2748;named field_18896Lnet/minecraft/world/chunk/ChunkSection;field_18896:Lnet/minecraft/class_2748;
-
yOffset
private final int yOffset- Mappings:
Namespace Name Mixin selector official bLbnk;b: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 cLbnk;c: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 dLbnk;d:Iintermediary field_4746Lnet/minecraft/class_1197;field_4746:Inamed tickableBlockCountLnet/minecraft/world/chunk/ChunkSection;tickableBlockCount:I
-
field_18897
private int field_18897- Mappings:
Namespace Name Mixin selector official eLbnk;e:Iintermediary field_18897Lnet/minecraft/class_1197;field_18897:Inamed field_18897Lnet/minecraft/world/chunk/ChunkSection;field_18897:I
-
field_18898
- Mappings:
Namespace Name Mixin selector official fLbnk;f:Lbnq;intermediary field_18898Lnet/minecraft/class_1197;field_18898:Lnet/minecraft/class_2743;named field_18898Lnet/minecraft/world/chunk/ChunkSection;field_18898:Lnet/minecraft/class_2743;
-
blockLight
- Mappings:
Namespace Name Mixin selector official gLbnk;g:Lbne;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 hLbnk;h:Lbne;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>Lbnk;<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 aLbnk;a(III)Lblc;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;
-
method_17093
- Mappings:
Namespace Name Mixin selector official bLbnk;b(III)Lbyw;intermediary method_17093Lnet/minecraft/class_1197;method_17093(III)Lnet/minecraft/class_4024;named method_17093Lnet/minecraft/world/chunk/ChunkSection;method_17093(III)Lnet/minecraft/fluid/FluidState;
-
setBlockState
- Mappings:
Namespace Name Mixin selector official aLbnk;a(IIILblc;)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 aLbnk;a()Zintermediary method_3925Lnet/minecraft/class_1197;method_3925()Znamed isEmptyLnet/minecraft/world/chunk/ChunkSection;isEmpty()Z
-
method_17092
public boolean method_17092()- Mappings:
Namespace Name Mixin selector official bLbnk;b()Zintermediary method_17092Lnet/minecraft/class_1197;method_17092()Znamed method_17092Lnet/minecraft/world/chunk/ChunkSection;method_17092()Z
-
hasTickableBlocks
public boolean hasTickableBlocks()- Mappings:
Namespace Name Mixin selector official cLbnk;c()Zintermediary method_3930Lnet/minecraft/class_1197;method_3930()Znamed hasTickableBlocksLnet/minecraft/world/chunk/ChunkSection;hasTickableBlocks()Z
-
method_17094
public boolean method_17094()- Mappings:
Namespace Name Mixin selector official dLbnk;d()Zintermediary method_17094Lnet/minecraft/class_1197;method_17094()Znamed method_17094Lnet/minecraft/world/chunk/ChunkSection;method_17094()Z
-
getYOffset
public int getYOffset()- Mappings:
Namespace Name Mixin selector official eLbnk;e()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 aLbnk;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 cLbnk;c(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 bLbnk;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 dLbnk;d(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 fLbnk;f()Vintermediary method_3941Lnet/minecraft/class_1197;method_3941()Vnamed calculateCountsLnet/minecraft/world/chunk/ChunkSection;calculateCounts()V
-
method_11774
- Mappings:
Namespace Name Mixin selector official gLbnk;g()Lbnq;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 hLbnk;h()Lbne;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 iLbnk;i()Lbne;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 aLbnk;a(Lbne;)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 bLbnk;b(Lbne;)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
-