Klasse Items.ConsumeInfo

java.lang.Object
net.risingworld.api.definitions.Items.ConsumeInfo
Umschließende Klasse:
Items

public final class Items.ConsumeInfo extends Object
  • Felddetails

    • id

      public short id
      Internal ID of this consume info
    • itemname

      public String itemname
      Name of the related item
    • type

      public Items.ConsumeType 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 remove
      Determines if the item should be removed from inventory after consuming
    • valuechange

      public float valuechange
      Optional value change of the item after consuming. Default: 0
    • disease

      public String disease
    • diseasechance

      public float diseasechance
  • Methodendetails

    • synchronize

      public void synchronize()