LootEntry class

One row of a LootTable: chance to appear at all, then min..max of item.

Constructors

LootEntry(String item, int min, int max, double chance)
A row.
const

Properties

chance → double
The chance to appear, 0..1.
final
hashCode → int
The hash code for this object.
no setterinherited
item → String
The item.
final
max → int
The most.
final
min → int
The fewest.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited