use of powercrystals.minefactoryreloaded.farmables.harvestables.HarvestableStandard in project MineFactoryReloaded by powercrystals.
the class TwilightForest method load.
@SuppressWarnings("rawtypes")
@Init
public static void load(FMLInitializationEvent e) {
if (!Loader.isModLoaded("TwilightForest")) {
FMLLog.warning("Twilight Forest missing - MFR Twilight Forest Compat not loading");
return;
}
try {
entityEggs = (HashMap) Class.forName("twilightforest.entity.TFCreatures").getField("entityEggs").get(null);
twilightForestContainer = FMLCommonHandler.instance().findContainerFor(Class.forName("twilightforest.TwilightForestMod").getField("instance").get(null));
Class tfBighorn = Class.forName("twilightforest.entity.passive.EntityTFBighorn");
Class tfBoar = Class.forName("twilightforest.entity.passive.EntityTFBoar");
Class tfDeer = Class.forName("twilightforest.entity.passive.EntityTFDeer");
Class tfHydra = Class.forName("twilightforest.entity.EntityTFHydra");
Class tfHydraHead = Class.forName("twilightforest.entity.EntityTFHydraHead");
Class tfHydraNeck = Class.forName("twilightforest.entity.EntityTFHydraNeck");
Class tfHydraPart = Class.forName("twilightforest.entity.EntityTFHydraPart");
Class tfKingSpider = Class.forName("twilightforest.entity.EntityTFKingSpider");
Class tfLich = Class.forName("twilightforest.entity.EntityTFLich");
Class tfNaga = Class.forName("twilightforest.entity.EntityTFNaga");
Class tfNagaSegment = Class.forName("twilightforest.entity.EntityTFNagaSegment");
Class tfQuestRam = Class.forName("twilightforest.entity.passive.EntityTFQuestRam");
Class tfUrGhast = Class.forName("twilightforest.entity.EntityTFUrGhast");
MFRRegistry.registerSafariNetBlacklist(tfHydra);
MFRRegistry.registerSafariNetBlacklist(tfHydraHead);
MFRRegistry.registerSafariNetBlacklist(tfHydraNeck);
MFRRegistry.registerSafariNetBlacklist(tfHydraPart);
MFRRegistry.registerSafariNetBlacklist(tfKingSpider);
MFRRegistry.registerSafariNetBlacklist(tfLich);
MFRRegistry.registerSafariNetBlacklist(tfNaga);
MFRRegistry.registerSafariNetBlacklist(tfNagaSegment);
MFRRegistry.registerSafariNetBlacklist(tfQuestRam);
MFRRegistry.registerSafariNetBlacklist(tfUrGhast);
MFRRegistry.registerGrinderBlacklist(tfUrGhast);
MFRRegistry.registerGrinderBlacklist(tfNagaSegment);
MFRRegistry.registerGrinderBlacklist(tfNaga);
MFRRegistry.registerGrinderBlacklist(tfLich);
MFRRegistry.registerGrinderBlacklist(tfHydraPart);
MFRRegistry.registerGrinderBlacklist(tfHydraNeck);
MFRRegistry.registerGrinderBlacklist(tfHydraHead);
MFRRegistry.registerGrinderBlacklist(tfHydra);
MFRRegistry.registerMobEggHandler(new TwilightForestEggHandler());
MFRRegistry.registerBreederFood(tfBighorn, new ItemStack(Item.wheat));
MFRRegistry.registerBreederFood(tfBoar, new ItemStack(Item.carrot));
MFRRegistry.registerBreederFood(tfDeer, new ItemStack(Item.wheat));
MFRRegistry.registerRanchable(new RanchableTFBighorn(tfBighorn));
Class tfBlocks = Class.forName("twilightforest.block.TFBlocks");
if (tfBlocks != null) {
MFRRegistry.registerHarvestable(new HarvestableStandard(((Block) tfBlocks.getField("log").get(null)).blockID, HarvestType.Tree));
MFRRegistry.registerHarvestable(new HarvestableStandard(((Block) tfBlocks.getField("magicLog").get(null)).blockID, HarvestType.Tree));
MFRRegistry.registerHarvestable(new HarvestableStandard(((Block) tfBlocks.getField("magicLogSpecial").get(null)).blockID, HarvestType.Tree));
MFRRegistry.registerHarvestable(new HarvestableStandard(((Block) tfBlocks.getField("root").get(null)).blockID, HarvestType.Tree));
MFRRegistry.registerHarvestable(new HarvestableTreeLeaves(((Block) tfBlocks.getField("leaves").get(null)).blockID));
MFRRegistry.registerHarvestable(new HarvestableTreeLeaves(((Block) tfBlocks.getField("magicLeaves").get(null)).blockID));
MFRRegistry.registerHarvestable(new HarvestableTreeLeaves(((Block) tfBlocks.getField("hedge").get(null)).blockID));
MFRRegistry.registerHarvestable(new HarvestableTreeLeaves(((Block) tfBlocks.getField("firefly").get(null)).blockID));
MFRRegistry.registerHarvestable(new HarvestableTreeLeaves(((Block) tfBlocks.getField("cicada").get(null)).blockID));
MFRRegistry.registerHarvestable(new HarvestableStandard(((Block) tfBlocks.getField("plant").get(null)).blockID, HarvestType.Normal));
MFRRegistry.registerPlantable(new PlantableStandard(((Block) tfBlocks.getField("sapling").get(null)).blockID, ((Block) tfBlocks.getField("sapling").get(null)).blockID));
MFRRegistry.registerFertilizable(new FertilizableSapling(((Block) tfBlocks.getField("sapling").get(null)).blockID));
}
MFRRegistry.registerRandomMobProvider(new TwilightForestMobProvider());
} catch (Exception x) {
x.printStackTrace();
}
}
use of powercrystals.minefactoryreloaded.farmables.harvestables.HarvestableStandard in project MineFactoryReloaded by powercrystals.
the class Pam method registerPamMod.
private static void registerPamMod(String modName, String cropName, Category category, boolean isPerennial, boolean hasWild, int plantableBlockId) {
try {
Class<?> mod;
int blockIdCrop;
int blockIdWild;
int seedId;
final String cropNameLC;
cropNameLC = cropName.toLowerCase();
final String baseClassPath;
baseClassPath = String.format("mods.PamHarvestCraft.%s.%s", category.getPackageName(), modName.toLowerCase());
mod = Class.forName(String.format("%s.PamHC%s", baseClassPath, modName));
blockIdCrop = ((Block) mod.getField(String.format("pam%sCrop", cropNameLC)).get(null)).blockID;
seedId = ((Item) mod.getField(String.format("%sseedItem", cropNameLC)).get(null)).itemID;
if (plantableBlockId == Block.tilledField.blockID) {
MFRRegistry.registerPlantable(new PlantableCropPlant(seedId, blockIdCrop));
} else {
MFRRegistry.registerPlantable(new PlantablePamSpecial(blockIdCrop, seedId, plantableBlockId));
}
if (hasWild) {
blockIdWild = ((Block) mod.getField(String.format("pam%sWild", cropNameLC)).get(null)).blockID;
MFRRegistry.registerHarvestable(new HarvestableStandard(blockIdWild, HarvestType.Normal));
}
if (isPerennial) {
MFRRegistry.registerHarvestable(new HarvestablePamsPerennial(blockIdCrop));
} else {
MFRRegistry.registerHarvestable(new HarvestablePams(blockIdCrop));
}
MFRRegistry.registerFertilizable(new FertilizableCropReflection(blockIdCrop, Class.forName(String.format(isPerennial ? "mods.PamHarvestCraft.BlockPamRegrowCrop" : "mods.PamHarvestCraft.BlockPamCrop")).getMethod("fertilize", World.class, int.class, int.class, int.class), 7));
} catch (ClassNotFoundException x) {
FMLLog.warning("Unable to load Pam support for %s", modName);
} catch (Exception x) {
x.printStackTrace();
}
}
use of powercrystals.minefactoryreloaded.farmables.harvestables.HarvestableStandard in project MineFactoryReloaded by powercrystals.
the class Pam method load.
@Init
public static void load(FMLInitializationEvent e) {
if (!Loader.isModLoaded("PamHarvestCraft")) {
FMLLog.warning("Pam's HC base missing - MFR Pam HC Compat not loading");
} else {
// Bushes
registerBush("Blackberry", true, true);
registerBush("Blueberry", true, true);
registerBush("Grape", true, true);
registerBush("Kiwi", true, true);
registerBush("Raspberry", true, true);
registerBush("Spiceleaf", true, true);
registerBush("Strawberry", true, true);
registerBush("Sunflower", false, true);
// Crops
registerCrop("Asparagus", false, false);
registerCrop("Bean", false, false);
registerCrop("Beet", false, false);
registerCrop("Bellpepper", true, false);
registerCrop("Broccoli", false, false);
registerCrop("Cantaloupe", true, false);
registerCrop("Celery", false, false);
registerCrop("Chilipepper", true, false);
registerCrop("Coffee", true, false);
registerCrop("Corn", true, false);
registerCrop("Cucumber", true, false);
registerCrop("Eggplant", true, false);
registerCrop("Garlic", false, false);
registerCrop("Ginger", false, false);
registerCrop("Lettuce", false, false);
registerCrop("Mustard", true, false);
registerCrop("Onion", false, false);
registerCrop("Peanut", false, false);
registerCrop("Peas", true, false);
registerCrop("Pineapple", false, false);
registerCrop("Radish", false, false);
registerCrop("Sweetpotato", false, false);
registerCrop("Tea", false, false);
registerCrop("Tomato", true, false);
registerCrop("Turnip", false, false);
registerCrop("Zucchini", true, false);
// misc types
registerPamMod("Candle", "Candleberry", Category.MISC, true, true, Block.tilledField.blockID);
registerMisc("Cotton", true, true);
// plants that require different base soils
registerPamMod("Rice", "Rice", Category.CROP, false, false, Block.waterStill.blockID);
registerPamMod("Cranberry", "Cranberry", Category.BUSH, false, true, Block.waterStill.blockID);
registerPamMod("Whitemushroom", "Whitemushroom", Category.BUSH, false, true, Block.wood.blockID);
registerPamMod("Rotten", "Rotten", Category.CROP, false, false, Block.slowSand.blockID);
registerPamMod("Cactusfruit", "Cactusfruit", Category.BUSH, true, true, Block.sand.blockID);
// fruits
registerFruit("Apple");
registerFruit("Avocado");
registerFruit("Banana");
registerFruit("Cherry");
registerFruit("Coconut");
registerFruit("Lemon");
registerFruit("Lime");
registerFruit("Mango");
registerFruit("Nutmeg");
registerFruit("Olive");
registerFruit("Orange");
registerFruit("Papaya");
registerFruit("Peach");
registerFruit("Pear");
registerFruit("Peppercorn");
registerFruit("Plum");
registerFruit("Pomegranate");
registerFruit("Starfruit");
registerFruit("Vanillabean");
registerFruit("Walnut");
// special case for candle and cinnamon
registerCandle();
registerCinnamon();
try {
Class<?> mod = Class.forName("mods.PamHarvestCraft.PamHarvestCraft");
MFRRegistry.registerSludgeDrop(25, new ItemStack((Item) mod.getField("saltItem").get(null)));
} catch (Exception x) {
x.printStackTrace();
}
}
if (!Loader.isModLoaded("PamWeeeFlowers")) {
FMLLog.warning("Pam's Weee! Flowers missing - MFR Pam Weee! Flowers Compat not loading");
} else {
String[] flowers = { "White", "Orange", "Magenta", "LightBlue", "Yellow", "Lime", "Pink", "LightGrey", "DarkGrey", "Cyan", "Purple", "Blue", "Brown", "Green", "Red", "Black" };
try {
Class<?> mod = Class.forName("mods.PamWeeeFlowers.PamWeeeFlowers");
MFRRegistry.registerHarvestable(new HarvestableStandard(((Block) mod.getField("pamFlower").get(null)).blockID, HarvestType.Normal));
for (String flower : flowers) {
int seedId = ((Item) mod.getField(flower.toLowerCase() + "flowerseedItem").get(null)).itemID;
int blockId = ((Block) mod.getField("pam" + flower.toLowerCase() + "flowerCrop").get(null)).blockID;
Method fertilize = Class.forName("mods.PamWeeeFlowers.BlockPamFlowerCrop").getMethod("fertilize", World.class, int.class, int.class, int.class);
MFRRegistry.registerPlantable(new PlantableCropPlant(seedId, blockId));
MFRRegistry.registerHarvestable(new HarvestablePams(blockId));
MFRRegistry.registerFertilizable(new FertilizableCropReflection(blockId, fertilize, 7));
}
} catch (ClassNotFoundException x) {
FMLLog.warning("Unable to load Pam support for Weee! Flowers even though Weee! FLowers was present");
} catch (Exception x) {
x.printStackTrace();
}
}
}
use of powercrystals.minefactoryreloaded.farmables.harvestables.HarvestableStandard in project MineFactoryReloaded by powercrystals.
the class RP2 method load.
@Init
public static void load(FMLInitializationEvent e) {
if (!Loader.isModLoaded("RedPowerWorld")) {
FMLLog.warning("RedPowerWorld missing - MFR RedPower2 Compat not loading");
return;
}
try {
Class<?> modClass = Class.forName("com.eloraam.redpower.RedPowerWorld");
int blockIdLeaves = ((Block) modClass.getField("blockLeaves").get(null)).blockID;
int blockIdLogs = ((Block) modClass.getField("blockLogs").get(null)).blockID;
int blockIdPlants = ((Block) modClass.getField("blockPlants").get(null)).blockID;
int blockIdCrops = ((Block) modClass.getField("blockCrops").get(null)).blockID;
int itemCropSeedId = ((Item) modClass.getField("itemSeeds").get(null)).itemID;
Method fertilizeMethod = Class.forName("com.eloraam.redpower.world.BlockCustomFlower").getMethod("growTree", World.class, int.class, int.class, int.class);
MFRRegistry.registerHarvestable(new HarvestableTreeLeaves(blockIdLeaves));
MFRRegistry.registerHarvestable(new HarvestableStandard(blockIdLogs, HarvestType.Tree));
MFRRegistry.registerHarvestable(new HarvestableRedPowerPlant(blockIdPlants));
MFRRegistry.registerHarvestable(new HarvestableRedPowerFlax(blockIdCrops));
MFRRegistry.registerPlantable(new PlantableStandard(blockIdPlants, blockIdPlants));
MFRRegistry.registerPlantable(new PlantableCropPlant(itemCropSeedId, blockIdCrops));
MFRRegistry.registerFertilizable(new FertilizableRedPowerFlax(blockIdCrops));
MFRRegistry.registerFertilizable(new FertilizableRedPowerRubberTree(blockIdPlants, fertilizeMethod));
} catch (Exception x) {
x.printStackTrace();
}
}
use of powercrystals.minefactoryreloaded.farmables.harvestables.HarvestableStandard in project MineFactoryReloaded by powercrystals.
the class Vanilla method load.
@Init
public void load(FMLInitializationEvent event) {
MFRRegistry.registerPlantable(new PlantableStandard(Block.sapling.blockID, Block.sapling.blockID));
MFRRegistry.registerPlantable(new PlantableStandard(Item.pumpkinSeeds.itemID, Block.pumpkinStem.blockID));
MFRRegistry.registerPlantable(new PlantableStandard(Item.melonSeeds.itemID, Block.melonStem.blockID));
MFRRegistry.registerPlantable(new PlantableStandard(Block.mushroomBrown.blockID, Block.mushroomBrown.blockID));
MFRRegistry.registerPlantable(new PlantableStandard(Block.mushroomRed.blockID, Block.mushroomRed.blockID));
MFRRegistry.registerPlantable(new PlantableCropPlant(Item.seeds.itemID, Block.crops.blockID));
MFRRegistry.registerPlantable(new PlantableCropPlant(Item.carrot.itemID, Block.carrot.blockID));
MFRRegistry.registerPlantable(new PlantableCropPlant(Item.potato.itemID, Block.potato.blockID));
MFRRegistry.registerPlantable(new PlantableNetherWart());
MFRRegistry.registerPlantable(new PlantableCocoa());
MFRRegistry.registerPlantable(new PlantableStandard(MineFactoryReloadedCore.rubberSaplingBlock.blockID, MineFactoryReloadedCore.rubberSaplingBlock.blockID));
MFRRegistry.registerHarvestable(new HarvestableWood());
MFRRegistry.registerHarvestable(new HarvestableTreeLeaves(Block.leaves.blockID));
MFRRegistry.registerHarvestable(new HarvestableStandard(Block.reed.blockID, HarvestType.LeaveBottom));
MFRRegistry.registerHarvestable(new HarvestableStandard(Block.cactus.blockID, HarvestType.LeaveBottom));
MFRRegistry.registerHarvestable(new HarvestableStandard(Block.plantRed.blockID, HarvestType.Normal));
MFRRegistry.registerHarvestable(new HarvestableStandard(Block.plantYellow.blockID, HarvestType.Normal));
MFRRegistry.registerHarvestable(new HarvestableShrub(Block.tallGrass.blockID));
MFRRegistry.registerHarvestable(new HarvestableShrub(Block.deadBush.blockID));
MFRRegistry.registerHarvestable(new HarvestableStandard(Block.mushroomCapBrown.blockID, HarvestType.Tree));
MFRRegistry.registerHarvestable(new HarvestableStandard(Block.mushroomCapRed.blockID, HarvestType.Tree));
MFRRegistry.registerHarvestable(new HarvestableMushroom(Block.mushroomBrown.blockID));
MFRRegistry.registerHarvestable(new HarvestableMushroom(Block.mushroomRed.blockID));
MFRRegistry.registerHarvestable(new HarvestableStemPlant(Block.pumpkin.blockID, HarvestType.Normal));
MFRRegistry.registerHarvestable(new HarvestableStemPlant(Block.melon.blockID, HarvestType.Normal));
MFRRegistry.registerHarvestable(new HarvestableCropPlant(Block.crops.blockID, 7));
MFRRegistry.registerHarvestable(new HarvestableCropPlant(Block.carrot.blockID, 7));
MFRRegistry.registerHarvestable(new HarvestableCropPlant(Block.potato.blockID, 7));
MFRRegistry.registerHarvestable(new HarvestableVine());
MFRRegistry.registerHarvestable(new HarvestableNetherWart());
MFRRegistry.registerHarvestable(new HarvestableCocoa());
MFRRegistry.registerHarvestable(new HarvestableStandard(MineFactoryReloadedCore.rubberWoodBlock.blockID, HarvestType.Tree));
MFRRegistry.registerHarvestable(new HarvestableTreeLeaves(MineFactoryReloadedCore.rubberLeavesBlock.blockID));
MFRRegistry.registerFertilizable(new FertilizableSapling(Block.sapling.blockID));
MFRRegistry.registerFertilizable(new FertilizableCropPlant(Block.crops.blockID, 7));
MFRRegistry.registerFertilizable(new FertilizableCropPlant(Block.carrot.blockID, 7));
MFRRegistry.registerFertilizable(new FertilizableCropPlant(Block.potato.blockID, 7));
MFRRegistry.registerFertilizable(new FertilizableGiantMushroom(Block.mushroomBrown.blockID));
MFRRegistry.registerFertilizable(new FertilizableGiantMushroom(Block.mushroomRed.blockID));
MFRRegistry.registerFertilizable(new FertilizableStemPlants(Block.pumpkinStem.blockID));
MFRRegistry.registerFertilizable(new FertilizableStemPlants(Block.melonStem.blockID));
MFRRegistry.registerFertilizable(new FertilizableNetherWart());
MFRRegistry.registerFertilizable(new FertilizableCocoa());
MFRRegistry.registerFertilizable(new FertilizableGrass());
MFRRegistry.registerFertilizable(new FertilizableRubberSapling());
MFRRegistry.registerFertilizer(new FertilizerStandard(MineFactoryReloadedCore.fertilizerItem.itemID, 0));
if (MFRConfig.enableBonemealFertilizing.getBoolean(false)) {
MFRRegistry.registerFertilizer(new FertilizerStandard(Item.dyePowder.itemID, 15));
} else {
MFRRegistry.registerFertilizer(new FertilizerStandard(Item.dyePowder.itemID, 15, FertilizerType.Grass));
}
MFRRegistry.registerRanchable(new RanchableCow());
MFRRegistry.registerRanchable(new RanchableMooshroom());
MFRRegistry.registerRanchable(new RanchableSheep());
MFRRegistry.registerRanchable(new RanchableSquid());
MFRRegistry.registerRanchable(new RanchableChicken());
MFRRegistry.registerGrinderBlacklist(EntityPlayer.class);
MFRRegistry.registerGrinderBlacklist(EntityDragon.class);
MFRRegistry.registerGrinderBlacklist(EntityWither.class);
MFRRegistry.registerGrinderBlacklist(EntityVillager.class);
MFRRegistry.registerGrindable(new GrindableStandard(EntityChicken.class, new MobDrop[] { new MobDrop(30, null), new MobDrop(10, new ItemStack(Item.egg)) }, false));
MFRRegistry.registerGrindable(new GrindableStandard(EntityOcelot.class, new MobDrop[] { new MobDrop(10, new ItemStack(Item.fishRaw)), new MobDrop(10, new ItemStack(Item.silk)) }));
MFRRegistry.registerGrindable(new GrindableStandard(EntityWolf.class, new ItemStack(Item.bone)));
MFRRegistry.registerGrindable(new GrindableZombiePigman());
MFRRegistry.registerGrindable(new GrindableSlime(EntitySlime.class, new ItemStack(Item.slimeBall), 1));
MFRRegistry.registerGrindable(new GrindableSlime(EntityPinkSlime.class, new ItemStack(MineFactoryReloadedCore.pinkSlimeballItem), 1));
MFRRegistry.registerSludgeDrop(50, new ItemStack(Block.sand));
MFRRegistry.registerSludgeDrop(40, new ItemStack(Block.dirt));
MFRRegistry.registerSludgeDrop(30, new ItemStack(Item.clay, 4));
MFRRegistry.registerSludgeDrop(3, new ItemStack(Block.mycelium));
MFRRegistry.registerSludgeDrop(5, new ItemStack(Block.slowSand));
MFRRegistry.registerBreederFood(EntityChicken.class, new ItemStack(Item.seeds));
MFRRegistry.registerBreederFood(EntityChicken.class, new ItemStack(Item.melonSeeds));
MFRRegistry.registerBreederFood(EntityChicken.class, new ItemStack(Item.pumpkinSeeds));
MFRRegistry.registerBreederFood(EntityChicken.class, new ItemStack(Item.netherStalkSeeds));
MFRRegistry.registerBreederFood(EntityWolf.class, new ItemStack(Item.porkCooked));
MFRRegistry.registerBreederFood(EntityOcelot.class, new ItemStack(Item.fishRaw));
MFRRegistry.registerBreederFood(EntityPig.class, new ItemStack(Item.carrot));
MFRRegistry.registerSafariNetHandler(new EntityLivingHandler());
MFRRegistry.registerSafariNetHandler(new EntityAgeableHandler());
MFRRegistry.registerSafariNetHandler(new SheepHandler());
MFRRegistry.registerSafariNetHandler(new SlimeHandler());
MFRRegistry.registerMobEggHandler(new VanillaEggHandler());
MFRRegistry.registerRubberTreeBiome("Swampland");
MFRRegistry.registerRubberTreeBiome("Forest");
MFRRegistry.registerRubberTreeBiome("Taiga");
MFRRegistry.registerRubberTreeBiome("TaigaHills");
MFRRegistry.registerRubberTreeBiome("Jungle");
MFRRegistry.registerRubberTreeBiome("JungleHills");
MFRRegistry.registerSafariNetBlacklist(EntityPlayer.class);
MFRRegistry.registerSafariNetBlacklist(EntityDragon.class);
MFRRegistry.registerSafariNetBlacklist(EntityWither.class);
MFRRegistry.registerRandomMobProvider(new VanillaMobProvider());
MFRRegistry.registerLiquidDrinkHandler(Block.waterStill.blockID, new DrinkHandlerWater());
MFRRegistry.registerLiquidDrinkHandler(Block.waterMoving.blockID, new DrinkHandlerWater());
MFRRegistry.registerLiquidDrinkHandler(Block.lavaStill.blockID, new DrinkHandlerLava());
MFRRegistry.registerLiquidDrinkHandler(Block.lavaMoving.blockID, new DrinkHandlerLava());
MFRRegistry.registerLiquidDrinkHandler(MineFactoryReloadedCore.milkLiquid.blockID, new DrinkHandlerMilk());
MFRRegistry.registerLiquidDrinkHandler(MineFactoryReloadedCore.biofuelLiquid.blockID, new DrinkHandlerBiofuel());
MFRRegistry.registerLiquidDrinkHandler(MineFactoryReloadedCore.sewageLiquid.blockID, new DrinkHandlerSewage());
MFRRegistry.registerLiquidDrinkHandler(MineFactoryReloadedCore.sludgeLiquid.blockID, new DrinkHandlerSludge());
MFRRegistry.registerLiquidDrinkHandler(MineFactoryReloadedCore.essenceLiquid.blockID, new DrinkHandlerMobEssence());
MFRRegistry.registerLiquidDrinkHandler(MineFactoryReloadedCore.meatLiquid.blockID, new DrinkHandlerMeat());
MFRRegistry.registerLiquidDrinkHandler(MineFactoryReloadedCore.pinkSlimeLiquid.blockID, new DrinkHandlerPinkSlime());
MFRRegistry.registerLiquidDrinkHandler(MineFactoryReloadedCore.chocolateMilkLiquid.blockID, new DrinkHandlerChocolateMilk());
MFRRegistry.registerLiquidDrinkHandler(MineFactoryReloadedCore.mushroomSoupLiquid.blockID, new DrinkHandlerMushroomSoup());
MFRRegistry.registerRedNetLogicCircuit(new AdderAnalog());
MFRRegistry.registerRedNetLogicCircuit(new AdderDigitalFull());
MFRRegistry.registerRedNetLogicCircuit(new AdderDigitalHalf());
MFRRegistry.registerRedNetLogicCircuit(new And2());
MFRRegistry.registerRedNetLogicCircuit(new And3());
MFRRegistry.registerRedNetLogicCircuit(new And4());
MFRRegistry.registerRedNetLogicCircuit(new Counter());
MFRRegistry.registerRedNetLogicCircuit(new DecomposeIntToDecimal());
MFRRegistry.registerRedNetLogicCircuit(new Delay());
MFRRegistry.registerRedNetLogicCircuit(new DeMux16Analog());
MFRRegistry.registerRedNetLogicCircuit(new DeMux4());
MFRRegistry.registerRedNetLogicCircuit(new Equal());
MFRRegistry.registerRedNetLogicCircuit(new Fanout());
MFRRegistry.registerRedNetLogicCircuit(new FlipFlopJK());
MFRRegistry.registerRedNetLogicCircuit(new FlipFlopT());
MFRRegistry.registerRedNetLogicCircuit(new Greater());
MFRRegistry.registerRedNetLogicCircuit(new GreaterOrEqual());
MFRRegistry.registerRedNetLogicCircuit(new Inverter());
MFRRegistry.registerRedNetLogicCircuit(new LatchDGated());
MFRRegistry.registerRedNetLogicCircuit(new LatchSR());
MFRRegistry.registerRedNetLogicCircuit(new LatchSRGated());
MFRRegistry.registerRedNetLogicCircuit(new Less());
MFRRegistry.registerRedNetLogicCircuit(new LessOrEqual());
MFRRegistry.registerRedNetLogicCircuit(new Max2());
MFRRegistry.registerRedNetLogicCircuit(new Max3());
MFRRegistry.registerRedNetLogicCircuit(new Max4());
MFRRegistry.registerRedNetLogicCircuit(new Min2());
MFRRegistry.registerRedNetLogicCircuit(new Min3());
MFRRegistry.registerRedNetLogicCircuit(new Min4());
MFRRegistry.registerRedNetLogicCircuit(new Multipulse());
MFRRegistry.registerRedNetLogicCircuit(new Mux4());
MFRRegistry.registerRedNetLogicCircuit(new Nand2());
MFRRegistry.registerRedNetLogicCircuit(new Nand3());
MFRRegistry.registerRedNetLogicCircuit(new Nand4());
MFRRegistry.registerRedNetLogicCircuit(new Negator());
MFRRegistry.registerRedNetLogicCircuit(new Noop());
MFRRegistry.registerRedNetLogicCircuit(new Nor2());
MFRRegistry.registerRedNetLogicCircuit(new Nor3());
MFRRegistry.registerRedNetLogicCircuit(new Nor4());
MFRRegistry.registerRedNetLogicCircuit(new NotEqual());
MFRRegistry.registerRedNetLogicCircuit(new OneShot());
MFRRegistry.registerRedNetLogicCircuit(new Or2());
MFRRegistry.registerRedNetLogicCircuit(new Or3());
MFRRegistry.registerRedNetLogicCircuit(new Or4());
MFRRegistry.registerRedNetLogicCircuit(new Passthrough());
MFRRegistry.registerRedNetLogicCircuit(new PassthroughGated());
MFRRegistry.registerRedNetLogicCircuit(new PassthroughRoundRobin());
MFRRegistry.registerRedNetLogicCircuit(new PulseLengthener());
MFRRegistry.registerRedNetLogicCircuit(new RandomizerAnalog());
MFRRegistry.registerRedNetLogicCircuit(new RandomizerDigital());
MFRRegistry.registerRedNetLogicCircuit(new SevenSegmentEncoder());
MFRRegistry.registerRedNetLogicCircuit(new SawtoothFalling());
MFRRegistry.registerRedNetLogicCircuit(new SawtoothRising());
MFRRegistry.registerRedNetLogicCircuit(new Scaler());
MFRRegistry.registerRedNetLogicCircuit(new SchmittTrigger());
MFRRegistry.registerRedNetLogicCircuit(new Sine());
MFRRegistry.registerRedNetLogicCircuit(new Square());
MFRRegistry.registerRedNetLogicCircuit(new Subtractor());
MFRRegistry.registerRedNetLogicCircuit(new Triangle());
MFRRegistry.registerRedNetLogicCircuit(new Xnor2());
MFRRegistry.registerRedNetLogicCircuit(new Xnor3());
MFRRegistry.registerRedNetLogicCircuit(new Xnor4());
MFRRegistry.registerRedNetLogicCircuit(new Xor2());
MFRRegistry.registerRedNetLogicCircuit(new Xor3());
MFRRegistry.registerRedNetLogicCircuit(new Xor4());
MFRRegistry.registerLaserOre(175, new ItemStack(Block.oreCoal));
MFRRegistry.registerLaserOre(50, new ItemStack(Block.oreDiamond));
MFRRegistry.registerLaserOre(50, new ItemStack(Block.oreEmerald));
MFRRegistry.registerLaserOre(70, new ItemStack(Block.oreGold));
MFRRegistry.registerLaserOre(150, new ItemStack(Block.oreIron));
MFRRegistry.registerLaserOre(80, new ItemStack(Block.oreLapis));
MFRRegistry.registerLaserOre(100, new ItemStack(Block.oreRedstone));
MFRRegistry.registerLaserOre(50, new ItemStack(Block.oreNetherQuartz));
MFRRegistry.registerLaserOre(80, new ItemStack(Block.glowStone));
MFRRegistry.registerFruitLogBlockId(Block.wood.blockID);
MFRRegistry.registerFruit(new FruitCocoa());
MFRRegistry.registerAutoSpawnerBlacklist("VillagerGolem");
MFRRegistry.addLaserPreferredOre(15, new ItemStack(Block.oreCoal));
MFRRegistry.addLaserPreferredOre(3, new ItemStack(Block.oreDiamond));
MFRRegistry.addLaserPreferredOre(5, new ItemStack(Block.oreEmerald));
MFRRegistry.addLaserPreferredOre(4, new ItemStack(Block.oreGold));
MFRRegistry.addLaserPreferredOre(12, new ItemStack(Block.oreIron));
MFRRegistry.addLaserPreferredOre(11, new ItemStack(Block.oreLapis));
MFRRegistry.addLaserPreferredOre(14, new ItemStack(Block.oreRedstone));
MFRRegistry.addLaserPreferredOre(0, new ItemStack(Block.oreNetherQuartz));
MFRRegistry.registerNeedleAmmoType(MineFactoryReloadedCore.needlegunAmmoStandardItem.itemID, (INeedleAmmo) MineFactoryReloadedCore.needlegunAmmoStandardItem);
MFRRegistry.registerNeedleAmmoType(MineFactoryReloadedCore.needlegunAmmoLavaItem.itemID, (INeedleAmmo) MineFactoryReloadedCore.needlegunAmmoLavaItem);
MFRRegistry.registerNeedleAmmoType(MineFactoryReloadedCore.needlegunAmmoSludgeItem.itemID, (INeedleAmmo) MineFactoryReloadedCore.needlegunAmmoSludgeItem);
MFRRegistry.registerNeedleAmmoType(MineFactoryReloadedCore.needlegunAmmoSewageItem.itemID, (INeedleAmmo) MineFactoryReloadedCore.needlegunAmmoSewageItem);
MFRRegistry.registerNeedleAmmoType(MineFactoryReloadedCore.needlegunAmmoFireItem.itemID, (INeedleAmmo) MineFactoryReloadedCore.needlegunAmmoFireItem);
MFRRegistry.registerNeedleAmmoType(MineFactoryReloadedCore.needlegunAmmoAnvilItem.itemID, (INeedleAmmo) MineFactoryReloadedCore.needlegunAmmoAnvilItem);
}
Aggregations