Package net.risingworld.api.definitions
Klasse Items.ConsumeInfo
java.lang.Object
net.risingworld.api.definitions.Items.ConsumeInfo
- Umschließende Klasse:
Items
-
Feldübersicht
Modifizierer und TypFeldBeschreibungfloat
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. -
Methodenübersicht
-
Felddetails
-
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
-
-
Methodendetails
-
synchronize
public void synchronize()
-