diff --git a/mappings/net/minecraft/entity/AttackPosOffsettingMount.mapping b/mappings/net/minecraft/entity/AttackPosOffsettingMount.mapping new file mode 100644 index 0000000000..09c81d0f01 --- /dev/null +++ b/mappings/net/minecraft/entity/AttackPosOffsettingMount.mapping @@ -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 diff --git a/mappings/net/minecraft/entity/LivingEntity.mapping b/mappings/net/minecraft/entity/LivingEntity.mapping index 6d5b9dd68a..0ce2417d94 100644 --- a/mappings/net/minecraft/entity/LivingEntity.mapping +++ b/mappings/net/minecraft/entity/LivingEntity.mapping @@ -345,6 +345,9 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity ARG 1 attribute METHOD method_45326 getAttributeBaseValue (Lnet/minecraft/class_6880;)D 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 ARG 1 type METHOD method_5989 getLootTable ()Lnet/minecraft/class_2960; diff --git a/mappings/net/minecraft/entity/mob/MobEntity.mapping b/mappings/net/minecraft/entity/mob/MobEntity.mapping index 35b20c7057..648ee6a978 100644 --- a/mappings/net/minecraft/entity/mob/MobEntity.mapping +++ b/mappings/net/minecraft/entity/mob/MobEntity.mapping @@ -153,6 +153,8 @@ CLASS net/minecraft/class_1308 net/minecraft/entity/mob/MobEntity ARG 0 goal METHOD method_47825 clearGoals (Ljava/util/function/Predicate;)V ARG 1 predicate + METHOD method_47922 getSquaredDistanceToAttackPosOf (Lnet/minecraft/class_1309;)D + ARG 1 target METHOD method_5929 getDropChance (Lnet/minecraft/class_1304;)F ARG 1 slot METHOD method_5930 setForwardSpeed (F)V