Class ClubItem

java.lang.Object
net.minecraft.src.Item
btw.item.items.ClubItem
Direct Known Subclasses:
ClubItemWood

public class ClubItem extends Item
  • Field Details

  • Constructor Details

    • ClubItem

      public ClubItem(int iItemID, int iDurability, int iWeaponDamage, String sName)
  • Method Details

    • hitEntity

      public boolean hitEntity(ItemStack stack, EntityLivingBase defendingEntity, EntityLivingBase attackingEntity)
      Description copied from class: Item
      Current implementations of this method in child classes do not use the entry argument beside ev. They just raise the damage on the stack.
      Overrides:
      hitEntity in class Item
    • onBlockDestroyed

      public boolean onBlockDestroyed(ItemStack stack, World world, int iBlockID, int i, int j, int k, EntityLivingBase usingEntity)
      Overrides:
      onBlockDestroyed in class Item
    • getItemAttributeModifiers

      public com.google.common.collect.Multimap getItemAttributeModifiers()
      Description copied from class: Item
      Gets a map of item attribute modifiers, used by ItemSword to increase hit damage.
      Overrides:
      getItemAttributeModifiers in class Item
    • onCreated

      public void onCreated(ItemStack stack, World world, EntityPlayer player)
      Description copied from class: Item
      Called when item is crafted/smelted. Used only by maps so far.
      Overrides:
      onCreated in class Item
    • isFull3D

      @Environment(CLIENT) public boolean isFull3D()
      Description copied from class: Item
      Returns True is the item is renderer in full 3D when hold.
      Overrides:
      isFull3D in class Item