Package net.minecraft.world.chunk
Class EmptyChunk
- java.lang.Object
-
- net.minecraftforge.common.capabilities.CapabilityProvider<Chunk>
-
- net.minecraft.world.chunk.Chunk
-
- net.minecraft.world.chunk.EmptyChunk
-
- All Implemented Interfaces:
IChunk,IBlockReader,IStructureReader,ICapabilityProvider,IForgeChunk
public class EmptyChunk extends Chunk
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.world.chunk.Chunk
Chunk.CreateEntityType
-
-
Field Summary
Fields Modifier and Type Field Description private static Biome[]BIOMES-
Fields inherited from class net.minecraft.world.chunk.Chunk
EMPTY_SECTION
-
-
Constructor Summary
Constructors Constructor Description EmptyChunk(World p_i49950_1_, ChunkPos p_i49950_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddBlockEntity(TileEntity p_150813_1_)voidaddEntity(Entity p_76612_1_)TileEntitygetBlockEntity(BlockPos p_177424_1_, Chunk.CreateEntityType p_177424_2_)BlockStategetBlockState(BlockPos p_180495_1_)voidgetEntities(Entity p_177414_1_, AxisAlignedBB p_177414_2_, java.util.List<Entity> p_177414_3_, java.util.function.Predicate<? super Entity> p_177414_4_)<T extends Entity>
voidgetEntitiesOfClass(java.lang.Class<? extends T> p_177430_1_, AxisAlignedBB p_177430_2_, java.util.List<T> p_177430_3_, java.util.function.Predicate<? super T> p_177430_4_)FluidStategetFluidState(BlockPos p_204610_1_)ChunkHolder.LocationTypegetFullStatus()intgetLightEmission(BlockPos p_217298_1_)WorldLightManagergetLightEngine()booleanisEmpty()booleanisYSpaceEmpty(int p_76606_1_, int p_76606_2_)voidmarkUnsaved()voidremoveBlockEntity(BlockPos p_177425_1_)voidremoveEntity(Entity p_76622_1_)voidremoveEntity(Entity p_76608_1_, int p_76608_2_)voidsetBlockEntity(BlockPos p_177426_1_, TileEntity p_177426_2_)BlockStatesetBlockState(BlockPos p_177436_1_, BlockState p_177436_2_, boolean p_177436_3_)-
Methods inherited from class net.minecraft.world.chunk.Chunk
addReferenceForFeature, getAllReferences, getAllStarts, getBiomes, getBlockEntities, getBlockEntitiesPos, getBlockEntity, getBlockEntityNbt, getBlockEntityNbtForSaving, getBlockTicks, getEntities, getEntitySections, getFluidState, getHeight, getHeightmaps, getInhabitedTime, getLevel, getLights, getLiquidTicks, getOrCreateHeightmapUnprimed, getPos, getPostProcessing, getReferencesForFeature, getSections, getStartForFeature, getStatus, getUpgradeData, getWorldForge, isLightCorrect, isUnsaved, packTicks, postProcessGeneration, readCapsFromNBT, replaceWithPacketData, runPostLoad, setAllReferences, setAllStarts, setBlockEntityNbt, setFullStatus, setHeightmap, setInhabitedTime, setLastSaveHadEntities, setLastSaveTime, setLightCorrect, setLoaded, setStartForFeature, setUnsaved, unpackTicks, writeCapsToNBT
-
Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getMaxBuildHeight, getMaxLightLevel
-
Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
-
Methods inherited from interface net.minecraft.world.chunk.IChunk
addPackedPostProcess, getHighestSection, getHighestSectionPosition, markPosForPostprocessing
-
-
-
-
Field Detail
-
BIOMES
private static final Biome[] BIOMES
-
-
Method Detail
-
getBlockState
public BlockState getBlockState(BlockPos p_180495_1_)
- Specified by:
getBlockStatein interfaceIBlockReader- Overrides:
getBlockStatein classChunk
-
setBlockState
@Nullable public BlockState setBlockState(BlockPos p_177436_1_, BlockState p_177436_2_, boolean p_177436_3_)
- Specified by:
setBlockStatein interfaceIChunk- Overrides:
setBlockStatein classChunk
-
getFluidState
public FluidState getFluidState(BlockPos p_204610_1_)
- Specified by:
getFluidStatein interfaceIBlockReader- Overrides:
getFluidStatein classChunk
-
getLightEngine
@Nullable public WorldLightManager getLightEngine()
- Overrides:
getLightEnginein classChunk
-
getLightEmission
public int getLightEmission(BlockPos p_217298_1_)
-
addEntity
public void addEntity(Entity p_76612_1_)
-
removeEntity
public void removeEntity(Entity p_76622_1_)
- Overrides:
removeEntityin classChunk
-
removeEntity
public void removeEntity(Entity p_76608_1_, int p_76608_2_)
- Overrides:
removeEntityin classChunk
-
getBlockEntity
@Nullable public TileEntity getBlockEntity(BlockPos p_177424_1_, Chunk.CreateEntityType p_177424_2_)
- Overrides:
getBlockEntityin classChunk
-
addBlockEntity
public void addBlockEntity(TileEntity p_150813_1_)
- Overrides:
addBlockEntityin classChunk
-
setBlockEntity
public void setBlockEntity(BlockPos p_177426_1_, TileEntity p_177426_2_)
- Specified by:
setBlockEntityin interfaceIChunk- Overrides:
setBlockEntityin classChunk
-
removeBlockEntity
public void removeBlockEntity(BlockPos p_177425_1_)
- Specified by:
removeBlockEntityin interfaceIChunk- Overrides:
removeBlockEntityin classChunk
-
markUnsaved
public void markUnsaved()
- Overrides:
markUnsavedin classChunk
-
getEntities
public void getEntities(@Nullable Entity p_177414_1_, AxisAlignedBB p_177414_2_, java.util.List<Entity> p_177414_3_, java.util.function.Predicate<? super Entity> p_177414_4_)- Overrides:
getEntitiesin classChunk
-
getEntitiesOfClass
public <T extends Entity> void getEntitiesOfClass(java.lang.Class<? extends T> p_177430_1_, AxisAlignedBB p_177430_2_, java.util.List<T> p_177430_3_, java.util.function.Predicate<? super T> p_177430_4_)
- Overrides:
getEntitiesOfClassin classChunk
-
isYSpaceEmpty
public boolean isYSpaceEmpty(int p_76606_1_, int p_76606_2_)
-
getFullStatus
public ChunkHolder.LocationType getFullStatus()
- Overrides:
getFullStatusin classChunk
-
-