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
Fields inherited from class net.minecraft.world.chunk.Chunk
EMPTY_SECTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBlockEntity
(TileEntity p_150813_1_) void
getBlockEntity
(BlockPos p_177424_1_, Chunk.CreateEntityType p_177424_2_) getBlockState
(BlockPos p_180495_1_) void
getEntities
(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_) int
getLightEmission
(BlockPos p_217298_1_) boolean
isEmpty()
boolean
isYSpaceEmpty
(int p_76606_1_, int p_76606_2_) void
void
removeBlockEntity
(BlockPos p_177425_1_) void
removeEntity
(Entity p_76622_1_) void
removeEntity
(Entity p_76608_1_, int p_76608_2_) void
setBlockEntity
(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, 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 Details
-
BIOMES
-
-
Constructor Details
-
EmptyChunk
-
-
Method Details
-
getBlockState
- Specified by:
getBlockState
in interfaceIBlockReader
- Overrides:
getBlockState
in classChunk
-
setBlockState
@Nullable public BlockState setBlockState(BlockPos p_177436_1_, BlockState p_177436_2_, boolean p_177436_3_) - Specified by:
setBlockState
in interfaceIChunk
- Overrides:
setBlockState
in classChunk
-
getFluidState
- Specified by:
getFluidState
in interfaceIBlockReader
- Overrides:
getFluidState
in classChunk
-
getLightEngine
- Overrides:
getLightEngine
in classChunk
-
getLightEmission
-
addEntity
-
removeEntity
- Overrides:
removeEntity
in classChunk
-
removeEntity
- Overrides:
removeEntity
in classChunk
-
getBlockEntity
@Nullable public TileEntity getBlockEntity(BlockPos p_177424_1_, Chunk.CreateEntityType p_177424_2_) - Overrides:
getBlockEntity
in classChunk
-
addBlockEntity
- Overrides:
addBlockEntity
in classChunk
-
setBlockEntity
- Specified by:
setBlockEntity
in interfaceIChunk
- Overrides:
setBlockEntity
in classChunk
-
removeBlockEntity
- Specified by:
removeBlockEntity
in interfaceIChunk
- Overrides:
removeBlockEntity
in classChunk
-
markUnsaved
public void markUnsaved()- Overrides:
markUnsaved
in 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:
getEntities
in 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:
getEntitiesOfClass
in classChunk
-
isEmpty
public boolean isEmpty() -
isYSpaceEmpty
public boolean isYSpaceEmpty(int p_76606_1_, int p_76606_2_) -
getFullStatus
- Overrides:
getFullStatus
in classChunk
-