Package powercrystals.minefactoryreloaded.farmables.harvestables

Examples of powercrystals.minefactoryreloaded.farmables.harvestables.HarvestableStandard


      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));
View Full Code Here


     
      for(Entry<String, HarvestType> e : _harvestRegistries.entrySet())
      {
        Object o = xbbs.getField(e.getKey()).get(null);
        Integer blockID = (Integer)xbbs.getMethod("getID").invoke(o);
        MFRRegistry.registerHarvestable(new HarvestableStandard(blockID, e.getValue()));
      }
     
      for(String s : new String[] { "SAPLING", "CATTAIL" })
      {
        Object o = xbbs.getField(s).get(null);
View Full Code Here

      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));
      }
View Full Code Here

    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));
View Full Code Here

     
      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;
View Full Code Here

      }
     
      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));
View Full Code Here

      MFRRegistry.registerPlantable(new PlantableStandard(flaxSeedsId, flaxId));
     
      MFRRegistry.registerFertilizable(new FertilizableCropReflection(flaxId, atumFlaxFertilize, 5));
      MFRRegistry.registerFertilizable(new FertilizableSaplingReflection(atumSaplingId, atumSaplingGrowTree));
     
      MFRRegistry.registerHarvestable(new HarvestableStandard(atumLogId, HarvestType.Tree));
      MFRRegistry.registerHarvestable(new HarvestableTreeLeaves(atumLeavesId));
      MFRRegistry.registerHarvestable(new HarvestableStandard(flaxId, HarvestType.Normal));
      MFRRegistry.registerHarvestable(new HarvestableStandard(papyrusId, HarvestType.LeaveBottom));
      MFRRegistry.registerHarvestable(new HarvestableStandard(shrubId, HarvestType.Normal));
      MFRRegistry.registerHarvestable(new HarvestableStandard(weedId, HarvestType.Normal));
     
    }
    catch (Exception x)
    {
      System.out.println("Last updated for " + lastUpdated);
View Full Code Here

      Block tcSapling = (Block)Class.forName("thaumcraft.common.Config").getField("blockCustomPlant").get(null);
      Block tcLog = (Block)Class.forName("thaumcraft.common.Config").getField("blockMagicalLog").get(null);
      Block tcLeaves = (Block)Class.forName("thaumcraft.common.Config").getField("blockMagicalLeaves").get(null);
      Class<?> golem = Class.forName("thaumcraft.common.entities.golems.EntityGolemBase");
     
      MFRRegistry.registerHarvestable(new HarvestableStandard(tcLog.blockID, HarvestType.Tree));
      MFRRegistry.registerHarvestable(new HarvestableThaumcraftLeaves(tcLeaves.blockID, tcSapling.blockID));
      MFRRegistry.registerHarvestable(new HarvestableThaumcraftPlant(tcSapling.blockID));
     
      MFRRegistry.registerPlantable(new PlantableThaumcraftTree(tcSapling.blockID, tcSapling.blockID));
     
View Full Code Here

TOP

Related Classes of powercrystals.minefactoryreloaded.farmables.harvestables.HarvestableStandard

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.