public class FarmableCocoa extends FarmableAgingCrop
| Modifier and Type | Field and Description |
|---|---|
static int |
COCOA_META |
static net.minecraft.item.Item |
COCOA_SEED |
ageProperty, cropBlock, germling, minHarvestAge, products, replantAge| Constructor and Description |
|---|
FarmableCocoa() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
plantSaplingAt(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack germling,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Plants a sapling by manipulating the world.
|
addInformation, getCropAt, getReplantState, isGermling, isSaplingAt, isWindfallclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisSaplingAtpublic static final net.minecraft.item.Item COCOA_SEED
public static final int COCOA_META
public boolean plantSaplingAt(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack germling,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
IFarmableIFarmLogic should have verified the given location as valid. Called by the IFarmHousing
which handles resources.plantSaplingAt in interface IFarmableplantSaplingAt in class FarmableAgingCrop