Spawn angle mappings (#1581)

This commit is contained in:
Yanis48 2020-07-16 16:46:34 +02:00 committed by GitHub
parent 495216bb07
commit f0cb45fab9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 40 additions and 1 deletions

View File

@ -48,6 +48,7 @@ CLASS net/minecraft/class_638 net/minecraft/client/world/ClientWorld
METHOD method_23789 getLightningTicksLeft ()I
METHOD method_27873 setSpawnPos (Lnet/minecraft/class_2338;F)V
ARG 1 pos
ARG 2 angle
METHOD method_27874 getSpawnPos ()Lnet/minecraft/class_2338;
METHOD method_28103 getSkyProperties ()Lnet/minecraft/class_5294;
METHOD method_29090 tickTime ()V

View File

@ -1,5 +1,8 @@
CLASS net/minecraft/class_2759 net/minecraft/network/packet/s2c/play/PlayerSpawnPositionS2CPacket
FIELD field_12615 pos Lnet/minecraft/class_2338;
FIELD field_26381 angle F
METHOD <init> (Lnet/minecraft/class_2338;F)V
ARG 1 pos
ARG 2 angle
METHOD method_11870 getPos ()Lnet/minecraft/class_2338;
METHOD method_30732 getAngle ()F

View File

@ -4,3 +4,4 @@ CLASS net/minecraft/class_3128 net/minecraft/server/command/SetWorldSpawnCommand
METHOD method_13650 execute (Lnet/minecraft/class_2168;Lnet/minecraft/class_2338;F)I
ARG 0 source
ARG 1 pos
ARG 2 angle

View File

@ -5,3 +5,4 @@ CLASS net/minecraft/class_3127 net/minecraft/server/command/SpawnPointCommand
ARG 0 source
ARG 1 targets
ARG 2 pos
ARG 3 angle

View File

@ -36,6 +36,7 @@ CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
FIELD field_23191 spawnPointDimension Lnet/minecraft/class_5321;
FIELD field_23192 spawnPointPosition Lnet/minecraft/class_2338;
FIELD field_23193 spawnPointSet Z
FIELD field_26353 spawnAngle F
METHOD <init> (Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_3218;Lcom/mojang/authlib/GameProfile;Lnet/minecraft/class_3225;)V
ARG 1 server
ARG 2 world
@ -120,6 +121,8 @@ CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
METHOD method_26284 setSpawnPoint (Lnet/minecraft/class_5321;Lnet/minecraft/class_2338;FZZ)V
ARG 1 dimension
ARG 2 pos
ARG 3 angle
ARG 4 spawnPointSet
METHOD method_26285 isBedTooFarAway (Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
ARG 1 pos
ARG 2 direction
@ -132,3 +135,4 @@ CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
METHOD method_30313 createEndSpawnPlatform (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)V
ARG 1 world
ARG 2 centerPos
METHOD method_30631 getSpawnAngle ()F

View File

@ -197,3 +197,4 @@ CLASS net/minecraft/class_3218 net/minecraft/server/world/ServerWorld
ARG 4 skipExistingChunks
METHOD method_8554 setSpawnPos (Lnet/minecraft/class_2338;F)V
ARG 1 pos
ARG 2 angle

View File

@ -1,9 +1,12 @@
CLASS net/minecraft/class_5269 net/minecraft/world/MutableWorldProperties
METHOD method_187 setSpawnPos (Lnet/minecraft/class_2338;F)V
ARG 1 pos
ARG 2 angle
METHOD method_27416 setSpawnX (I)V
ARG 1 spawnX
METHOD method_27417 setSpawnY (I)V
ARG 1 spawnY
METHOD method_27419 setSpawnZ (I)V
ARG 1 spawnZ
METHOD method_30657 setSpawnAngle (F)V
ARG 1 angle

View File

@ -29,3 +29,6 @@ CLASS net/minecraft/class_5219 net/minecraft/world/SaveProperties
ARG 1 id
METHOD method_27859 getMainWorldProperties ()Lnet/minecraft/class_5268;
METHOD method_28057 getGeneratorOptions ()Lnet/minecraft/class_5285;
METHOD method_29036 getDragonFight ()Lnet/minecraft/class_2487;
METHOD method_29037 setDragonFight (Lnet/minecraft/class_2487;)V
ARG 1 tag

View File

@ -14,3 +14,4 @@ CLASS net/minecraft/class_5217 net/minecraft/world/WorldProperties
METHOD method_207 getDifficulty ()Lnet/minecraft/class_1267;
METHOD method_215 getSpawnX ()I
METHOD method_217 getTimeOfDay ()J
METHOD method_30656 getSpawnAngle ()F

View File

@ -25,6 +25,8 @@ CLASS net/minecraft/class_31 net/minecraft/world/level/LevelProperties
FIELD field_21838 modded Z
FIELD field_24193 worldBorder Lnet/minecraft/class_2784$class_5200;
FIELD field_25029 LOGGER Lorg/apache/logging/log4j/Logger;
FIELD field_25031 dragonFight Lnet/minecraft/class_2487;
FIELD field_26367 spawnAngle F
METHOD <init> (Lcom/mojang/datafixers/DataFixer;ILnet/minecraft/class_2487;ZIIIFJJIIIZIZZZLnet/minecraft/class_2784$class_5200;IILjava/util/UUID;Ljava/util/LinkedHashSet;Lnet/minecraft/class_236;Lnet/minecraft/class_2487;Lnet/minecraft/class_2487;Lnet/minecraft/class_1940;Lnet/minecraft/class_5285;Lcom/mojang/serialization/Lifecycle;)V
ARG 1 dataFixer
ARG 2 dataVersion
@ -33,5 +35,24 @@ CLASS net/minecraft/class_31 net/minecraft/world/level/LevelProperties
ARG 5 spawnX
ARG 6 spawnY
ARG 7 spawnZ
ARG 8 spawnAngle
ARG 9 time
ARG 11 timeOfDay
ARG 13 version
ARG 14 clearWeatherTime
ARG 15 rainTime
ARG 16 raining
ARG 17 thunderTime
ARG 18 thundering
ARG 19 initialized
ARG 20 difficultyLocked
ARG 21 worldBorder
ARG 22 wanderingTraderSpawnDelay
ARG 23 wanderingTraderSpawnChance
ARG 24 wanderingTraderId
ARG 25 serverBrands
ARG 26 scheduledEvents
ARG 27 customBossEvents
ARG 28 dragonFight
METHOD method_158 updateProperties (Lnet/minecraft/class_5455;Lnet/minecraft/class_2487;Lnet/minecraft/class_2487;)V
METHOD method_185 loadPlayerData ()V

View File

@ -33,4 +33,4 @@ CLASS net/minecraft/class_5268 net/minecraft/world/level/ServerWorldProperties
METHOD method_29034 setTime (J)V
ARG 1 time
METHOD method_29035 setTimeOfDay (J)V
ARG 1 time
ARG 1 timeOfDay