Renamed RecipeHandler --> Recipe Manager Renamed OreDictionaryHandler --> OreDictManager Renamed Item Sprites to work with new Meta Items Removed Nearly All Resource Items and consolidated into 1 Item ID Removed Dusts from API Compatibility: no longer used Made changes to several files to adjust to new meta items and meta item ID's Mithril and Iridium Ores now emit light level 7 Cleaned Up Mod API support that is no longer planned
27 lines
862 B
Java
27 lines
862 B
Java
package MysticWorld.WorldGen;
|
|
|
|
import java.util.Random;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.util.WeightedRandomChestContent;
|
|
import net.minecraftforge.common.ChestGenHooks;
|
|
import MysticOres.Items.ItemHandler;
|
|
import MysticWorld.Items.ItemHandler$1;
|
|
|
|
public class MysticHutUtil
|
|
{
|
|
public MysticHutUtil()
|
|
{
|
|
addLoot();
|
|
}
|
|
|
|
public static ChestGenHooks MysticHutChest;
|
|
|
|
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));
|
|
}
|
|
}
|