public class EmptyChunk extends WorldChunk
WorldChunk.CreationType, WorldChunk.DirectBlockEntityTickInvoker<T extends BlockEntity>, WorldChunk.EmptyBlockEntityTickInvoker, WorldChunk.WrappedBlockEntityTickInvoker| Modifier and Type | Field and Description |
|---|---|
private static Biome[] |
BIOMES |
EMPTY_SECTION| Constructor and Description |
|---|
EmptyChunk(World world,
ChunkPos pos) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBlockEntity(BlockEntity blockEntity) |
boolean |
areSectionsEmptyBetween(int lowerHeight,
int upperHeight) |
BlockEntity |
getBlockEntity(BlockPos pos,
WorldChunk.CreationType creationType) |
BlockState |
getBlockState(BlockPos pos) |
FluidState |
getFluidState(BlockPos pos) |
ChunkHolder.LevelType |
getLevelType() |
LightingProvider |
getLightingProvider() |
int |
getLuminance(BlockPos pos) |
boolean |
isEmpty() |
void |
markDirty() |
void |
removeBlockEntity(BlockPos pos) |
void |
setBlockEntity(BlockEntity blockEntity) |
BlockState |
setBlockState(BlockPos pos,
BlockState state,
boolean moved) |
addEntity, addPendingBlockEntityTag, addStructureReference, disableTickSchedulers, enableTickSchedulers, getBiomeArray, getBlockEntities, getBlockEntity, getBlockEntityPositions, getBlockEntityTag, getBlockTickScheduler, getBottomSectionLimit, getFluidState, getFluidTickScheduler, getHeightmap, getHeightmaps, getInhabitedTime, getLightSourcesStream, getPackedBlockEntityTag, getPos, getPostProcessingLists, getSectionArray, getSectionCount, getStatus, getStructureReferences, getStructureReferences, getStructureStart, getStructureStarts, getUpgradeData, getWorld, isLightOn, loadFromPacket, loadToWorld, method_31712, needsSaving, runPostProcessing, sampleHeightmap, setHeightmap, setInhabitedTime, setLevelTypeProvider, setLightOn, setLoadedToWorld, setShouldSave, setStructureReferences, setStructureStart, setStructureStarts, updateAllBlockEntityTickersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHighestNonEmptySection, getHighestNonEmptySectionYOffset, getList, markBlockForPostProcessing, markBlockForPostProcessinggetDismountHeight, getDismountHeight, getMaxLightLevel, method_29546, raycast, raycast, raycastBlockgetBottomHeightLimit, getHeight, getSection, getSectionIndex, getSectionIndexFromSection, getTopHeightLimit, getTopSectionLimit, isOutOfHeightLimit, isOutOfHeightLimitprivate 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)
@Nullable public BlockEntity getBlockEntity(BlockPos pos, WorldChunk.CreationType creationType)
getBlockEntity in class WorldChunkpublic void addBlockEntity(BlockEntity blockEntity)
addBlockEntity in class WorldChunkpublic void setBlockEntity(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 boolean isEmpty()
isEmpty in class WorldChunkpublic boolean areSectionsEmptyBetween(int lowerHeight,
int upperHeight)
public ChunkHolder.LevelType getLevelType()
getLevelType in class WorldChunk