mirror of https://github.com/FabricMC/yarn.git
Attack Pos Offsetting Mount (#3430)
* Attack Pos Offsetting Mount after much deliberation, i think these names are alright * inline return
This commit is contained in:
parent
11e53e1a48
commit
f9facc491b
|
@ -0,0 +1,6 @@
|
||||||
|
CLASS net/minecraft/class_7997 net/minecraft/entity/AttackPosOffsettingMount
|
||||||
|
COMMENT A mount which offsets the attack position of its passengers.
|
||||||
|
COMMENT @see net.minecraft.entity.LivingEntity#getAttackPos
|
||||||
|
METHOD method_47923 getPassengerAttackYOffset ()D
|
||||||
|
COMMENT {@return an offset to the Y co-ordinate of passengers' positions, for use in their attack positions}
|
||||||
|
COMMENT @see net.minecraft.entity.LivingEntity#getAttackPos
|
|
@ -345,6 +345,9 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
|
||||||
ARG 1 attribute
|
ARG 1 attribute
|
||||||
METHOD method_45326 getAttributeBaseValue (Lnet/minecraft/class_6880;)D
|
METHOD method_45326 getAttributeBaseValue (Lnet/minecraft/class_6880;)D
|
||||||
ARG 1 attribute
|
ARG 1 attribute
|
||||||
|
METHOD method_47921 getAttackPos ()Lnet/minecraft/class_243;
|
||||||
|
COMMENT {@return this entity's attack position} Used to determine if a mob can perform a melee attack on this entity. May be offset by a mount.
|
||||||
|
COMMENT @see net.minecraft.entity.AttackPosOffsettingMount#getPassengerAttackYOffset
|
||||||
METHOD method_5973 canTarget (Lnet/minecraft/class_1299;)Z
|
METHOD method_5973 canTarget (Lnet/minecraft/class_1299;)Z
|
||||||
ARG 1 type
|
ARG 1 type
|
||||||
METHOD method_5989 getLootTable ()Lnet/minecraft/class_2960;
|
METHOD method_5989 getLootTable ()Lnet/minecraft/class_2960;
|
||||||
|
|
|
@ -153,6 +153,8 @@ CLASS net/minecraft/class_1308 net/minecraft/entity/mob/MobEntity
|
||||||
ARG 0 goal
|
ARG 0 goal
|
||||||
METHOD method_47825 clearGoals (Ljava/util/function/Predicate;)V
|
METHOD method_47825 clearGoals (Ljava/util/function/Predicate;)V
|
||||||
ARG 1 predicate
|
ARG 1 predicate
|
||||||
|
METHOD method_47922 getSquaredDistanceToAttackPosOf (Lnet/minecraft/class_1309;)D
|
||||||
|
ARG 1 target
|
||||||
METHOD method_5929 getDropChance (Lnet/minecraft/class_1304;)F
|
METHOD method_5929 getDropChance (Lnet/minecraft/class_1304;)F
|
||||||
ARG 1 slot
|
ARG 1 slot
|
||||||
METHOD method_5930 setForwardSpeed (F)V
|
METHOD method_5930 setForwardSpeed (F)V
|
||||||
|
|
Loading…
Reference in New Issue