Class PlayerAttackKnockbackTest
java.lang.Object
net.minecraftforge.debug.entity.player.PlayerAttackKnockbackTest
Tests if the patch to PlayerEntity to make it utilize Attributes.ATTACK_KNOCKBACK works
The Knockback Sword adds a modifier to the user's attack knockback
The goal of this patch is to allow modders to more easily add equipment or potion effects that affect the attack knockback of players
As well as allow command users to modify this attribute for a player
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescription(package private) static final float
(package private) static final DeferredRegister<Item>
(package private) static RegistryObject<Item>
(package private) static final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
MODID
- See Also:
-
ATTACK_KNOCKBACK_VALUE
static final float ATTACK_KNOCKBACK_VALUE- See Also:
-
ITEMS
-
KNOCKBACK_SWORD
-
-
Constructor Details
-
PlayerAttackKnockbackTest
public PlayerAttackKnockbackTest()
-