public class FarmLogicCrops extends FarmLogicWatered
FarmLogicWatered.CultivationTypeisManual, properties| Constructor and Description |
|---|
FarmLogicCrops(IFarmProperties properties,
boolean isManual) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
collect(net.minecraft.world.World world,
IFarmHousing farmHousing)
Collects all items that are laying on the ground and are in the
IFarmHousing.getArea() of the farm. |
net.minecraft.item.ItemStack |
getIconItemStack() |
java.lang.String |
getUnlocalizedName() |
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 itemstack) |
protected boolean |
maintainCrops(net.minecraft.world.World world,
IFarmHousing farmHousing,
net.minecraft.util.math.BlockPos pos,
FarmDirection direction,
int extent) |
cultivate, getFertilizerConsumption, getWaterConsumption, isValidPosition, maintainSoil, maintainWater, trySetSoil, trySetWaterisAcceptedResource, isAcceptedSoilcollectEntityItems, getCrop, getFarmables, getName, getProperties, getSoils, harvest, isIceBlock, isManual, isWaterSourceBlock, setManual, toString, translateWithOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSoil, getTextureMap, harvestpublic FarmLogicCrops(IFarmProperties properties, boolean isManual)
public boolean isAcceptedGermling(net.minecraft.item.ItemStack itemstack)
IFarmLogicIFarmable of this farm.public boolean isAcceptedWindfall(net.minecraft.item.ItemStack itemstack)
isAcceptedWindfall in class FarmLogicpublic net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> collect(net.minecraft.world.World world,
IFarmHousing farmHousing)
IFarmLogicIFarmHousing.getArea() of the farm.world - The world of the farm.farmHousing - The farm that uses this logic.protected boolean maintainCrops(net.minecraft.world.World world,
IFarmHousing farmHousing,
net.minecraft.util.math.BlockPos pos,
FarmDirection direction,
int extent)
maintainCrops in class FarmLogicWateredpublic net.minecraft.item.ItemStack getIconItemStack()
public java.lang.String getUnlocalizedName()