Package net.minecraft.world.chunk
Class EmptyChunk
java.lang.Object
net.minecraft.world.chunk.Chunk
net.minecraft.world.chunk.EmptyChunk
- Mappings:
Namespace Name official amxintermediary net/minecraft/class_1195named net/minecraft/world/chunk/EmptyChunk
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.chunk.Chunk
Chunk.Status -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanareSectionsEmptyBetween(int startY, int endY) voidgetBlockAtPos(BlockPos pos) intgetBlockData(BlockPos pos) getBlockEntity(BlockPos pos, Chunk.Status status) 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) <T extends Entity>
voidmethod_9140(Class<? extends T> clazz, Box box, List<T> list, Predicate<? super T> pred) voidvoidmethod_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>Lamy;<init>(Ladm;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 aLamy;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 bLamy;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 aLamy;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 bLamy;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 aLamy;a(Lcj;)Lafh;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 bLamy;b(Lcj;)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 cLamy;c(Lcj;)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 aLamy;a(Lads;Lcj;)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 aLamy;a(Lads;Lcj;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 aLamy;a(Lcj;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 bLamy;b(Lpk;)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 aLamy;a(Lpk;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 dLamy;d(Lcj;)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
-
getBlockEntity
- Overrides:
getBlockEntityin classChunk- Mappings:
Namespace Name Mixin selector official aLamy;a(Lcj;Lamy$a;)Lakw;intermediary method_9138Lnet/minecraft/class_1196;method_9138(Lnet/minecraft/class_2552;Lnet/minecraft/class_1196$class_2251;)Lnet/minecraft/class_226;named getBlockEntityLnet/minecraft/world/chunk/Chunk;getBlockEntity(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/chunk/Chunk$Status;)Lnet/minecraft/block/entity/BlockEntity;
-
addBlockEntity
- Overrides:
addBlockEntityin classChunk- Mappings:
Namespace Name Mixin selector official aLamy;a(Lakw;)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 aLamy;a(Lcj;Lakw;)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 eLamy;e(Lcj;)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 cLamy;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 dLamy;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 eLamy;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 aLamy;a(Lpk;Laug;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
public <T extends Entity> void method_9140(Class<? extends T> clazz, Box box, List<T> list, Predicate<? super T> pred) - Overrides:
method_9140in classChunk- Mappings:
Namespace Name Mixin selector official aLamy;a(Ljava/lang/Class;Laug;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 aLamy;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 cLamy;c(II)Zintermediary method_3903Lnet/minecraft/class_1196;method_3903(II)Znamed areSectionsEmptyBetweenLnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
-