Class CrossbowArrowItem.ArrowType

java.lang.Object
de.teamlapen.werewolves.items.CrossbowArrowItem.ArrowType
Enclosing class:
CrossbowArrowItem

public static class CrossbowArrowItem.ArrowType extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
     
    final boolean
     
    final int
     
    final boolean
     
    final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArrowType(String name, int baseDamage, int color, boolean canBeInfinit, boolean hasToolTip)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onHitEntity(net.minecraft.world.item.ItemStack arrow, net.minecraft.world.entity.LivingEntity entity, de.teamlapen.vampirism.api.items.IEntityCrossbowArrow arrowEntity, net.minecraft.world.entity.Entity shootingEntity)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      public final String name
    • baseDamage

      public final int baseDamage
    • color

      public final int color
    • canBeInfinit

      public final boolean canBeInfinit
    • hasToolTip

      public final boolean hasToolTip
  • Constructor Details

    • ArrowType

      public ArrowType(String name, int baseDamage, int color, boolean canBeInfinit, boolean hasToolTip)
  • Method Details

    • onHitEntity

      public void onHitEntity(net.minecraft.world.item.ItemStack arrow, net.minecraft.world.entity.LivingEntity entity, de.teamlapen.vampirism.api.items.IEntityCrossbowArrow arrowEntity, net.minecraft.world.entity.Entity shootingEntity)