Package net.minecraft.world.chunk
Class EmptyChunk
java.lang.Object
net.minecraft.world.chunk.Chunk
net.minecraft.world.chunk.EmptyChunk
- Mappings:
Namespace Name official bfgintermediary net/minecraft/class_1195named net/minecraft/world/chunk/EmptyChunk
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanareSectionsEmptyBetween(int startY, int endY) voidgetBlockAtPos(BlockPos pos) intgetBlockData(BlockPos pos) intintgetHighestBlockY(int x, int z) intgetLightAtPos(LightType type, BlockPos pos) intgetLightLevel(BlockPos pos, int darkness) getRandom(long seed) booleanbooleanisChunkEqual(int chunkX, int chunkZ) booleanisEmpty()voidvoidvoidmethod_9136(BlockPos pos, BlockEntity be) method_9138(BlockPos blockPos, class_2251 class_2251) voidmethod_9140(Class clazz, Box box, List list, Predicate pred) voidmethod_9141(Entity entity, Box box, List list, Predicate pred) voidmethod_9150(BlockPos pos) voidremoveEntity(Entity entity) voidremoveEntity(Entity entity, int index) voidsetLightAtPos(LightType type, BlockPos pos, int light) voidbooleanshouldSave(boolean bool) voidMethods inherited from class net.minecraft.world.chunk.Chunk
getBiomeArray, getBiomeAt, getBlockEntities, getBlockState, getBlockStorage, getChunkPos, getEntities, getHighestBlockY, getHighestNonEmptySectionYOffset, getInhabitedTime, getLevelHeightmap, getMinimumHeightMap, getWorld, isLightPopulated, isLoaded, isPopulated, isTerrainPopulated, method_3892, method_3895, method_3922, method_3923, method_9131, method_9154, method_9156, populate, populateBlockEntities, setBiomeArray, setChunkLoaded, setHasEntities, setInhabitedTime, setLastSaveTime, setLevelChunkSections, setLevelHeightmap, setLightPopulated, setModified, setTerrainPopulated
-
Constructor Details
-
EmptyChunk
- Mappings:
Namespace Name Mixin selector official <init>Lbfh;<init>(Laqu;II)Vintermediary <init>Lnet/minecraft/class_1196;<init>(Lnet/minecraft/class_1150;II)Vnamed <init>Lnet/minecraft/world/chunk/Chunk;<init>(Lnet/minecraft/world/World;II)V
-
-
Method Details
-
isChunkEqual
public boolean isChunkEqual(int chunkX, int chunkZ) - Overrides:
isChunkEqualin classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(II)Zintermediary method_3878Lnet/minecraft/class_1196;method_3878(II)Znamed isChunkEqualLnet/minecraft/world/chunk/Chunk;isChunkEqual(II)Z
-
getHighestBlockY
public int getHighestBlockY(int x, int z) - Overrides:
getHighestBlockYin classChunk- Mappings:
Namespace Name Mixin selector official bLbfh;b(II)Iintermediary method_3898Lnet/minecraft/class_1196;method_3898(II)Inamed getHighestBlockYLnet/minecraft/world/chunk/Chunk;getHighestBlockY(II)I
-
method_3877
- Overrides:
method_3877in classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a()Vintermediary method_3877Lnet/minecraft/class_1196;method_3877()Vnamed method_3877Lnet/minecraft/world/chunk/Chunk;method_3877()V
-
calculateSkyLight
public void calculateSkyLight()- Overrides:
calculateSkyLightin classChunk- Mappings:
Namespace Name Mixin selector official bLbfh;b()Vintermediary method_3897Lnet/minecraft/class_1196;method_3897()Vnamed calculateSkyLightLnet/minecraft/world/chunk/Chunk;calculateSkyLight()V
-
getBlockAtPos
- Overrides:
getBlockAtPosin classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Ldt;)Latr;intermediary method_9133Lnet/minecraft/class_1196;method_9133(Lnet/minecraft/class_2552;)Lnet/minecraft/class_197;named getBlockAtPosLnet/minecraft/world/chunk/Chunk;getBlockAtPos(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/Block;
-
getBlockOpacityAtPos
- Overrides:
getBlockOpacityAtPosin classChunk- Mappings:
Namespace Name Mixin selector official bLbfh;b(Ldt;)Iintermediary method_9144Lnet/minecraft/class_1196;method_9144(Lnet/minecraft/class_2552;)Inamed getBlockOpacityAtPosLnet/minecraft/world/chunk/Chunk;getBlockOpacityAtPos(Lnet/minecraft/util/math/BlockPos;)I
-
getBlockData
- Overrides:
getBlockDatain classChunk- Mappings:
Namespace Name Mixin selector official cLbfh;c(Ldt;)Iintermediary method_9146Lnet/minecraft/class_1196;method_9146(Lnet/minecraft/class_2552;)Inamed getBlockDataLnet/minecraft/world/chunk/Chunk;getBlockData(Lnet/minecraft/util/math/BlockPos;)I
-
getLightAtPos
- Overrides:
getLightAtPosin classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Larf;Ldt;)Iintermediary method_9132Lnet/minecraft/class_1196;method_9132(Lnet/minecraft/class_1161;Lnet/minecraft/class_2552;)Inamed getLightAtPosLnet/minecraft/world/chunk/Chunk;getLightAtPos(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;)I
-
setLightAtPos
- Overrides:
setLightAtPosin classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Larf;Ldt;I)Vintermediary method_3891Lnet/minecraft/class_1196;method_3891(Lnet/minecraft/class_1161;Lnet/minecraft/class_2552;I)Vnamed setLightAtPosLnet/minecraft/world/chunk/Chunk;setLightAtPos(Lnet/minecraft/world/LightType;Lnet/minecraft/util/math/BlockPos;I)V
-
getLightLevel
- Overrides:
getLightLevelin classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Ldt;I)Iintermediary method_9134Lnet/minecraft/class_1196;method_9134(Lnet/minecraft/class_2552;I)Inamed getLightLevelLnet/minecraft/world/chunk/Chunk;getLightLevel(Lnet/minecraft/util/math/BlockPos;I)I
-
addEntity
-
removeEntity
- Overrides:
removeEntityin classChunk- Mappings:
Namespace Name Mixin selector official bLbfh;b(Lwv;)Vintermediary method_3901Lnet/minecraft/class_1196;method_3901(Lnet/minecraft/class_864;)Vnamed removeEntityLnet/minecraft/world/chunk/Chunk;removeEntity(Lnet/minecraft/entity/Entity;)V
-
removeEntity
- Overrides:
removeEntityin classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Lwv;I)Vintermediary method_3888Lnet/minecraft/class_1196;method_3888(Lnet/minecraft/class_864;I)Vnamed removeEntityLnet/minecraft/world/chunk/Chunk;removeEntity(Lnet/minecraft/entity/Entity;I)V
-
hasDirectSunlight
- Overrides:
hasDirectSunlightin classChunk- Mappings:
Namespace Name Mixin selector official dLbfh;d(Ldt;)Zintermediary method_9148Lnet/minecraft/class_1196;method_9148(Lnet/minecraft/class_2552;)Znamed hasDirectSunlightLnet/minecraft/world/chunk/Chunk;hasDirectSunlight(Lnet/minecraft/util/math/BlockPos;)Z
-
method_9138
- Overrides:
method_9138in classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Ldt;Lbfl;)Lbcm;intermediary method_9138Lnet/minecraft/class_1196;method_9138(Lnet/minecraft/class_2552;Lnet/minecraft/class_2251;)Lnet/minecraft/class_226;named method_9138Lnet/minecraft/world/chunk/Chunk;method_9138(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/class_2251;)Lnet/minecraft/block/entity/BlockEntity;
-
addBlockEntity
- Overrides:
addBlockEntityin classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Lbcm;)Vintermediary method_3885Lnet/minecraft/class_1196;method_3885(Lnet/minecraft/class_226;)Vnamed addBlockEntityLnet/minecraft/world/chunk/Chunk;addBlockEntity(Lnet/minecraft/block/entity/BlockEntity;)V
-
method_9136
- Overrides:
method_9136in classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Ldt;Lbcm;)Vintermediary method_9136Lnet/minecraft/class_1196;method_9136(Lnet/minecraft/class_2552;Lnet/minecraft/class_226;)Vnamed method_9136Lnet/minecraft/world/chunk/Chunk;method_9136(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/BlockEntity;)V
-
method_9150
- Overrides:
method_9150in classChunk- Mappings:
Namespace Name Mixin selector official eLbfh;e(Ldt;)Vintermediary method_9150Lnet/minecraft/class_1196;method_9150(Lnet/minecraft/class_2552;)Vnamed method_9150Lnet/minecraft/world/chunk/Chunk;method_9150(Lnet/minecraft/util/math/BlockPos;)V
-
loadToWorld
public void loadToWorld()- Overrides:
loadToWorldin classChunk- Mappings:
Namespace Name Mixin selector official cLbfh;c()Vintermediary method_3902Lnet/minecraft/class_1196;method_3902()Vnamed loadToWorldLnet/minecraft/world/chunk/Chunk;loadToWorld()V
-
unloadFromWorld
public void unloadFromWorld()- Overrides:
unloadFromWorldin classChunk- Mappings:
Namespace Name Mixin selector official dLbfh;d()Vintermediary method_3906Lnet/minecraft/class_1196;method_3906()Vnamed unloadFromWorldLnet/minecraft/world/chunk/Chunk;unloadFromWorld()V
-
setModified
public void setModified()- Overrides:
setModifiedin classChunk- Mappings:
Namespace Name Mixin selector official eLbfh;e()Vintermediary method_3910Lnet/minecraft/class_1196;method_3910()Vnamed setModifiedLnet/minecraft/world/chunk/Chunk;setModified()V
-
method_9141
- Overrides:
method_9141in classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Lwv;Lbrt;Ljava/util/List;Lcom/google/common/base/Predicate;)Vintermediary method_9141Lnet/minecraft/class_1196;method_9141(Lnet/minecraft/class_864;Lnet/minecraft/class_231;Ljava/util/List;Lcom/google/common/base/Predicate;)Vnamed method_9141Lnet/minecraft/world/chunk/Chunk;method_9141(Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Box;Ljava/util/List;Lcom/google/common/base/Predicate;)V
-
method_9140
- Overrides:
method_9140in classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Ljava/lang/Class;Lbrt;Ljava/util/List;Lcom/google/common/base/Predicate;)Vintermediary method_9140Lnet/minecraft/class_1196;method_9140(Ljava/lang/Class;Lnet/minecraft/class_231;Ljava/util/List;Lcom/google/common/base/Predicate;)Vnamed method_9140Lnet/minecraft/world/chunk/Chunk;method_9140(Ljava/lang/Class;Lnet/minecraft/util/math/Box;Ljava/util/List;Lcom/google/common/base/Predicate;)V
-
shouldSave
public boolean shouldSave(boolean bool) - Overrides:
shouldSavein classChunk- Mappings:
Namespace Name Mixin selector official aLbfh;a(Z)Zintermediary method_3893Lnet/minecraft/class_1196;method_3893(Z)Znamed shouldSaveLnet/minecraft/world/chunk/Chunk;shouldSave(Z)Z
-
getRandom
-
isEmpty
public boolean isEmpty() -
areSectionsEmptyBetween
public boolean areSectionsEmptyBetween(int startY, int endY) - Overrides:
areSectionsEmptyBetweenin classChunk- Mappings:
Namespace Name Mixin selector official cLbfh;c(II)Zintermediary method_3903Lnet/minecraft/class_1196;method_3903(II)Znamed areSectionsEmptyBetweenLnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
-