Package net.minecraft.world
Interface LunarWorldView
- All Superinterfaces:
BiomeAccess.Storage,BlockRenderView,BlockView,CollisionView,HeightLimitView,RedstoneView,WorldView
- All Known Subinterfaces:
ServerWorldAccess,StructureWorldAccess,WorldAccess
- All Known Implementing Classes:
ChunkRegion,ClientWorld,ServerWorld,World
- Mappings:
Namespace Name named net/minecraft/world/LunarWorldViewintermediary net/minecraft/class_5424official dkq
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.BlockView
BlockView.CollisionVisitor -
Field Summary
Fields inherited from interface net.minecraft.world.BlockView
field_54147Fields inherited from interface net.minecraft.world.RedstoneView
DIRECTIONS -
Method Summary
Modifier and TypeMethodDescriptionlongdefault intGets the moon phase index of Minecraft's moon.default floatGets the current size of the moon in the world.default floatgetSkyAngle(float tickProgress) Methods inherited from interface net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionView
canCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getBlockOrFluidCollisions, getCollisions, getCollisionsIncludingWorldBorder, getEntityCollisions, getWorldBorder, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopYInclusive, isInHeightLimit, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoordMethods inherited from interface net.minecraft.world.RedstoneView
getEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePowerMethods inherited from interface net.minecraft.world.WorldView
containsFluid, createCommandRegistryWrapper, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getEnabledFeatures, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getPhototaxisFavor, getRegistryManager, getSeaLevel, getStatesInBoxIfLoaded, getTopPosition, getTopY, getTopY, isAir, isChunkLoaded, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
Method Details
-
getLunarTime
long getLunarTime()- Mappings:
Namespace Name Mixin selector named getLunarTimeLnet/minecraft/world/LunarWorldView;getLunarTime()Jintermediary method_30271Lnet/minecraft/class_5424;method_30271()Jofficial amLdkq;am()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.0Fto1.0F - Mappings:
Namespace Name Mixin selector named getMoonSizeLnet/minecraft/world/LunarWorldView;getMoonSize()Fintermediary method_30272Lnet/minecraft/class_5424;method_30272()Fofficial asLdkq;as()F
-
getSkyAngle
default float getSkyAngle(float tickProgress) - Mappings:
Namespace Name Mixin selector named getSkyAngleLnet/minecraft/world/LunarWorldView;getSkyAngle(F)Fintermediary method_30274Lnet/minecraft/class_5424;method_30274(F)Fofficial fLdkq;f(F)F
-
getMoonPhase
default int 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 named getMoonPhaseLnet/minecraft/world/LunarWorldView;getMoonPhase()Iintermediary method_30273Lnet/minecraft/class_5424;method_30273()Iofficial atLdkq;at()I
-