Class VariableAmount.BaseAndAddition

java.lang.Object
org.spongepowered.api.util.weighted.VariableAmount.BaseAndAddition
All Implemented Interfaces:
DataSerializable, VariableAmount
Enclosing interface:
VariableAmount

public static class VariableAmount.BaseAndAddition extends Object implements VariableAmount
Represents 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).