Package net.risingworld.api.definitions
Class Items.ConsumeInfo
java.lang.Object
net.risingworld.api.definitions.Items.ConsumeInfo
- Enclosing class:
Items
-
Field Summary
Modifier and TypeFieldDescriptionfloat
boolean
int
int
short
Internal ID of this consume infoName of the related itemboolean
Determines if the item should be removed from inventory after consumingboolean
int
Type of this consumable (i.e is this food, water etc?)float
Optional value change of the item after consuming. -
Method Summary
-
Field Details
-
id
public short idInternal ID of this consume info -
itemname
Name of the related item -
type
Type of this consumable (i.e is this food, water etc?) -
healthrestore
public int healthrestore -
hungerrestore
public int hungerrestore -
thirstrestore
public int thirstrestore -
healbones
public boolean healbones -
stopbleeding
public boolean stopbleeding -
remove
public boolean removeDetermines if the item should be removed from inventory after consuming -
valuechange
public float valuechangeOptional value change of the item after consuming. Default: 0 -
disease
-
diseasechance
public float diseasechance
-
-
Method Details
-
synchronize
public void synchronize()
-