2020-03-19 10:41:57 -04:00
|
|
|
CLASS net/minecraft/class_1676 net/minecraft/entity/projectile/ProjectileEntity
|
|
|
|
FIELD field_22478 ownerUuid Ljava/util/UUID;
|
2020-07-03 08:21:12 -04:00
|
|
|
FIELD field_23740 leftOwner Z
|
2021-02-13 16:41:21 -05:00
|
|
|
FIELD field_28646 shot Z
|
2021-04-09 04:36:00 -04:00
|
|
|
FIELD field_33399 owner Lnet/minecraft/class_1297;
|
2021-10-01 14:00:45 -04:00
|
|
|
METHOD method_24919 setVelocity (Lnet/minecraft/class_1297;FFFFF)V
|
|
|
|
COMMENT Sets velocity and updates rotation accordingly.
|
|
|
|
ARG 1 shooter
|
|
|
|
COMMENT the entity who shot this projectile; used to add the shooter's velocity
|
|
|
|
COMMENT to this projectile
|
2020-03-19 10:41:57 -04:00
|
|
|
ARG 2 pitch
|
2021-10-01 14:00:45 -04:00
|
|
|
COMMENT the pitch
|
2020-03-19 10:41:57 -04:00
|
|
|
ARG 3 yaw
|
2021-10-01 14:00:45 -04:00
|
|
|
COMMENT the yaw
|
2020-03-19 10:41:57 -04:00
|
|
|
ARG 4 roll
|
2021-10-01 14:00:45 -04:00
|
|
|
COMMENT the roll
|
|
|
|
ARG 5 speed
|
|
|
|
COMMENT the speed
|
|
|
|
ARG 6 divergence
|
|
|
|
COMMENT the fuzziness added to the direction; player usages have 1.0 and other
|
|
|
|
COMMENT mobs/tools have higher values; some mobs have difficulty-adjusted
|
|
|
|
COMMENT values
|
2020-03-30 05:10:03 -04:00
|
|
|
METHOD method_24920 onBlockHit (Lnet/minecraft/class_3965;)V
|
|
|
|
ARG 1 blockHitResult
|
2020-03-19 10:41:57 -04:00
|
|
|
METHOD method_24921 getOwner ()Lnet/minecraft/class_1297;
|
2021-01-25 13:28:38 -05:00
|
|
|
METHOD method_26958 canHit (Lnet/minecraft/class_1297;)Z
|
|
|
|
ARG 1 entity
|
2022-05-02 08:52:17 -04:00
|
|
|
METHOD method_26959 (Lnet/minecraft/class_1297;)Z
|
|
|
|
ARG 0 entity
|
2020-06-18 15:17:05 -04:00
|
|
|
METHOD method_26960 updateRotation (FF)F
|
2021-01-25 13:28:38 -05:00
|
|
|
ARG 0 prevRot
|
|
|
|
ARG 1 newRot
|
|
|
|
METHOD method_26961 shouldLeaveOwner ()Z
|
|
|
|
METHOD method_26962 updateRotation ()V
|
2021-04-02 07:59:05 -04:00
|
|
|
METHOD method_34714 isOwner (Lnet/minecraft/class_1297;)Z
|
|
|
|
ARG 1 entity
|
2021-06-01 11:29:19 -04:00
|
|
|
METHOD method_37225 getEffectCause ()Lnet/minecraft/class_1297;
|
|
|
|
COMMENT {@return the cause entity of any effect applied by this projectile} If this
|
|
|
|
COMMENT projectile has an owner, the effect is attributed to the owner; otherwise, it
|
|
|
|
COMMENT is attributed to this projectile itself.
|
2020-03-19 10:41:57 -04:00
|
|
|
METHOD method_7432 setOwner (Lnet/minecraft/class_1297;)V
|
2020-06-18 15:17:05 -04:00
|
|
|
ARG 1 entity
|
2020-03-19 10:41:57 -04:00
|
|
|
METHOD method_7454 onEntityHit (Lnet/minecraft/class_3966;)V
|
2020-03-30 05:10:03 -04:00
|
|
|
ARG 1 entityHitResult
|
2020-03-19 10:41:57 -04:00
|
|
|
METHOD method_7485 setVelocity (DDDFF)V
|
2021-10-01 14:00:45 -04:00
|
|
|
COMMENT Sets velocity and updates rotation accordingly.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>The velocity and rotation will be set to the same direction.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>The direction is calculated as follows: Based on the direction vector
|
|
|
|
COMMENT {@code (x, y, z)}, a random vector is added, then multiplied by the
|
|
|
|
COMMENT {@code speed}.
|
2020-03-19 10:41:57 -04:00
|
|
|
ARG 1 x
|
2021-10-01 14:00:45 -04:00
|
|
|
COMMENT the X component of the direction vector
|
2020-03-19 10:41:57 -04:00
|
|
|
ARG 3 y
|
2021-10-01 14:00:45 -04:00
|
|
|
COMMENT the Y component of the direction vector
|
2020-03-19 10:41:57 -04:00
|
|
|
ARG 5 z
|
2021-10-01 14:00:45 -04:00
|
|
|
COMMENT the Z component of the direction vector
|
2020-03-19 10:41:57 -04:00
|
|
|
ARG 7 speed
|
2021-10-01 14:00:45 -04:00
|
|
|
COMMENT the speed
|
2020-03-19 10:41:57 -04:00
|
|
|
ARG 8 divergence
|
2021-10-01 14:00:45 -04:00
|
|
|
COMMENT the fuzziness added to the direction; player usages have 1.0 and other
|
|
|
|
COMMENT mobs/tools have higher values; some mobs have difficulty-adjusted
|
|
|
|
COMMENT values
|
2020-03-25 13:49:03 -04:00
|
|
|
METHOD method_7488 onCollision (Lnet/minecraft/class_239;)V
|
2022-05-02 08:52:17 -04:00
|
|
|
ARG 1 hitResult
|