public class EmptyChunk extends WorldChunk
WorldChunk.CreationType| Modifier and Type | Field and Description |
|---|---|
private static Biome[] |
BIOMES |
EMPTY_SECTION| Constructor and Description |
|---|
EmptyChunk(World world,
ChunkPos chunkPos) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBlockEntity(BlockEntity blockEntity) |
void |
addEntity(Entity entity) |
BlockEntity |
getBlockEntity(BlockPos pos,
WorldChunk.CreationType creationType) |
BlockState |
getBlockState(BlockPos pos) |
<T extends Entity> |
getEntities(Class<? extends T> entityClass,
Box box,
List<T> result,
Predicate<? super T> predicate) |
void |
getEntities(Entity except,
Box box,
List<Entity> entityList,
Predicate<? super Entity> predicate) |
FluidState |
getFluidState(BlockPos pos) |
ChunkHolder.LevelType |
getLevelType() |
LightingProvider |
getLightingProvider() |
int |
getLuminance(BlockPos pos) |
boolean |
isEmpty() |
void |
markDirty() |
boolean |
method_12228(int int2,
int int3) |
void |
remove(Entity entity) |
void |
remove(Entity entity,
int int2) |
void |
removeBlockEntity(BlockPos pos) |
void |
setBlockEntity(BlockPos pos,
BlockEntity blockEntity) |
BlockState |
setBlockState(BlockPos pos,
BlockState state,
boolean moved) |
addPendingBlockEntityTag, addStructureReference, disableTickSchedulers, enableTickSchedulers, getBiomeArray, getBlockEntities, getBlockEntity, getBlockEntityPositions, getBlockEntityTagAt, getBlockTickScheduler, getEntities, getEntitySectionArray, getFluidState, getFluidTickScheduler, getHeightmap, getHeightmaps, getInhabitedTime, getLightSourcesStream, getPos, getPostProcessingLists, getSectionArray, getStatus, getStructureReferences, getStructureReferences, getStructureStart, getStructureStarts, getUpgradeData, getWorld, isLightOn, loadFromPacket, loadToWorld, method_20598, needsSaving, runPostProcessing, sampleHeightmap, setHeightmap, setInhabitedTime, setLastSaveTime, setLevelTypeProvider, setLightOn, setLoadedToWorld, setShouldSave, setStructureReferences, setStructureStart, setStructureStarts, setUnsavedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCarvingMask, getHighestNonEmptySection, getHighestNonEmptySectionYOffset, getList, markBlockForPostProcessing, markBlockForPostProcessinggetHeight, getMaxLightLevel, rayTrace, rayTrace, rayTraceBlockprivate static final Biome[] BIOMES
public BlockState getBlockState(BlockPos pos)
getBlockState in interface BlockViewgetBlockState in class WorldChunk@Nullable public BlockState setBlockState(BlockPos pos, BlockState state, boolean moved)
setBlockState in interface ChunksetBlockState in class WorldChunkpublic FluidState getFluidState(BlockPos pos)
getFluidState in interface BlockViewgetFluidState in class WorldChunk@Nullable public LightingProvider getLightingProvider()
getLightingProvider in class WorldChunkpublic int getLuminance(BlockPos pos)
public void addEntity(Entity entity)
addEntity in interface ChunkaddEntity in class WorldChunkpublic void remove(Entity entity)
remove in class WorldChunkpublic void remove(Entity entity, int int2)
remove in class WorldChunk@Nullable public BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
getBlockEntity in class WorldChunkpublic void addBlockEntity(BlockEntity blockEntity)
addBlockEntity in class WorldChunkpublic void setBlockEntity(BlockPos pos, BlockEntity blockEntity)
setBlockEntity in interface ChunksetBlockEntity in class WorldChunkpublic void removeBlockEntity(BlockPos pos)
removeBlockEntity in interface ChunkremoveBlockEntity in class WorldChunkpublic void markDirty()
markDirty in class WorldChunkpublic void getEntities(@Nullable Entity except, Box box, List<Entity> entityList, Predicate<? super Entity> predicate)
getEntities in class WorldChunkpublic <T extends Entity> void getEntities(Class<? extends T> entityClass, Box box, List<T> result, Predicate<? super T> predicate)
getEntities in class WorldChunkpublic boolean isEmpty()
isEmpty in class WorldChunkpublic boolean method_12228(int int2,
int int3)
public ChunkHolder.LevelType getLevelType()
getLevelType in class WorldChunk