mirror of https://github.com/FabricMC/yarn.git
Map some lunar cycle related logic. (#1638)
* Map some lunar cycle related logic. * Update mappings/net/minecraft/world/dimension/DimensionType.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Update mappings/net/minecraft/world/LunarWorldView.mapping Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> * Moon phases was decided * getLunarTime is better * Update mappings/net/minecraft/world/dimension/DimensionType.mapping Co-authored-by: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/world/dimension/DimensionType.mapping Co-authored-by: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
This commit is contained in:
parent
96ce5a1fcd
commit
48b45b314a
|
@ -0,0 +1,12 @@
|
|||
CLASS net/minecraft/class_5424 net/minecraft/world/LunarWorldView
|
||||
METHOD method_30271 getLunarTime ()J
|
||||
METHOD method_30272 getMoonSize ()F
|
||||
COMMENT Gets the current size of the moon in the world.
|
||||
COMMENT
|
||||
COMMENT @return the size of the moon on a scale of {@code 0.0F} to {@code 1.0F}
|
||||
METHOD method_30273 getMoonPhase ()I
|
||||
COMMENT Gets the moon phase index of Minecraft's moon.
|
||||
COMMENT
|
||||
COMMENT <p>This is typically used to determine the size of the moon that should be rendered.
|
||||
METHOD method_30274 (F)F
|
||||
ARG 1 tickDelta
|
|
@ -3,6 +3,7 @@ CLASS net/minecraft/class_2874 net/minecraft/world/dimension/DimensionType
|
|||
FIELD field_20658 biomeAccessType Lnet/minecraft/class_4545;
|
||||
FIELD field_24504 hasCeiling Z
|
||||
FIELD field_24505 ultrawarm Z
|
||||
FIELD field_24752 MOON_SIZES [F
|
||||
FIELD field_24753 OVERWORLD_REGISTRY_KEY Lnet/minecraft/class_5321;
|
||||
FIELD field_24754 THE_NETHER_REGISTRY_KEY Lnet/minecraft/class_5321;
|
||||
FIELD field_24755 THE_END_REGISTRY_KEY Lnet/minecraft/class_5321;
|
||||
|
@ -65,6 +66,14 @@ CLASS net/minecraft/class_2874 net/minecraft/world/dimension/DimensionType
|
|||
ARG 0 seed
|
||||
METHOD method_28523 addRegistryDefaults (Lnet/minecraft/class_5455$class_5457;)Lnet/minecraft/class_5455$class_5457;
|
||||
ARG 0 registryManager
|
||||
METHOD method_28528 (J)F
|
||||
ARG 1 time
|
||||
METHOD method_28531 getMoonPhase (J)I
|
||||
COMMENT Gets the moon phase index of Minecraft's moon.
|
||||
COMMENT
|
||||
COMMENT <p>This is typically used to determine the size of the moon that should be rendered.
|
||||
ARG 1 time
|
||||
COMMENT the time to calculate the index from
|
||||
METHOD method_28533 createEndGenerator (J)Lnet/minecraft/class_2794;
|
||||
ARG 0 seed
|
||||
METHOD method_28535 createNetherGenerator (J)Lnet/minecraft/class_2794;
|
||||
|
|
Loading…
Reference in New Issue