Package net.minecraft.world
Interface IDayTimeReader
- All Superinterfaces:
BiomeManager.IBiomeReader,IBlockDisplayReader,IBlockReader,ICollisionReader,IWorldReader
- All Known Subinterfaces:
ISeedReader,IServerWorld,IWorld
- All Known Implementing Classes:
ClientWorld,ServerWorld,World,WorldGenRegion
-
Method Summary
Modifier and TypeMethodDescriptionlongdayTime()default floatdefault intdefault floatgetTimeOfDay(float p_242415_1_) Methods inherited from interface net.minecraft.world.IBlockDisplayReader
canSeeSky, getBrightness, getLightEngine, getRawBrightness, getShadeMethods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxBuildHeight, getMaxLightLevelMethods inherited from interface net.minecraft.world.ICollisionReader
getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollisionMethods inherited from interface net.minecraft.world.IWorldReader
canSeeSkyFromBelowWater, containsAnyLiquid, dimensionType, getBiome, getBiomeManager, getBlockStatesIfLoaded, getBlockTint, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkForCollisions, getDirectSignal, getHeight, getHeightmapPos, getMaxLocalRawBrightness, getMaxLocalRawBrightness, getNoiseBiome, getSeaLevel, getSkyDarken, getUncachedNoiseBiome, hasChunk, hasChunkAt, hasChunksAt, hasChunksAt, isAreaLoaded, isClientSide, isEmptyBlock, isWaterAt
-
Method Details
-
dayTime
long dayTime() -
getMoonBrightness
default float getMoonBrightness() -
getTimeOfDay
default float getTimeOfDay(float p_242415_1_) -
getMoonPhase
default int getMoonPhase()
-