Package net.risingworld.api.definitions
Class Items.PickingInfo
java.lang.Object
net.risingworld.api.definitions.Items.PickingInfo
- Enclosing class:
Items
-
Field Summary
Modifier and TypeFieldDescriptionfloat
Determines how much of the damage (0-1) should be blocked when blocking attacks with this itemshort
Damage inflicted to glassshort
Damage inflicted to metalshort
Damage inflicted to npcsshort
Damage inflicted to objectsshort
Damage inflicted to plants (scrubs, flowers etc)short
Damage inflicted to other playersshort
Damage inflicted to soil (dirt, sand, snow etc)short
Damage inflicted to stonesshort
Damage inflicted to treesshort
Damage inflicted to wood (including trees)boolean
Determines whether or not the hit_air sound should be played when hitting with this itemshort
Internal ID of this picking infoName of the itemfloat
Max range of this itemshort
Stamina consumption per use (primary action)short
Stamina consumption per use (secondary action)int
Tool sound hit id (hit sound parameter)Picking type -
Method Summary
-
Field Details
-
id
public short idInternal ID of this picking info -
itemname
Name of the item -
range
public float rangeMax range of this item -
type
Picking type -
damagestone
public short damagestoneDamage inflicted to stones -
damagewood
public short damagewoodDamage inflicted to wood (including trees) -
damagesoil
public short damagesoilDamage inflicted to soil (dirt, sand, snow etc) -
damagetrees
public short damagetreesDamage inflicted to trees -
damageplants
public short damageplantsDamage inflicted to plants (scrubs, flowers etc) -
damagemetal
public short damagemetalDamage inflicted to metal -
damageglass
public short damageglassDamage inflicted to glass -
damageobjects
public short damageobjectsDamage inflicted to objects -
damagenpcs
public short damagenpcsDamage inflicted to npcs -
damageplayers
public short damageplayersDamage inflicted to other players -
toolsound
public int toolsoundTool sound hit id (hit sound parameter) -
blockingfactor
public float blockingfactorDetermines how much of the damage (0-1) should be blocked when blocking attacks with this item -
staminaprimary
public short staminaprimaryStamina consumption per use (primary action) -
staminasecondary
public short staminasecondaryStamina consumption per use (secondary action) -
hitair
public boolean hitairDetermines whether or not the hit_air sound should be played when hitting with this item
-
-
Method Details
-
synchronize
public void synchronize()
-