Updated movement mappings for 19w08b (#498)

FFF changed to Vec3d, this updates those functions to match the mappings that were added in https://github.com/FabricMC/yarn/pull/492 + a few other new mappings

movementSpeed -> speed
vec3dHorizontalLengthSq -> Entity.squaredHorizontalLength
This commit is contained in:
Ryan Liptak 2019-02-25 05:33:09 -08:00 committed by Adrian Siekierka
parent 4be7484935
commit a2e9d2cb1a
2 changed files with 10 additions and 0 deletions

View File

@ -98,6 +98,8 @@ CLASS ahm net/minecraft/entity/Entity
METHOD a setRotation (FF)V
ARG 1 yaw
METHOD a updateVelocity (FLcnl;)V
ARG 1 speed
ARG 2 movementInput
METHOD a damage (Lagv;F)Z
ARG 1 source
ARG 2 amount
@ -144,6 +146,10 @@ CLASS ahm net/minecraft/entity/Entity
ARG 1 anchor
ARG 2 target
METHOD a setBoundingBox (Lcng;)V
METHOD a movementInputToVelocity (Lcnl;FF)Lcnl;
ARG 0 movementInput
ARG 1 speed
ARG 2 yaw
METHOD a isTeamPlayer (Lcoo;)Z
METHOD a setPositionAndAngles (Les;FF)V
ARG 1 pos
@ -222,6 +228,7 @@ CLASS ahm net/minecraft/entity/Entity
METHOD b onPlayerCollision (Larz;)V
METHOD b interact (Larz;Lagg;)Z
ARG 1 player
METHOD b squaredHorizontalLength (Lcnl;)D
METHOD b writeCustomDataToTag (Lhx;)V
METHOD b removeScoreboardTag (Ljava/lang/String;)Z
METHOD b setCustomName (Lji;)V
@ -304,6 +311,8 @@ CLASS ahm net/minecraft/entity/Entity
METHOD f setSprinting (Z)V
METHOD g addVelocity (DDD)V
ARG 1 deltaX
ARG 3 deltaY
ARG 5 deltaZ
METHOD g getPitch (F)F
METHOD g burn (I)V
METHOD g distanceTo (Lahm;)F

View File

@ -114,6 +114,7 @@ CLASS ahv net/minecraft/entity/LivingEntity
METHOD ds wakeUp ()V
METHOD e getHurtSound (Lagv;)Lxy;
METHOD e travel (Lcnl;)V
ARG 1 movementInput
METHOD f attackLivingEntity (Lahv;)V
METHOD f setSleepingPosition (Les;)V
METHOD g sleep (Les;)V