Class Npcs.NpcDefinition.NpcFeedingInfo
java.lang.Object
net.risingworld.api.definitions.Npcs.NpcDefinition.NpcFeedingInfo
- Enclosing class:
Npcs.NpcDefinition
-
Field Summary
FieldsModifier and TypeFieldDescriptionintHow healthy this item is for the npc.Related item definitionintItem texture/variant.intDetermines how much the npc likes this item.intHow much hunger this item restores for the npc, in percent of full saturation (0-100) -
Method Summary
-
Field Details
-
itemDef
Related item definition -
itemTexture
public int itemTextureItem texture/variant. By default 0 -
likeness
public int likenessDetermines how much the npc likes this item. 0 = eats it (neutral), 1 = likes it, 2 = favourite / treat -
healthy
public int healthyHow healthy this item is for the npc. +1 = especially healthy/healing, 0 = harmless, -1 = unhealthy, -2 = toxic, -3 = deadly -
saturation
public int saturationHow much hunger this item restores for the npc, in percent of full saturation (0-100)
-