public interface ImmutableKnockbackData extends ImmutableDataManipulator<ImmutableKnockbackData,KnockbackData>
ImmutableDataManipulator 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 |
|---|---|
ImmutableBoundedValue<Integer> |
knockbackStrength()
Gets the
ImmutableBoundedValue for the "knockback strength. |
asMutable, copy, with, withgetContentVersion, toContainerImmutableBoundedValue<Integer> knockbackStrength()
ImmutableBoundedValue for the "knockback strength.