From e469d2f7dce6f3f26ef31b5d440a71597964d8c3 Mon Sep 17 00:00:00 2001 From: SenseiKiwi Date: Sun, 19 Jan 2014 05:14:39 -0400 Subject: [PATCH] Added Ender Pearls as Loot Added a 30% chance of Ender Pearls appearing in grave chests. --- src/main/java/StevenDimDoors/mod_pocketDim/DDLoot.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/StevenDimDoors/mod_pocketDim/DDLoot.java b/src/main/java/StevenDimDoors/mod_pocketDim/DDLoot.java index b320789..2d162ed 100644 --- a/src/main/java/StevenDimDoors/mod_pocketDim/DDLoot.java +++ b/src/main/java/StevenDimDoors/mod_pocketDim/DDLoot.java @@ -189,9 +189,11 @@ public class DDLoot { addModifiedEquipment( getRandomItem(Item.bootsIron, Item.bootsChain, null, 25, 10, random) , stacks, random); // Insert other random stuff - // 40% chance for a name tag, 35% chance for a glass bottle, and 5% chance for record 11 + // 40% chance for a name tag, 35% chance for a glass bottle + // 30% chance for an ender pearl, 5% chance for record 11 addItemWithChance(stacks, random, 40, Item.nameTag, 1); addItemWithChance(stacks, random, 35, Item.glassBottle, 1); + addItemWithChance(stacks, random, 30, Item.enderPearl, 1); addItemWithChance(stacks, random, 5, Item.record11, 1); fillChest(stacks, inventory, random);