Class PlayerAttackKnockbackTest.KnockbackSwordItem

java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.TieredItem
net.minecraft.world.item.SwordItem
net.minecraftforge.debug.entity.player.PlayerAttackKnockbackTest.KnockbackSwordItem
All Implemented Interfaces:
Vanishable, ItemLike, IForgeItem
Enclosing class:
PlayerAttackKnockbackTest

static class PlayerAttackKnockbackTest.KnockbackSwordItem extends SwordItem
  • Field Details

    • attackKnockback

      private final float attackKnockback
    • defaultModifiers

      private final com.google.common.collect.Multimap<Attribute,AttributeModifier> defaultModifiers
    • BASE_ATTACK_KNOCKBACK_UUID

      protected static final UUID BASE_ATTACK_KNOCKBACK_UUID
  • Constructor Details

    • KnockbackSwordItem

      KnockbackSwordItem(Tier itemTier, int attackDamageIn, float attackSpeedIn, float attackKnockbackIn, Item.Properties properties)
  • Method Details