use of com.skelril.nitro.droptable.resolver.SimpleDropResolver in project Skree by Skelril.
the class TempleOfFateInstance method setUp.
private void setUp() {
startingPoint = new Location<>(getRegion().getExtent(), getRegion().getMinimumPoint().add(4, 11, 58));
SlipperySingleHitDiceRoller slipRoller = new SlipperySingleHitDiceRoller();
dropTable = new MasterDropTable(slipRoller, Lists.newArrayList(new DropTableImpl(slipRoller, Lists.newArrayList(new DropTableEntryImpl(new SimpleDropResolver(Lists.newArrayList(newItemStack("skree:ancient_metal_fragment"))), 1))), new DropTableImpl(slipRoller, Lists.newArrayList(new DropTableEntryImpl(new SimpleDropResolver(Lists.newArrayList(newItemStack("skree:emblem_of_hallow"))), 30))), new DropTableImpl(slipRoller, Lists.newArrayList(new DropTableEntryImpl(new SimpleDropResolver(Lists.newArrayList(newItemStack("skree:emblem_of_the_forge"))), 30)))));
}
use of com.skelril.nitro.droptable.resolver.SimpleDropResolver in project Skree by Skelril.
the class TheButcherShopInstance method setUpDropTable.
private void setUpDropTable() {
SlipperySingleHitDiceRoller slipRoller = new SlipperySingleHitDiceRoller();
dropTable = new MasterDropTable(slipRoller, Lists.newArrayList(new DropTableImpl(slipRoller, Lists.newArrayList(new DropTableEntryImpl(new CofferResolver(15), 2))), new DropTableImpl(slipRoller, Lists.newArrayList(new DropTableEntryImpl(new SimpleDropResolver(Lists.newArrayList(newItemStack(ItemTypes.COOKED_BEEF))), 3), new DropTableEntryImpl(new SimpleDropResolver(Lists.newArrayList(newItemStack(ItemTypes.COOKED_CHICKEN))), 3), new DropTableEntryImpl(new SimpleDropResolver(Lists.newArrayList(newItemStack(ItemTypes.COOKED_FISH))), 3), new DropTableEntryImpl(new SimpleDropResolver(Lists.newArrayList(newItemStack(ItemTypes.COOKED_MUTTON))), 3), new DropTableEntryImpl(new SimpleDropResolver(Lists.newArrayList(newItemStack(ItemTypes.COOKED_PORKCHOP))), 3), new DropTableEntryImpl(new SimpleDropResolver(Lists.newArrayList(newItemStack(ItemTypes.COOKED_RABBIT))), 3), new DropTableEntryImpl(new SimpleDropResolver(Lists.newArrayList(newItemStack("skree:cooked_god_fish"))), 15)))));
}
Aggregations