public class FarmLogicPeat extends FarmLogicWatered
FarmLogicWatered.CultivationTypeisManual, properties| Constructor and Description |
|---|
FarmLogicPeat(IFarmProperties properties,
boolean isManual) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFertilizerConsumption() |
net.minecraft.item.ItemStack |
getIconItemStack() |
java.lang.String |
getUnlocalizedName() |
java.util.Collection<ICrop> |
harvest(net.minecraft.world.World world,
IFarmHousing housing,
net.minecraft.util.math.BlockPos pos,
FarmDirection direction,
int extent) |
boolean |
isAcceptedGermling(net.minecraft.item.ItemStack itemstack)
Checks if the given stack is a germling (plantable sapling, seed, etc.) for any
IFarmable of this farm. |
boolean |
isAcceptedWindfall(net.minecraft.item.ItemStack stack) |
cultivate, getWaterConsumption, isValidPosition, maintainCrops, maintainSoil, maintainWater, trySetSoil, trySetWaterisAcceptedResource, isAcceptedSoilcollectEntityItems, getCrop, getFarmables, getName, getProperties, getSoils, isIceBlock, isManual, isWaterSourceBlock, setManual, toString, translateWithOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSoil, collect, getTextureMap, harvestpublic FarmLogicPeat(IFarmProperties properties, boolean isManual)
public int getFertilizerConsumption()
getFertilizerConsumption in interface IFarmLogicgetFertilizerConsumption in class FarmLogicWateredIFarmHousing automatically removes after this logic cultivated
a block or harvested a crop.public java.lang.String getUnlocalizedName()
public boolean isAcceptedGermling(net.minecraft.item.ItemStack itemstack)
IFarmLogicIFarmable of this farm.public boolean isAcceptedWindfall(net.minecraft.item.ItemStack stack)
isAcceptedWindfall in class FarmLogicpublic java.util.Collection<ICrop> harvest(net.minecraft.world.World world, IFarmHousing housing, net.minecraft.util.math.BlockPos pos, FarmDirection direction, int extent)
harvest in interface IFarmLogicharvest in class FarmLogicpublic net.minecraft.item.ItemStack getIconItemStack()