Examples of PlantableStandard


Examples of mods.natura.plugins.minefactoryreloaded.plantables.PlantableStandard

        Block thornVinesId = NContent.thornVines  ;

        FactoryRegistry.sendMessage("registerPlantable",new PlantableNaturaCrop(seedsId, cropsId));
        FactoryRegistry.sendMessage("registerPlantable",new PlantableNaturaBerry(Item.getItemFromBlock(berryBushId), berryBushId));
        FactoryRegistry.sendMessage("registerPlantable",new PlantableNaturaNetherBerry(Item.getItemFromBlock(netherBerryBushId), netherBerryBushId));
        FactoryRegistry.sendMessage("registerPlantable",new PlantableStandard(saguaroFruitId, saguaroId));
        FactoryRegistry.sendMessage("registerPlantable",new PlantableStandard(Item.getItemFromBlock(floraSaplingId), floraSaplingId));

        //misc plants
        FactoryRegistry.sendMessage("registerHarvestable",new HarvestableStandard(bluebellsId, HarvestType.Normal));
        //glowshrooms
        FactoryRegistry.sendMessage("registerHarvestable",new HarvestableStandard(glowshroomId, HarvestType.Normal));
View Full Code Here

Examples of powercrystals.minefactoryreloaded.farmables.plantables.PlantableStandard

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

Examples of powercrystals.minefactoryreloaded.farmables.plantables.PlantableStandard

     
      for(String s : new String[] { "SAPLING", "CATTAIL" })
      {
        Object o = xbbs.getField(s).get(null);
        Integer blockID = (Integer)xbbs.getMethod("getID").invoke(o);
        MFRRegistry.registerPlantable(new PlantableStandard(blockID, blockID));
      }
     
     
      Class<?> xbs = Class.forName("extrabiomes.blocks.BlockCustomSapling");
      Method fert = xbs.getMethod("growTree", World.class, int.class, int.class, int.class, Random.class);
View Full Code Here

Examples of powercrystals.minefactoryreloaded.farmables.plantables.PlantableStandard

      ItemStack stickyResin = Items.getItem("resin");
      ItemStack plantBall = Items.getItem("plantBall");
     
      if(rubberSapling != null)
      {
        MFRRegistry.registerPlantable(new PlantableStandard(rubberSapling.itemID, rubberSapling.itemID));
        MFRRegistry.registerFertilizable(new FertilizableIC2RubberTree(rubberSapling.itemID));
      }
      if(rubberLeaves != null)
      {
        MFRRegistry.registerHarvestable(new HarvestableTreeLeaves(rubberLeaves.itemID));
View Full Code Here

Examples of powercrystals.minefactoryreloaded.farmables.plantables.PlantableStandard

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

Examples of powercrystals.minefactoryreloaded.farmables.plantables.PlantableStandard

public class Vanilla
{
  @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));
View Full Code Here

Examples of powercrystals.minefactoryreloaded.farmables.plantables.PlantableStandard

      MFRRegistry.registerSafariNetBlacklist(pharaoh);

      MFRRegistry.registerGrinderBlacklist(banditWarlord);
      MFRRegistry.registerGrinderBlacklist(pharaoh);
     
      MFRRegistry.registerPlantable(new PlantableStandard(atumSaplingId, atumSaplingId));
      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));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.