Class PlayerAttackKnockbackTest
- java.lang.Object
-
- net.minecraftforge.debug.entity.player.PlayerAttackKnockbackTest
-
public class PlayerAttackKnockbackTest extends java.lang.Object
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
Nested Classes Modifier and Type Class Description (package private) static class
PlayerAttackKnockbackTest.KnockbackSwordItem
-
Field Summary
Fields Modifier and Type Field Description (package private) static float
ATTACK_KNOCKBACK_VALUE
(package private) static DeferredRegister<Item>
ITEMS
(package private) static RegistryObject<Item>
KNOCKBACK_SWORD
(package private) static java.lang.String
MODID
-
Constructor Summary
Constructors Constructor Description PlayerAttackKnockbackTest()
-
-
-
Field Detail
-
MODID
static final java.lang.String MODID
- See Also:
- Constant Field Values
-
ATTACK_KNOCKBACK_VALUE
static final float ATTACK_KNOCKBACK_VALUE
- See Also:
- Constant Field Values
-
ITEMS
static final DeferredRegister<Item> ITEMS
-
KNOCKBACK_SWORD
static RegistryObject<Item> KNOCKBACK_SWORD
-
-