Package net.minecraft.world.chunk
Class EmptyChunk
java.lang.Object
net.minecraft.world.chunk.Chunk
net.minecraft.world.chunk.EmptyChunk
- Mappings:
Namespace Name official aulintermediary 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
Fields inherited from class net.minecraft.world.chunk.Chunk
chunkX, chunkZ, empty, field_12912 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanareSectionsEmptyBetween(int startY, int endY) voidgetBlockEntity(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()voidmethod_11770(BlockPos blockPos) voidvoidmethod_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, getBlockEntities, getBlockState, getBlockStorage, getChunkPos, getEntities, getHighestBlockY, getHighestNonEmptySectionYOffset, getInhabitedTime, getLevelHeightmap, getMinimumHeightMap, getWorld, hasPopulatedBlockEntities, isLightPopulated, isLoaded, isPopulated, isTerrainPopulated, method_11767, method_11768, method_11769, method_11771, method_3895, method_3922, method_3923, method_9156, populate, populateBlockEntities, setBiomeArray, setChunkLoaded, setHasEntities, setInhabitedTime, setLastSaveTime, setLevelChunkSections, setLevelHeightmap, setLightPopulated, setModified, setTerrainPopulated
-
Constructor Details
-
EmptyChunk
- Mappings:
Namespace Name Mixin selector official <init>Lauo;<init>(Lajs;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 aLauo;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 bLauo;b(II)Iintermediary method_3898Lnet/minecraft/class_1196;method_3898(II)Inamed getHighestBlockYLnet/minecraft/world/chunk/Chunk;getHighestBlockY(II)I
-
method_3877
public void method_3877()- Overrides:
method_3877in classChunk- Mappings:
Namespace Name Mixin selector official aLauo;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 bLauo;b()Vintermediary method_3897Lnet/minecraft/class_1196;method_3897()Vnamed calculateSkyLightLnet/minecraft/world/chunk/Chunk;calculateSkyLight()V
-
method_11770
- Overrides:
method_11770in classChunk- Mappings:
Namespace Name Mixin selector official aLauo;a(Lco;)Latl;intermediary method_11770Lnet/minecraft/class_1196;method_11770(Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named method_11770Lnet/minecraft/world/chunk/Chunk;method_11770(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
getBlockOpacityAtPos
- Overrides:
getBlockOpacityAtPosin classChunk- Mappings:
Namespace Name Mixin selector official bLauo;b(Lco;)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
-
getLightAtPos
- Overrides:
getLightAtPosin classChunk- Mappings:
Namespace Name Mixin selector official aLauo;a(Lajy;Lco;)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 aLauo;a(Lajy;Lco;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 aLauo;a(Lco;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 bLauo;b(Lsn;)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 aLauo;a(Lsn;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 cLauo;c(Lco;)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 aLauo;a(Lco;Lauo$a;)Lasc;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 aLauo;a(Lasc;)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 aLauo;a(Lco;Lasc;)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 dLauo;d(Lco;)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 cLauo;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 dLauo;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 eLauo;e()Vintermediary method_3910Lnet/minecraft/class_1196;method_3910()Vnamed setModifiedLnet/minecraft/world/chunk/Chunk;setModified()V
-
method_9141
public void method_9141(@Nullable Entity entity, Box box, List<Entity> list, Predicate<? super Entity> pred) - Overrides:
method_9141in classChunk- Mappings:
Namespace Name Mixin selector official aLauo;a(Lsn;Lbdt;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 aLauo;a(Ljava/lang/Class;Lbdt;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 aLauo;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 cLauo;c(II)Zintermediary method_3903Lnet/minecraft/class_1196;method_3903(II)Znamed areSectionsEmptyBetweenLnet/minecraft/world/chunk/Chunk;areSectionsEmptyBetween(II)Z
-