Class Items.PickingInfo

java.lang.Object
net.risingworld.api.definitions.Items.PickingInfo
Enclosing class:
Items

public final class Items.PickingInfo extends Object
  • Field Details

    • id

      public short id
      Internal ID of this picking info
    • itemname

      public String itemname
      Name of the item
    • range

      public float range
      Max range of this item
    • type

      public Items.PickingType type
      Picking type
    • damagestone

      public short damagestone
      Damage inflicted to stones
    • damagewood

      public short damagewood
      Damage inflicted to wood (including trees)
    • damagesoil

      public short damagesoil
      Damage inflicted to soil (dirt, sand, snow etc)
    • damagetrees

      public short damagetrees
      Damage inflicted to trees
    • damageplants

      public short damageplants
      Damage inflicted to plants (scrubs, flowers etc)
    • damagemetal

      public short damagemetal
      Damage inflicted to metal
    • damageglass

      public short damageglass
      Damage inflicted to glass
    • damageobjects

      public short damageobjects
      Damage inflicted to objects
    • damagenpcs

      public short damagenpcs
      Damage inflicted to npcs
    • damageplayers

      public short damageplayers
      Damage inflicted to other players
    • toolsound

      public int toolsound
      Tool sound hit id (hit sound parameter)
    • blockingfactor

      public float blockingfactor
      Determines how much of the damage (0-1) should be blocked when blocking attacks with this item
    • hitnpccooldown

      public float hitnpccooldown
      When hitting an npc with this item, this is the cooldown factor before the next npc hit animation is played. Default: 1
    • staminaprimary

      public short staminaprimary
      Stamina consumption per use (primary action)
    • staminasecondary

      public short staminasecondary
      Stamina consumption per use (secondary action)
    • hitair

      public boolean hitair
      Determines whether or not the hit_air sound should be played when hitting with this item
    • primarylength

      public float primarylength
      Length of a primary hit animation cycle
    • secondarylength

      public float secondarylength
      Length of a secondary hit animation cycle
  • Method Details

    • synchronize

      public void synchronize()