接口 LunarWorldView
-
- 所有已知子接口:
ServerWorldAccess,StructureWorldAccess,WorldAccess
- 所有已知实现类:
ChunkRegion,ClientWorld,ServerWorld,World
public interface LunarWorldView extends WorldView
- Mappings:
Namespace Name official bvyintermediary net/minecraft/class_5424named net/minecraft/world/LunarWorldView
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 longgetLunarTime()default intgetMoonPhase()Gets the moon phase index of Minecraft's moon.default floatgetMoonSize()Gets the current size of the moon in the world.default floatgetSkyAngle(float tickDelta)-
从接口继承的方法 net.minecraft.world.biome.source.BiomeAccess.Storage
getBiomeForNoiseGen
-
从接口继承的方法 net.minecraft.world.BlockRenderView
getBaseLightLevel, getBrightness, getLightingProvider, getLightLevel, isSkyVisible
-
从接口继承的方法 net.minecraft.world.BlockView
getBlockEntity, getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
-
从接口继承的方法 net.minecraft.world.CollisionView
canPlace, getBlockCollisions, getBlockCollisions, getCollisions, getEntityCollisions, getWorldBorder, intersectsEntities, intersectsEntities, isBlockSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, isSpaceEmpty, method_33594
-
从接口继承的方法 net.minecraft.world.HeightLimitView
countVerticalSections, getBottomSectionCoord, getSectionIndex, getTopSectionCoord, getTopY, isOutOfHeightLimit, isOutOfHeightLimit, sectionCoordToIndex, sectionIndexToCoord
-
从接口继承的方法 net.minecraft.world.WorldView
containsFluid, getAmbientDarkness, getBiome, getBiomeAccess, getBiomeForNoiseGen, getBottomY, getBrightness, getChunk, getChunk, getChunk, getChunk, getChunkAsView, getColor, getDimension, getGeneratorStoredBiome, getHeight, getLightLevel, getLightLevel, getSeaLevel, getStatesInBoxIfLoaded, getStrongRedstonePower, getTopPosition, getTopY, isAir, isChunkLoaded, isChunkLoaded, isClient, isPosLoaded, isRegionLoaded, isRegionLoaded, isRegionLoaded, isSkyVisibleAllowingSea, isWater
-
-
-
-
方法详细资料
-
getLunarTime
long getLunarTime()
- Mappings:
Namespace Name Mixin selector official aeLbvy;ae()Jintermediary method_30271Lnet/minecraft/class_5424;method_30271()Jnamed getLunarTimeLnet/minecraft/world/LunarWorldView;getLunarTime()J
-
getMoonSize
default float getMoonSize()
Gets the current size of the moon in the world.- 返回:
- the size of the moon on a scale of
0.0Fto1.0F - Mappings:
Namespace Name Mixin selector official akLbvy;ak()Fintermediary method_30272Lnet/minecraft/class_5424;method_30272()Fnamed getMoonSizeLnet/minecraft/world/LunarWorldView;getMoonSize()F
-
getSkyAngle
default float getSkyAngle(float tickDelta)
- Mappings:
Namespace Name Mixin selector official fLbvy;f(F)Fintermediary method_30274Lnet/minecraft/class_5424;method_30274(F)Fnamed getSkyAngleLnet/minecraft/world/LunarWorldView;getSkyAngle(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 official alLbvy;al()Iintermediary method_30273Lnet/minecraft/class_5424;method_30273()Inamed getMoonPhaseLnet/minecraft/world/LunarWorldView;getMoonPhase()I
-
-