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 - official - cmt- intermediary - net/minecraft/class_5424- named - net/minecraft/world/LunarWorldView
- 
Field SummaryFields inherited from interface net.minecraft.world.RedstoneViewDIRECTIONS
- 
Method SummaryModifier 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 tickDelta) Methods inherited from interface net.minecraft.world.BlockRenderViewgetBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisibleMethods inherited from interface net.minecraft.world.BlockViewgetBlockEntity, getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlockMethods inherited from interface net.minecraft.world.CollisionViewcanCollide, canPlace, doesNotIntersectEntities, doesNotIntersectEntities, findClosestCollision, findSupportingBlockPos, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, isSpaceEmpty, isSpaceEmpty, isSpaceEmptyMethods inherited from interface net.minecraft.world.HeightLimitViewcountVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoordMethods inherited from interface net.minecraft.world.RedstoneViewgetEmittedRedstonePower, getEmittedRedstonePower, getReceivedRedstonePower, getReceivedStrongRedstonePower, getStrongRedstonePower, isEmittingRedstonePower, isReceivingRedstonePowerMethods inherited from interface net.minecraft.world.WorldViewcontainsFluid, 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, isAir, isChunkLoaded, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
- 
Method Details- 
getLunarTimelong getLunarTime()- Mappings:
- Namespace - Name - Mixin selector - official - ah- Lcmt;ah()J- intermediary - method_30271- Lnet/minecraft/class_5424;method_30271()J- named - getLunarTime- Lnet/minecraft/world/LunarWorldView;getLunarTime()J
 
- 
getMoonSizedefault 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 - official - an- Lcmt;an()F- intermediary - method_30272- Lnet/minecraft/class_5424;method_30272()F- named - getMoonSize- Lnet/minecraft/world/LunarWorldView;getMoonSize()F
 
- 
getSkyAngledefault float getSkyAngle(float tickDelta) - Mappings:
- Namespace - Name - Mixin selector - official - f- Lcmt;f(F)F- intermediary - method_30274- Lnet/minecraft/class_5424;method_30274(F)F- named - getSkyAngle- Lnet/minecraft/world/LunarWorldView;getSkyAngle(F)F
 
- 
getMoonPhasedefault 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 - official - ao- Lcmt;ao()I- intermediary - method_30273- Lnet/minecraft/class_5424;method_30273()I- named - getMoonPhase- Lnet/minecraft/world/LunarWorldView;getMoonPhase()I
 
 
-