Uses of Class
privbot.mechanics.LootSpec.Builder
Packages that use LootSpec.Builder
Package
Description
Pure game-mechanic rules shared by plugins on every server: the same name and meaning on Impact, Elorin, Orion,
SpawnPK and Roat Pkz.
-
Uses of LootSpec.Builder in privbot.mechanics
Methods in privbot.mechanics that return LootSpec.BuilderModifier and TypeMethodDescriptionstatic LootSpec.BuilderLootSpec.builder()LootSpec.Builder.ids(int... values) Item ids to take.LootSpec.Builder.maxPicks(int picks) Most items to pick up per visit (default unlimited).Item names to take (exact, case-insensitive).LootSpec.Builder.range(int tiles) Tiles around the player to look (default 8).LootSpec.Builder.valueAtLeast(long threshold, ToLongFunction<String> priceOf) Also take any stack worth at leastthreshold:quantity * priceOf(name).