Package net.minecraft.world.level
Interface LevelTimeAccess
- All Superinterfaces:
- BiomeManager.NoiseBiomeSource,- BlockAndTintGetter,- BlockGetter,- CollisionGetter,- IForgeBlockAndTintGetter,- IForgeBlockGetter,- LevelHeightAccessor,- LevelReader,- SignalGetter
- All Known Subinterfaces:
- LevelAccessor,- ServerLevelAccessor,- WorldGenLevel
- All Known Implementing Classes:
- ClientLevel,- Level,- ServerLevel,- WorldGenRegion
- 
Field SummaryFields inherited from interface net.minecraft.world.level.SignalGetterDIRECTIONS
- 
Method SummaryModifier and TypeMethodDescriptionlongdayTime()default floatdefault intdefault floatgetTimeOfDay(float p_46943_) Methods inherited from interface net.minecraft.world.level.BlockAndTintGettercanSeeSky, getBrightness, getLightEngine, getRawBrightness, getShadeMethods inherited from interface net.minecraft.world.level.BlockGetterclip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGettercollidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollisionMethods inherited from interface net.minecraftforge.client.extensions.IForgeBlockAndTintGettergetShadeMethods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGettergetExistingBlockEntity, getModelDataManagerMethods inherited from interface net.minecraft.world.level.LevelHeightAccessorgetMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeightMethods inherited from interface net.minecraft.world.level.LevelReadercanSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, enabledFeatures, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getHeight, getHeight, getHeightmapPos, getLightLevelDependentMagicValue, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getMinBuildHeight, getNoiseBiome, getPathfindingCostFromLightLevels, getSeaLevel, getSkyDarken, getUncachedNoiseBiome, hasChunk, hasChunkAt, hasChunkAt, hasChunksAt, hasChunksAt, hasChunksAt, holderLookup, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAt, registryAccessMethods inherited from interface net.minecraft.world.level.SignalGettergetBestNeighborSignal, getControlInputSignal, getDirectSignal, getDirectSignalTo, getSignal, hasNeighborSignal, hasSignal
- 
Method Details- 
dayTimelong dayTime()
- 
getMoonBrightnessdefault float getMoonBrightness()
- 
getTimeOfDaydefault float getTimeOfDay(float p_46943_) 
- 
getMoonPhasedefault int getMoonPhase()
 
-