Search in sources :

Example 1 with DropTableEntryImpl

use of com.skelril.nitro.droptable.DropTableEntryImpl 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)))));
}
Also used : SimpleDropResolver(com.skelril.nitro.droptable.resolver.SimpleDropResolver) DropTableImpl(com.skelril.nitro.droptable.DropTableImpl) MasterDropTable(com.skelril.nitro.droptable.MasterDropTable) SlipperySingleHitDiceRoller(com.skelril.nitro.droptable.roller.SlipperySingleHitDiceRoller) DropTableEntryImpl(com.skelril.nitro.droptable.DropTableEntryImpl)

Aggregations

DropTableEntryImpl (com.skelril.nitro.droptable.DropTableEntryImpl)1 DropTableImpl (com.skelril.nitro.droptable.DropTableImpl)1 MasterDropTable (com.skelril.nitro.droptable.MasterDropTable)1 SimpleDropResolver (com.skelril.nitro.droptable.resolver.SimpleDropResolver)1 SlipperySingleHitDiceRoller (com.skelril.nitro.droptable.roller.SlipperySingleHitDiceRoller)1