public interface KnockbackData extends DataManipulator<KnockbackData,ImmutableKnockbackData>
DataManipulator for the "knockback" strength for an
Entity's next attack. Usually applicable to Arrows, the
level of "knockback" such that the higher the knockback, the further the
attacked Entity will be "knocked back".| Modifier and Type | Method and Description |
|---|---|
MutableBoundedValue<Integer> |
knockbackStrength()
Gets the
MutableBoundedValue for the "knockback strength. |
asImmutable, copy, fill, fill, from, set, set, set, set, transformgetContentVersion, toContainerMutableBoundedValue<Integer> knockbackStrength()
MutableBoundedValue for the "knockback strength.Keys.KNOCKBACK_STRENGTH