Interface Summary Interface Description SeededVariableAmount<T>Represents a value which may vary depending on a seed object. VariableAmountRepresents a value which may vary randomly.
Class Summary Class Description ChanceTable<T>This is a variant of the
RandomObjectTablewhich uses a 0-1 chance attached to every entry.
EmptyObject<T>Represents an entry in a table which has no associated object. LootTable<T>Represents a pool of tables which are rolled sequentially when retrieving entries. NestedTableEntry<T>Represents a
RandomObjectTablewhich is nested inside the entry of another table.
RandomObjectTable<T>An abstract table holding weighted objects. SeededVariableAmount.WrappedVariableAmount<T> TableEntry<T>An abstract entry which may be contained in any table. UnmodifiableWeightedTable<T>Creates a WeightedTable that is completely immutable, but still is able to be changed via its proxy table. VariableAmount.BaseAndAdditionRepresents a base amount with a random addition, the final amount will be the base amount plus a random amount between zero (inclusive) and the addition (exclusive). VariableAmount.BaseAndVarianceRepresents a base amount with a variance, the final amount will be the base amount plus or minus a random amount between zero (inclusive) and the variance (exclusive). VariableAmount.FixedRepresents a fixed amount, calls to
VariableAmount.Fixed.amountwill always return the same fixed value.
VariableAmount.OptionalAmountRepresents a variable amount which has a base and a chance of varying. WeightedObject<T>An entry which contains an object. WeightedSerializableObject<T extends DataSerializable>An entry which contains an object with the added restriction that the object be serializable. WeightedTable<T>A table of weighted entry, each entry is given a weight, the higher the weight the more likely the chance that the entry is chosen.