Package net.risingworld.api.definitions
Klasse Npcs.NpcDefinition.NpcLootInfo
java.lang.Object
net.risingworld.api.definitions.Npcs.NpcDefinition.NpcLootInfo
- Umschließende Klasse:
Npcs.NpcDefinition
-
Feldübersicht
Modifizierer und TypFeldBeschreibungfloat
Item spawn chance in percent (0-100)Related item definitionint
Item texture/variant.int
Item max count (inclusive)int
Item min count (inclusive)Optional npc transform target after looting the npcint
Optional npc transform target variant after looting the npc (-1 to keep current variant) -
Methodenübersicht
-
Felddetails
-
type
-
itemDef
Related item definition -
itemTexture
public int itemTextureItem texture/variant. By default 0 -
requiredItemType
-
minCount
public int minCountItem min count (inclusive) -
maxCount
public int maxCountItem max count (inclusive) -
chance
public float chanceItem spawn chance in percent (0-100) -
transform
Optional npc transform target after looting the npc -
transformvariant
public int transformvariantOptional npc transform target variant after looting the npc (-1 to keep current variant)
-