mirror of https://github.com/FabricMC/yarn.git
Entity control mappings (#778)
Co-Authored-By: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
parent
b9bc85df67
commit
8f369ff52e
|
@ -1,2 +1,10 @@
|
|||
CLASS net/minecraft/class_1330 net/minecraft/entity/ai/control/BodyControl
|
||||
FIELD field_6354 lastHeadYaw F
|
||||
FIELD field_6355 activeTicks I
|
||||
FIELD field_6356 entity Lnet/minecraft/class_1308;
|
||||
METHOD method_20243 rotateLook ()V
|
||||
METHOD method_20244 rotateHead ()V
|
||||
METHOD method_20245 rotateBody ()V
|
||||
METHOD method_20246 isIndependent ()Z
|
||||
METHOD method_20247 isMoving ()Z
|
||||
METHOD method_6224 tick ()V
|
||||
|
|
|
@ -6,6 +6,12 @@ CLASS net/minecraft/class_1333 net/minecraft/entity/ai/control/LookControl
|
|||
FIELD field_6362 lookZ D
|
||||
FIELD field_6363 lookY D
|
||||
FIELD field_6364 lookX D
|
||||
METHOD method_19615 lookAt (Lnet/minecraft/class_243;)V
|
||||
ARG 1 direction
|
||||
METHOD method_20248 lookAt (DDD)V
|
||||
ARG 1 x
|
||||
ARG 3 y
|
||||
ARG 5 z
|
||||
METHOD method_20249 getLookingHeightFor (Lnet/minecraft/class_1297;)D
|
||||
METHOD method_20250 getTargetPitch ()F
|
||||
METHOD method_20251 getTargetYaw ()F
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
CLASS net/minecraft/class_1335 net/minecraft/entity/ai/control/MoveControl
|
||||
CLASS class_1336 State
|
||||
FIELD field_6367 targetZ D
|
||||
FIELD field_6368 forwardMovement F
|
||||
FIELD field_6369 targetY D
|
||||
FIELD field_6370 targetX D
|
||||
FIELD field_6371 entity Lnet/minecraft/class_1308;
|
||||
FIELD field_6372 speed D
|
||||
FIELD field_6373 sidewaysMovement F
|
||||
FIELD field_6374 state Lnet/minecraft/class_1335$class_1336;
|
||||
METHOD <init> (Lnet/minecraft/class_1308;)V
|
||||
ARG 1 entity
|
||||
|
@ -23,3 +25,6 @@ CLASS net/minecraft/class_1335 net/minecraft/entity/ai/control/MoveControl
|
|||
METHOD method_6240 tick ()V
|
||||
METHOD method_6241 isMoving ()Z
|
||||
METHOD method_6242 getSpeed ()D
|
||||
METHOD method_6243 strafeTo (FF)V
|
||||
ARG 1 forward
|
||||
ARG 2 sideways
|
||||
|
|
Loading…
Reference in New Issue