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
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.chunk.Chunk
Chunk.CreateEntityType -
Field Summary
FieldsFields inherited from class net.minecraft.world.chunk.Chunk
EMPTY_SECTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBlockEntity(TileEntity p_150813_1_) voidgetBlockEntity(BlockPos p_177424_1_, Chunk.CreateEntityType p_177424_2_) getBlockState(BlockPos p_180495_1_) voidgetEntities(Entity p_177414_1_, AxisAlignedBB p_177414_2_, List<Entity> p_177414_3_, Predicate<? super Entity> p_177414_4_) <T extends Entity>
voidgetEntitiesOfClass(Class<? extends T> p_177430_1_, AxisAlignedBB p_177430_2_, List<T> p_177430_3_, Predicate<? super T> p_177430_4_) getFluidState(BlockPos p_204610_1_) intgetLightEmission(BlockPos p_217298_1_) booleanisEmpty()booleanisYSpaceEmpty(int p_76606_1_, int p_76606_2_) voidvoidremoveBlockEntity(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_) setBlockState(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, writeCapsToNBTMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getMaxBuildHeight, getMaxLightLevelMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapabilityMethods inherited from interface net.minecraft.world.chunk.IChunk
addPackedPostProcess, getHighestSection, getHighestSectionPosition, markPosForPostprocessing
-
Field Details
-
BIOMES
-
-
Constructor Details
-
EmptyChunk
-
-
Method Details
-
getBlockState
- 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
- Specified by:
getFluidStatein interfaceIBlockReader- Overrides:
getFluidStatein classChunk
-
getLightEngine
- Overrides:
getLightEnginein classChunk
-
getLightEmission
-
addEntity
-
removeEntity
- Overrides:
removeEntityin classChunk
-
removeEntity
- Overrides:
removeEntityin classChunk
-
getBlockEntity
@Nullable public TileEntity getBlockEntity(BlockPos p_177424_1_, Chunk.CreateEntityType p_177424_2_) - Overrides:
getBlockEntityin classChunk
-
addBlockEntity
- Overrides:
addBlockEntityin classChunk
-
setBlockEntity
- Specified by:
setBlockEntityin interfaceIChunk- Overrides:
setBlockEntityin classChunk
-
removeBlockEntity
- 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_, List<Entity> p_177414_3_, Predicate<? super Entity> p_177414_4_) - Overrides:
getEntitiesin classChunk
-
getEntitiesOfClass
public <T extends Entity> void getEntitiesOfClass(Class<? extends T> p_177430_1_, AxisAlignedBB p_177430_2_, List<T> p_177430_3_, Predicate<? super T> p_177430_4_) - Overrides:
getEntitiesOfClassin classChunk
-
isEmpty
public boolean isEmpty() -
isYSpaceEmpty
public boolean isYSpaceEmpty(int p_76606_1_, int p_76606_2_) -
getFullStatus
- Overrides:
getFullStatusin classChunk
-