mirror of https://github.com/FabricMC/yarn.git
ServerWorld: add weather and time mappings (#1570)
* ServerWorld: add weather and time mappings * ServerWorldProperties: set time methods
This commit is contained in:
parent
79b3bf1c4b
commit
79511e488a
|
@ -17,6 +17,7 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
|
|||
FIELD field_18264 inEntityTick Z
|
||||
FIELD field_18811 raidManager Lnet/minecraft/class_3767;
|
||||
FIELD field_23787 structureAccessor Lnet/minecraft/class_5138;
|
||||
FIELD field_24456 worldProperties Lnet/minecraft/class_5268;
|
||||
FIELD field_24624 serverChunkManager Lnet/minecraft/class_3215;
|
||||
FIELD field_25141 spawners Ljava/util/List;
|
||||
FIELD field_25142 enderDragonFight Lnet/minecraft/class_2881;
|
||||
|
@ -164,9 +165,16 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
|
|||
ARG 3 radius
|
||||
METHOD method_27056 getStructureAccessor ()Lnet/minecraft/class_5138;
|
||||
METHOD method_27909 iterateEntities ()Ljava/lang/Iterable;
|
||||
METHOD method_27910 setWeather (IIZZ)V
|
||||
ARG 1 clearDuration
|
||||
ARG 2 rainDuration
|
||||
ARG 3 raining
|
||||
ARG 4 thundering
|
||||
METHOD method_27911 getSpawnPos ()Lnet/minecraft/class_2338;
|
||||
METHOD method_28125 isFlat ()Z
|
||||
METHOD method_29198 getEnderDragonFight ()Lnet/minecraft/class_2881;
|
||||
METHOD method_29199 setTimeOfDay (J)V
|
||||
ARG 1 timeOfDay
|
||||
METHOD method_29200 createEndSpawnPlatform (Lnet/minecraft/class_3218;)V
|
||||
ARG 0 world
|
||||
METHOD method_29202 tickSpawners (ZZ)V
|
||||
|
|
|
@ -30,3 +30,7 @@ CLASS net/minecraft/class_5268 net/minecraft/world/level/ServerWorldProperties
|
|||
METHOD method_27415 setWorldBorder (Lnet/minecraft/class_2784$class_5200;)V
|
||||
ARG 1 properties
|
||||
METHOD method_27422 getWorldBorder ()Lnet/minecraft/class_2784$class_5200;
|
||||
METHOD method_29034 setTime (J)V
|
||||
ARG 1 time
|
||||
METHOD method_29035 setTimeOfDay (J)V
|
||||
ARG 1 time
|
||||
|
|
Loading…
Reference in New Issue