Fixed villager trades and villager chest loot

This commit is contained in:
oitsjustjose 2013-07-08 02:44:13 -05:00
commit 251b51d7da
4 changed files with 32 additions and 37 deletions

View file

@ -19,9 +19,10 @@ public class MysticHutUtil
public static void addLoot()
{
MysticHutChest = new ChestGenHooks("MysticHutChest", new WeightedRandomChestContent[0], 3, 27);
MysticHutChest.addItem(new WeightedRandomChestContent(new ItemStack(ItemHandler.Resource, 1, 13), 1, 1, 1));
MysticHutChest.addItem(new WeightedRandomChestContent(new ItemStack(ItemHandler.Resource, 1, 9), 1, 1, 1));
MysticHutChest.addItem(new WeightedRandomChestContent(new ItemStack(ItemHandler.Resource, 1, 4), 1, 1, 1));
MysticHutChest = new ChestGenHooks("MysticHutChest", new WeightedRandomChestContent[0], 1, 15);
MysticHutChest.addItem(new WeightedRandomChestContent(new ItemStack(ItemHandler.Resource, 1, 13), 0, 1, 1000));
MysticHutChest.addItem(new WeightedRandomChestContent(new ItemStack(ItemHandler.Resource, 1, 9), 0, 1, 1000));
MysticHutChest.addItem(new WeightedRandomChestContent(new ItemStack(ItemHandler.Resource, 1, 4), 0, 1, 1000));
}
}