Uses of Class
dev.twilite.game.loadout.LoadoutItem.Builder
Packages that use LoadoutItem.Builder
-
Uses of LoadoutItem.Builder in dev.twilite.game.loadout
Methods in dev.twilite.game.loadout that return LoadoutItem.BuilderModifier and TypeMethodDescriptionLoadoutItem.Builder.amount(int amount) Sets both the minimum amount and withdrawal amount.LoadoutItem.Builder.amount(int minimum, int amount) Sets the validation minimum and withdrawal amount independently.LoadoutItem.Builder.ids(int... ids) Sets accepted item ids.LoadoutItem.Builder.noted()Marks the item as noted for withdrawal and stack-size counting.static LoadoutItem.BuilderLoadoutItem.of(int... ids) Creates an item builder for the supplied accepted item ids.LoadoutItem.Builder.slot(EquipmentSlot slot) Assigns the equipment slot for equipment loadouts.LoadoutItem.Builder.stackable()Marks the item as stackable for amount counting.