java.lang.Object
net.minecraft.world.level.chunk.ChunkAccess
net.minecraft.world.level.chunk.LevelChunk
com.simibubi.create.foundation.utility.worldWrappers.chunk.EmptierChunk
All Implemented Interfaces:
net.minecraft.world.level.biome.BiomeManager.NoiseBiomeSource, net.minecraft.world.level.BlockGetter, net.minecraft.world.level.chunk.FeatureAccess, net.minecraft.world.level.LevelHeightAccessor, net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.chunk.LevelChunk>

public class EmptierChunk extends net.minecraft.world.level.chunk.LevelChunk
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.level.chunk.LevelChunk

    net.minecraft.world.level.chunk.LevelChunk.EntityCreationType, net.minecraft.world.level.chunk.LevelChunk.PostLoadProcessor

    Nested classes/interfaces inherited from class net.minecraft.world.level.chunk.ChunkAccess

    net.minecraft.world.level.chunk.ChunkAccess.TicksToSave
  • Field Summary

    Fields inherited from class net.minecraft.world.level.chunk.ChunkAccess

    blendingData, blockEntities, chunkPos, heightmaps, levelHeightAccessor, noiseChunk, pendingBlockEntities, postProcessing, sections, unsaved, upgradeData
  • Constructor Summary

    Constructors
    Constructor
    Description
    EmptierChunk(net.minecraft.core.RegistryAccess registryAccess)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAndRegisterBlockEntity(net.minecraft.world.level.block.entity.BlockEntity p_150813_1_)
     
    net.minecraft.world.level.block.entity.BlockEntity
    getBlockEntity(net.minecraft.core.BlockPos p_177424_1_, net.minecraft.world.level.chunk.LevelChunk.EntityCreationType p_177424_2_)
     
    net.minecraft.world.level.block.state.BlockState
    getBlockState(net.minecraft.core.BlockPos p_180495_1_)
     
    net.minecraft.world.level.material.FluidState
    getFluidState(net.minecraft.core.BlockPos p_204610_1_)
     
    net.minecraft.server.level.ChunkHolder.FullChunkStatus
     
    int
    getLightEmission(net.minecraft.core.BlockPos p_217298_1_)
     
    boolean
     
    boolean
    isYSpaceEmpty(int p_76606_1_, int p_76606_2_)
     
    void
     
    void
    removeBlockEntity(net.minecraft.core.BlockPos p_177425_1_)
     
    void
    setBlockEntity(net.minecraft.world.level.block.entity.BlockEntity p_177426_2_)
     
    net.minecraft.world.level.block.state.BlockState
    setBlockState(net.minecraft.core.BlockPos p_177436_1_, net.minecraft.world.level.block.state.BlockState p_177436_2_, boolean p_177436_3_)
     

    Methods inherited from class net.minecraft.world.level.chunk.LevelChunk

    addEntity, areCapsCompatible, areCapsCompatible, clearAllBlockEntities, getBlockEntities, getBlockEntity, getBlockEntityNbtForSaving, getBlockTicks, getCapability, getEventDispatcher, getFluidState, getFluidTicks, getLevel, getLights, getStatus, getTicksForSerialization, getWorldForge, invalidateCaps, isClientLightReady, postProcessGeneration, readCapsFromNBT, registerAllBlockEntitiesAfterLevelLoad, registerTickContainerInLevel, replaceWithPacketData, reviveCaps, runPostLoad, setClientLightReady, setFullStatus, setLoaded, unpackTicks, unregisterTickContainerFromLevel, writeCapsToNBT

    Methods inherited from class net.minecraft.world.level.chunk.ChunkAccess

    addPackedPostProcess, addReferenceForFeature, carverBiome, fillBiomesFromNoise, getAllReferences, getAllStarts, getBelowZeroRetrogen, getBlendingData, getBlockEntitiesPos, getBlockEntityNbt, getHeight, getHeight, getHeightAccessorForGeneration, getHeightmaps, getHighestSection, getHighestSectionPosition, getInhabitedTime, getMinBuildHeight, getNoiseBiome, getOrCreateHeightmapUnprimed, getOrCreateNoiseChunk, getOrCreateOffsetList, getPos, getPostProcessing, getReferencesForFeature, getSection, getSections, getStartForFeature, getUpgradeData, hasAnyStructureReferences, hasPrimedHeightmap, incrementInhabitedTime, isLightCorrect, isOldNoiseGeneration, isUnsaved, isUpgrading, markPosForPostprocessing, setAllReferences, setAllStarts, setBlendingData, setBlockEntityNbt, setHeightmap, setInhabitedTime, setLightCorrect, setStartForFeature, setUnsaved

    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.level.BlockGetter

    clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getMaxLightLevel, isBlockInLine

    Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider

    getCapability

    Methods inherited from interface net.minecraft.world.level.LevelHeightAccessor

    getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
  • Constructor Details

    • EmptierChunk

      public EmptierChunk(net.minecraft.core.RegistryAccess registryAccess)
  • Method Details

    • getBlockState

      public net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos p_180495_1_)
      Specified by:
      getBlockState in interface net.minecraft.world.level.BlockGetter
      Overrides:
      getBlockState in class net.minecraft.world.level.chunk.LevelChunk
    • setBlockState

      @Nullable public net.minecraft.world.level.block.state.BlockState setBlockState(net.minecraft.core.BlockPos p_177436_1_, net.minecraft.world.level.block.state.BlockState p_177436_2_, boolean p_177436_3_)
      Overrides:
      setBlockState in class net.minecraft.world.level.chunk.LevelChunk
    • getFluidState

      public net.minecraft.world.level.material.FluidState getFluidState(net.minecraft.core.BlockPos p_204610_1_)
      Specified by:
      getFluidState in interface net.minecraft.world.level.BlockGetter
      Overrides:
      getFluidState in class net.minecraft.world.level.chunk.LevelChunk
    • getLightEmission

      public int getLightEmission(net.minecraft.core.BlockPos p_217298_1_)
    • getBlockEntity

      @Nullable public net.minecraft.world.level.block.entity.BlockEntity getBlockEntity(net.minecraft.core.BlockPos p_177424_1_, net.minecraft.world.level.chunk.LevelChunk.EntityCreationType p_177424_2_)
      Overrides:
      getBlockEntity in class net.minecraft.world.level.chunk.LevelChunk
    • addAndRegisterBlockEntity

      public void addAndRegisterBlockEntity(net.minecraft.world.level.block.entity.BlockEntity p_150813_1_)
      Overrides:
      addAndRegisterBlockEntity in class net.minecraft.world.level.chunk.LevelChunk
    • setBlockEntity

      public void setBlockEntity(net.minecraft.world.level.block.entity.BlockEntity p_177426_2_)
      Overrides:
      setBlockEntity in class net.minecraft.world.level.chunk.LevelChunk
    • removeBlockEntity

      public void removeBlockEntity(net.minecraft.core.BlockPos p_177425_1_)
      Overrides:
      removeBlockEntity in class net.minecraft.world.level.chunk.LevelChunk
    • markUnsaved

      public void markUnsaved()
    • isEmpty

      public boolean isEmpty()
      Overrides:
      isEmpty in class net.minecraft.world.level.chunk.LevelChunk
    • isYSpaceEmpty

      public boolean isYSpaceEmpty(int p_76606_1_, int p_76606_2_)
      Overrides:
      isYSpaceEmpty in class net.minecraft.world.level.chunk.ChunkAccess
    • getFullStatus

      public net.minecraft.server.level.ChunkHolder.FullChunkStatus getFullStatus()
      Overrides:
      getFullStatus in class net.minecraft.world.level.chunk.LevelChunk