Package net.minecraft.world.chunk
Class EmptyChunk
java.lang.Object
net.minecraft.world.chunk.Chunk
net.minecraft.world.chunk.EmptyChunk
- Mappings:
Namespace Name intermediary net/minecraft/class_255glue class_276server hgclient linamed net/minecraft/world/chunk/EmptyChunk
-
Field Summary
Fields inherited from class net.minecraft.world.chunk.Chunk
blockEntities, blockLight, blocks, dirty, empty, entities, hasSkyLight, heightmap, lastSaveHadEntities, lastSaveTime, loaded, meta, minHeightmapValue, skyLight, terrainPopulated, world, x, z -
Constructor Summary
ConstructorsConstructorDescriptionEmptyChunk(World world, byte[] blocks, int x, int z) EmptyChunk(World world, int x, int z) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBlockEntity(BlockEntity blockEntity) voidbooleanchunkPosEquals(int x, int z) voidcollectEntitiesByClass(Class entityClass, Box box, List result) voidcollectOtherEntities(Entity except, Box box, List result) getBlockEntity(int x, int y, int z) intgetBlockId(int x, int y, int z) intgetBlockMeta(int x, int y, int z) intgetHeight(int x, int z) intgetLight(int x, int y, int z, int ambientDarkness) intgetSlimeRandom(long scrambler) booleanisAboveMaxHeight(int x, int y, int z) booleanisEmpty()voidload()intloadFromPacket(byte[] bytes, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, int offset) voidvoidvoidvoidvoidvoidremoveBlockEntityAt(int localX, int y, int localZ) voidremoveEntity(Entity entity) voidremoveEntity(Entity entity, int chunkSlice) booleansetBlock(int x, int y, int z, int rawId) booleansetBlock(int x, int y, int z, int rawId, int meta) voidsetBlockEntity(int localX, int y, int localZ, BlockEntity blockEntity) voidsetBlockMeta(int x, int y, int z, int meta) voidbooleanshouldSave(boolean saveEntities) inttoPacket(byte[] bytes, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, int offset) voidunload()
-
Constructor Details
-
EmptyChunk
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_43;<init>(Lnet/minecraft/class_18;II)Vglue <init>Lclass_279;<init>(Lclass_129;II)Vserver <init>Lhi;<init>(Ldj;II)Vclient <init>Llm;<init>(Lfd;II)Vnamed <init>Lnet/minecraft/world/chunk/Chunk;<init>(Lnet/minecraft/world/World;II)V
-
EmptyChunk
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_43;<init>(Lnet/minecraft/class_18;[BII)Vglue <init>Lclass_279;<init>(Lclass_129;[BII)Vserver <init>Lhi;<init>(Ldj;[BII)Vclient <init>Llm;<init>(Lfd;[BII)Vnamed <init>Lnet/minecraft/world/chunk/Chunk;<init>(Lnet/minecraft/world/World;[BII)V
-
-
Method Details
-
chunkPosEquals
public boolean chunkPosEquals(int x, int z) - Overrides:
chunkPosEqualsin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_858Lnet/minecraft/class_43;method_858(II)Zglue method_1244Lclass_279;method_1244(II)Zserver aLhi;a(II)Zclient aLlm;a(II)Znamed chunkPosEqualsLnet/minecraft/world/chunk/Chunk;chunkPosEquals(II)Z
-
getHeight
public int getHeight(int x, int z) -
method_857
public void method_857()- Overrides:
method_857in classChunk- Mappings:
Namespace Name Mixin selector intermediary method_857Lnet/minecraft/class_43;method_857()Vglue method_1243Lclass_279;method_1243()Vserver aLhi;a()Vclient aLlm;a()Vnamed method_857Lnet/minecraft/world/chunk/Chunk;method_857()V
-
populateHeightMapOnly
- Overrides:
populateHeightMapOnlyin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_892Lnet/minecraft/class_43;method_892()Vglue method_1607Lclass_279;method_1607()Vserver method_892Lhi;method_892()Vclient bLlm;b()Vnamed populateHeightMapOnlyLnet/minecraft/world/chunk/Chunk;populateHeightMapOnly()V
-
populateHeightMap
public void populateHeightMap()- Overrides:
populateHeightMapin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_873Lnet/minecraft/class_43;method_873()Vglue method_1259Lclass_279;method_1259()Vserver bLhi;b()Vclient cLlm;c()Vnamed populateHeightMapLnet/minecraft/world/chunk/Chunk;populateHeightMap()V
-
populateBlockLight
public void populateBlockLight()- Overrides:
populateBlockLightin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_878Lnet/minecraft/class_43;method_878()Vglue method_1264Lclass_279;method_1264()Vserver cLhi;c()Vclient dLlm;d()Vnamed populateBlockLightLnet/minecraft/world/chunk/Chunk;populateBlockLight()V
-
getBlockId
public int getBlockId(int x, int y, int z) - Overrides:
getBlockIdin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_859Lnet/minecraft/class_43;method_859(III)Iglue method_1245Lclass_279;method_1245(III)Iserver aLhi;a(III)Iclient aLlm;a(III)Inamed getBlockIdLnet/minecraft/world/chunk/Chunk;getBlockId(III)I
-
setBlock
public boolean setBlock(int x, int y, int z, int rawId, int meta) - Overrides:
setBlockin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_861Lnet/minecraft/class_43;method_861(IIIII)Zglue method_1247Lclass_279;method_1247(IIIII)Zserver aLhi;a(IIIII)Zclient aLlm;a(IIIII)Znamed setBlockLnet/minecraft/world/chunk/Chunk;setBlock(IIIII)Z
-
setBlock
public boolean setBlock(int x, int y, int z, int rawId) -
getBlockMeta
public int getBlockMeta(int x, int y, int z) - Overrides:
getBlockMetain classChunk- Mappings:
Namespace Name Mixin selector intermediary method_875Lnet/minecraft/class_43;method_875(III)Iglue method_1261Lclass_279;method_1261(III)Iserver bLhi;b(III)Iclient bLlm;b(III)Inamed getBlockMetaLnet/minecraft/world/chunk/Chunk;getBlockMeta(III)I
-
setBlockMeta
public void setBlockMeta(int x, int y, int z, int meta) - Overrides:
setBlockMetain classChunk- Mappings:
Namespace Name Mixin selector intermediary method_876Lnet/minecraft/class_43;method_876(IIII)Vglue method_1262Lclass_279;method_1262(IIII)Vserver bLhi;b(IIII)Vclient bLlm;b(IIII)Vnamed setBlockMetaLnet/minecraft/world/chunk/Chunk;setBlockMeta(IIII)V
-
getLight
- Overrides:
getLightin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_864Lnet/minecraft/class_43;method_864(Lnet/minecraft/class_56;III)Iglue method_1250Lclass_279;method_1250(Lclass_97;III)Iserver aLhi;a(Lco;III)Iclient aLlm;a(Leb;III)Inamed getLightLnet/minecraft/world/chunk/Chunk;getLight(Lnet/minecraft/world/LightType;III)I
-
setLight
- Overrides:
setLightin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_865Lnet/minecraft/class_43;method_865(Lnet/minecraft/class_56;IIII)Vglue method_1251Lclass_279;method_1251(Lclass_97;IIII)Vserver aLhi;a(Lco;IIII)Vclient aLlm;a(Leb;IIII)Vnamed setLightLnet/minecraft/world/chunk/Chunk;setLight(Lnet/minecraft/world/LightType;IIII)V
-
getLight
public int getLight(int x, int y, int z, int ambientDarkness) -
addEntity
- Overrides:
addEntityin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_868Lnet/minecraft/class_43;method_868(Lnet/minecraft/class_57;)Vglue method_1254Lclass_279;method_1254(Lclass_450;)Vserver aLhi;a(Llq;)Vclient aLlm;a(Lsn;)Vnamed addEntityLnet/minecraft/world/chunk/Chunk;addEntity(Lnet/minecraft/entity/Entity;)V
-
removeEntity
- Overrides:
removeEntityin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_877Lnet/minecraft/class_43;method_877(Lnet/minecraft/class_57;)Vglue method_1263Lclass_279;method_1263(Lclass_450;)Vserver bLhi;b(Llq;)Vclient bLlm;b(Lsn;)Vnamed removeEntityLnet/minecraft/world/chunk/Chunk;removeEntity(Lnet/minecraft/entity/Entity;)V
-
removeEntity
- Overrides:
removeEntityin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_869Lnet/minecraft/class_43;method_869(Lnet/minecraft/class_57;I)Vglue method_1255Lclass_279;method_1255(Lclass_450;I)Vserver aLhi;a(Llq;I)Vclient aLlm;a(Lsn;I)Vnamed removeEntityLnet/minecraft/world/chunk/Chunk;removeEntity(Lnet/minecraft/entity/Entity;I)V
-
isAboveMaxHeight
public boolean isAboveMaxHeight(int x, int y, int z) - Overrides:
isAboveMaxHeightin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_879Lnet/minecraft/class_43;method_879(III)Zglue method_1265Lclass_279;method_1265(III)Zserver cLhi;c(III)Zclient cLlm;c(III)Znamed isAboveMaxHeightLnet/minecraft/world/chunk/Chunk;isAboveMaxHeight(III)Z
-
getBlockEntity
- Overrides:
getBlockEntityin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_882Lnet/minecraft/class_43;method_882(III)Lnet/minecraft/class_55;glue method_1268Lclass_279;method_1268(III)Lclass_356;server dLhi;d(III)Ljh;client dLlm;d(III)Low;named getBlockEntityLnet/minecraft/world/chunk/Chunk;getBlockEntity(III)Lnet/minecraft/block/entity/BlockEntity;
-
addBlockEntity
- Overrides:
addBlockEntityin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_867Lnet/minecraft/class_43;method_867(Lnet/minecraft/class_55;)Vglue method_1253Lclass_279;method_1253(Lclass_356;)Vserver aLhi;a(Ljh;)Vclient aLlm;a(Low;)Vnamed addBlockEntityLnet/minecraft/world/chunk/Chunk;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
setBlockEntity
- Overrides:
setBlockEntityin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_862Lnet/minecraft/class_43;method_862(IIILnet/minecraft/class_55;)Vglue method_1248Lclass_279;method_1248(IIILclass_356;)Vserver aLhi;a(IIILjh;)Vclient aLlm;a(IIILow;)Vnamed setBlockEntityLnet/minecraft/world/chunk/Chunk;setBlockEntity(IIILnet/minecraft/block/entity/BlockEntity;)V
-
removeBlockEntityAt
public void removeBlockEntityAt(int localX, int y, int localZ) - Overrides:
removeBlockEntityAtin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_884Lnet/minecraft/class_43;method_884(III)Vglue method_1270Lclass_279;method_1270(III)Vserver eLhi;e(III)Vclient eLlm;e(III)Vnamed removeBlockEntityAtLnet/minecraft/world/chunk/Chunk;removeBlockEntityAt(III)V
-
load
public void load() -
unload
public void unload() -
markDirty
public void markDirty() -
collectOtherEntities
- Overrides:
collectOtherEntitiesin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_870Lnet/minecraft/class_43;method_870(Lnet/minecraft/class_57;Lnet/minecraft/class_25;Ljava/util/List;)Vglue method_1256Lclass_279;method_1256(Lclass_450;Lclass_113;Ljava/util/List;)Vserver aLhi;a(Llq;Lcz;Ljava/util/List;)Vclient aLlm;a(Lsn;Leq;Ljava/util/List;)Vnamed collectOtherEntitiesLnet/minecraft/world/chunk/Chunk;collectOtherEntities(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/List;)V
-
collectEntitiesByClass
- Overrides:
collectEntitiesByClassin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_866Lnet/minecraft/class_43;method_866(Ljava/lang/Class;Lnet/minecraft/class_25;Ljava/util/List;)Vglue method_1252Lclass_279;method_1252(Ljava/lang/Class;Lclass_113;Ljava/util/List;)Vserver aLhi;a(Ljava/lang/Class;Lcz;Ljava/util/List;)Vclient aLlm;a(Ljava/lang/Class;Leq;Ljava/util/List;)Vnamed collectEntitiesByClassLnet/minecraft/world/chunk/Chunk;collectEntitiesByClass(Ljava/lang/Class;Lnet/minecraft/util/math/Box;Ljava/util/List;)V
-
shouldSave
public boolean shouldSave(boolean saveEntities) - Overrides:
shouldSavein classChunk- Mappings:
Namespace Name Mixin selector intermediary method_871Lnet/minecraft/class_43;method_871(Z)Zglue method_1257Lclass_279;method_1257(Z)Zserver aLhi;a(Z)Zclient aLlm;a(Z)Znamed shouldSaveLnet/minecraft/world/chunk/Chunk;shouldSave(Z)Z
-
loadFromPacket
@Environment(CLIENT) public int loadFromPacket(byte[] bytes, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, int offset) - Overrides:
loadFromPacketin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_891Lnet/minecraft/class_43;method_891([BIIIIIII)Iglue method_1606Lclass_279;method_1606([BIIIIIII)Iserver method_891Lhi;method_891([BIIIIIII)Iclient aLlm;a([BIIIIIII)Inamed loadFromPacketLnet/minecraft/world/chunk/Chunk;loadFromPacket([BIIIIIII)I
-
toPacket
@Environment(SERVER) public int toPacket(byte[] bytes, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, int offset) - Overrides:
toPacketin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_872Lnet/minecraft/class_43;method_872([BIIIIIII)Iglue method_1258Lclass_279;method_1258([BIIIIIII)Iserver aLhi;a([BIIIIIII)Iclient method_872Llm;method_872([BIIIIIII)Inamed toPacketLnet/minecraft/world/chunk/Chunk;toPacket([BIIIIIII)I
-
getSlimeRandom
- Overrides:
getSlimeRandomin classChunk- Mappings:
Namespace Name Mixin selector intermediary method_863Lnet/minecraft/class_43;method_863(J)Ljava/util/Random;glue method_1249Lclass_279;method_1249(J)Ljava/util/Random;server aLhi;a(J)Ljava/util/Random;client aLlm;a(J)Ljava/util/Random;named getSlimeRandomLnet/minecraft/world/chunk/Chunk;getSlimeRandom(J)Ljava/util/Random;
-
isEmpty
public boolean isEmpty()
-