Klasse Npcs.NpcDefinition.NpcLootInfo

java.lang.Object
net.risingworld.api.definitions.Npcs.NpcDefinition.NpcLootInfo
Umschließende Klasse:
Npcs.NpcDefinition

public final class Npcs.NpcDefinition.NpcLootInfo extends Object
  • Felddetails

    • type

      public Npcs.LootType type
    • itemDef

      public Items.ItemDefinition itemDef
      Related item definition
    • itemTexture

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

      public Items.Type requiredItemType
    • minCount

      public int minCount
      Item min count (inclusive)
    • maxCount

      public int maxCount
      Item max count (inclusive)
    • chance

      public float chance
      Item spawn chance in percent (0-100)
    • transform

      public String transform
      Optional npc transform target after looting the npc
    • transformvariant

      public int transformvariant
      Optional npc transform target variant after looting the npc (-1 to keep current variant)