Class Npcs.NpcDefinition.NpcFeedingInfo

java.lang.Object
net.risingworld.api.definitions.Npcs.NpcDefinition.NpcFeedingInfo
Enclosing class:
Npcs.NpcDefinition

public final class Npcs.NpcDefinition.NpcFeedingInfo extends Object
  • Field Details

    • itemDef

      public Items.ItemDefinition itemDef
      Related item definition
    • itemTexture

      public int itemTexture
      Item texture/variant. By default 0
    • likeness

      public int likeness
      Determines how much the npc likes this item. 0 = eats it (neutral), 1 = likes it, 2 = favourite / treat
    • healthy

      public int healthy
      How healthy this item is for the npc. +1 = especially healthy/healing, 0 = harmless, -1 = unhealthy, -2 = toxic, -3 = deadly
    • saturation

      public int saturation
      How much hunger this item restores for the npc, in percent of full saturation (0-100)