Commits
md_5 authored 8271c490856
43 43 | */ |
44 44 | |
45 45 | public KnockbackCause getCause() { |
46 46 | return cause; |
47 47 | } |
48 48 | |
49 49 | /** |
50 50 | * Gets the raw force of the knockback. <br> |
51 51 | * This value is based on factors such as the {@link Enchantment#KNOCKBACK} |
52 52 | * level of an attacker and the |
53 - | * {@link Attribute#GENERIC_KNOCKBACK_RESISTANCE} of the entity. |
53 + | * {@link Attribute#KNOCKBACK_RESISTANCE} of the entity. |
54 54 | * |
55 55 | * @return the knockback force |
56 56 | */ |
57 57 | public double getForce() { |
58 58 | return force; |
59 59 | } |
60 60 | |
61 61 | /** |
62 62 | * Gets the raw knockback force that will be applied to the entity. <br> |
63 63 | * This value is read-only, changes made to it <b>will not</b> have any |