Example usage for net.minecraftforge.common IPlantable interface-usage

List of usage examples for net.minecraftforge.common IPlantable interface-usage

Introduction

In this page you can find the example usage for net.minecraftforge.common IPlantable interface-usage.

Usage

From source file com.blogspot.jabelarminecraft.blocksmith.items.ItemSeedFoodMagicBeans.java

public class ItemSeedFoodMagicBeans extends ItemFood implements IPlantable {
    private final IBlockState theBlockPlant;

    public ItemSeedFoodMagicBeans(int parHealAmount, float parSaturationModifier, Block parBlockPlant) {
        super(parHealAmount, parSaturationModifier, false);
        theBlockPlant = parBlockPlant.getDefaultState();

From source file com.blogspot.jabelarminecraft.magicbeans.items.ItemSeedFoodMagicBeans.java

public class ItemSeedFoodMagicBeans extends ItemFood implements IPlantable {
    protected final Block thePlant;
    protected final Block theSoil;

    public ItemSeedFoodMagicBeans(int parHealAmount, float parSaturationModifier, Block parBlockPlant,
            Block parSoilBlock) {

From source file com.blogspot.jabelarminecraft.recipesplus.items.RecipeItemSeedFood.java

public class RecipeItemSeedFood extends ItemFood implements IPlantable {
    private final Block theBlockPlant;
    /**
     * Block ID of the soil this seed food should be planted on.
     */
    private final Block soilId;

From source file com.bluepowermod.item.ItemCropSeed.java

public class ItemCropSeed extends ItemSeeds implements IPlantable {

    public static Block field_150925_a;

    public ItemCropSeed(Block blockCrop, Block blockSoil) {

From source file com.redthirddivision.mc.waffle.items.ItemModSeed.java

/**
 * <strong>Project:</strong> WaffleMod <br>
 * <strong>File:</strong> BlockModSeed.java
 *
 * @author <a href = "http://redthirddivision.com/team/blp"> Matthew Rogers</a>
 */

From source file daxum.temporalconvergence.block.BlockSaplingBase.java

public class BlockSaplingBase extends BlockBase implements IPlantable, IGrowable {
    private static final AxisAlignedBB SAPLING_AABB = new AxisAlignedBB(0.1, 0.0, 0.1, 0.9, 0.8, 0.9);
    private final WorldGenTrees TREE_GEN;

    public BlockSaplingBase(String registryName, BlockPresets preset, IBlockState woodState,
            IBlockState leafState) {

From source file daxum.temporalconvergence.block.BlockTimePlant.java

public class BlockTimePlant extends BlockBase implements IPlantable, IGrowable {
    public static final PropertyInteger AGE = BlockCrops.AGE;
    public static final AxisAlignedBB SMALL_AABB = new AxisAlignedBB(0.0625, 0.0, 0.0625, 0.9375, 0.5, 0.9375);
    public static final AxisAlignedBB MEDIUM_AABB = new AxisAlignedBB(0.0625, 0.0, 0.0625, 0.9375, 0.6875, 0.9375);
    public static final AxisAlignedBB LARGE_AABB = new AxisAlignedBB(0.0625, 0.0, 0.0625, 0.9375, 0.875, 0.9375);
    public static final AxisAlignedBB FULL_AABB = new AxisAlignedBB(0.0625, 0.0, 0.0625, 0.9375, 1.0, 0.9375);

From source file daxum.temporalconvergence.item.ItemRewoundTimeSeeds.java

public class ItemRewoundTimeSeeds extends ItemBase implements IPlantable {
    public ItemRewoundTimeSeeds() {
        super("rewound_time_seeds");
    }

    @Override

From source file dokutoku.lead.zotonic.crop.seed.PolySeeds.java

/**
 * Codename: Lead Zotonic
 *
 * PolySeeds
 *
 * @author Atomfusion/DokuToku

From source file extrabiomes.blocks.BlockCustomFlower.java

public class BlockCustomFlower extends Block implements IPlantable {
    public static int NUM_GROUPS = 2; // number of flower groups

    public enum BlockType {
        // group 0 - original flowers
        AUTUMN_SHRUB(0, 0, "autumnshrub", 0, -1, new String[] {}), HYDRANGEA(0, 1, "hydrangea", 2, 12,