Package net.minecraft.world.chunk
Class ChunkSection
java.lang.Object
net.minecraft.world.chunk.ChunkSection
- Mappings:
Namespace Name official bfmintermediary net/minecraft/class_1197named net/minecraft/world/chunk/ChunkSection
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ChunkNibbleArrayprivate char[]private intprivate ChunkNibbleArrayprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetBlock(int x, int y, int z) intgetBlockData(int x, int y, int z) intgetBlockLight(int x, int y, int z) getBlockState(int x, int y, int z) char[]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) voidsetBlockStates(char[] blockStates) voidsetSkyLight(int x, int y, int z, int light) voidsetSkyLight(ChunkNibbleArray skyLight)
-
Field Details
-
yOffset
private int yOffset- Mappings:
Namespace Name Mixin selector official aLbfm;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 bLbfm;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 cLbfm;c:Iintermediary field_4746Lnet/minecraft/class_1197;field_4746:Inamed tickableBlockCountLnet/minecraft/world/chunk/ChunkSection;tickableBlockCount:I
-
blockStates
private char[] blockStates- Mappings:
Namespace Name Mixin selector official dLbfm;d:[Cintermediary field_9955Lnet/minecraft/class_1197;field_9955:[Cnamed blockStatesLnet/minecraft/world/chunk/ChunkSection;blockStates:[C
-
blockLight
- Mappings:
Namespace Name Mixin selector official eLbfm;e:Lbff;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 fLbfm;f:Lbff;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>Lbfm;<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 aLbfm;a(III)Lbec;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 aLbfm;a(IIILbec;)Vintermediary method_9171Lnet/minecraft/class_1197;method_9171(IIILnet/minecraft/class_2232;)Vnamed setBlockStateLnet/minecraft/world/chunk/ChunkSection;setBlockState(IIILnet/minecraft/block/BlockState;)V
-
getBlock
- Mappings:
Namespace Name Mixin selector official bLbfm;b(III)Latr;intermediary method_6539Lnet/minecraft/class_1197;method_6539(III)Lnet/minecraft/class_197;named getBlockLnet/minecraft/world/chunk/ChunkSection;getBlock(III)Lnet/minecraft/block/Block;
-
getBlockData
public int getBlockData(int x, int y, int z) - Mappings:
Namespace Name Mixin selector official cLbfm;c(III)Iintermediary method_3931Lnet/minecraft/class_1197;method_3931(III)Inamed getBlockDataLnet/minecraft/world/chunk/ChunkSection;getBlockData(III)I
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official aLbfm;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 bLbfm;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 dLbfm;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 aLbfm;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 dLbfm;d(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 bLbfm;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 eLbfm;e(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 eLbfm;e()Vintermediary method_3941Lnet/minecraft/class_1197;method_3941()Vnamed calculateCountsLnet/minecraft/world/chunk/ChunkSection;calculateCounts()V
-
getBlockStates
public char[] getBlockStates()- Mappings:
Namespace Name Mixin selector official gLbfm;g()[Cintermediary method_3942Lnet/minecraft/class_1197;method_3942()[Cnamed getBlockStatesLnet/minecraft/world/chunk/ChunkSection;getBlockStates()[C
-
setBlockStates
public void setBlockStates(char[] blockStates) - Mappings:
Namespace Name Mixin selector official aLbfm;a([C)Vintermediary method_9172Lnet/minecraft/class_1197;method_9172([C)Vnamed setBlockStatesLnet/minecraft/world/chunk/ChunkSection;setBlockStates([C)V
-
getBlockLight
- Mappings:
Namespace Name Mixin selector official hLbfm;h()Lbff;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 iLbfm;i()Lbff;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 aLbfm;a(Lbff;)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 bLbfm;b(Lbff;)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
-