Package net.minecraft.world
Interface LunarWorldView
- All Superinterfaces:
BiomeAccess.Storage
,BlockRenderView
,BlockView
,CollisionView
,HeightLimitView
,WorldView
- All Known Subinterfaces:
ServerWorldAccess
,StructureWorldAccess
,WorldAccess
- All Known Implementing Classes:
ChunkRegion
,ClientWorld
,ServerWorld
,World
public interface LunarWorldView extends WorldView
- Mappings:
Namespace Name official buc
intermediary net/minecraft/class_5424
named net/minecraft/world/LunarWorldView
-
Method Summary
Modifier and Type Method Description long
getLunarTime()
default int
getMoonPhase()
Gets the moon phase index of Minecraft's moon.default float
getMoonSize()
Gets the current size of the moon in the world.default float
getSkyAngle(float tickDelta)
Methods inherited from interface net.minecraft.world.biome.source.BiomeAccess.Storage
method_31609
Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisible
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.CollisionView
canPlace, getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, intersectsEntities, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, method_33594
Methods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
Methods inherited from interface net.minecraft.world.WorldView
containsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getSeaLevel, getStrongRedstonePower, getTopPosition, getTopY, isAir, isChunkLoaded, isChunkLoaded, isClient, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater, method_29556, method_33597, method_33598
-
Method Details
-
getLunarTime
long getLunarTime()- Mappings:
Namespace Name Mixin selector official ae
Lbuc;ae()J
intermediary method_30271
Lnet/minecraft/class_5424;method_30271()J
named getLunarTime
Lnet/minecraft/world/LunarWorldView;getLunarTime()J
-
getMoonSize
default float getMoonSize()Gets the current size of the moon in the world.- Returns:
- the size of the moon on a scale of
0.0F
to1.0F
- Mappings:
Namespace Name Mixin selector official ak
Lbuc;ak()F
intermediary method_30272
Lnet/minecraft/class_5424;method_30272()F
named getMoonSize
Lnet/minecraft/world/LunarWorldView;getMoonSize()F
-
getSkyAngle
default float getSkyAngle(float tickDelta)- Mappings:
Namespace Name Mixin selector official f
Lbuc;f(F)F
intermediary method_30274
Lnet/minecraft/class_5424;method_30274(F)F
named getSkyAngle
Lnet/minecraft/world/LunarWorldView;getSkyAngle(F)F
-
getMoonPhase
Gets the moon phase index of Minecraft's moon.This is typically used to determine the size of the moon that should be rendered.
- Mappings:
Namespace Name Mixin selector official al
Lbuc;al()I
intermediary method_30273
Lnet/minecraft/class_5424;method_30273()I
named getMoonPhase
Lnet/minecraft/world/LunarWorldView;getMoonPhase()I
-