public class FarmLogicEnder extends FarmLogicHomogeneous
isManual, properties| Constructor and Description |
|---|
FarmLogicEnder(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. |
int |
getFertilizerConsumption() |
net.minecraft.item.ItemStack |
getIconItemStack() |
java.lang.String |
getUnlocalizedName() |
int |
getWaterConsumption(float hydrationModifier) |
java.util.Collection<ICrop> |
harvest(net.minecraft.world.World world,
IFarmHousing farmHousing,
net.minecraft.util.math.BlockPos pos,
FarmDirection direction,
int extent) |
protected boolean |
maintainGermlings(net.minecraft.world.World world,
IFarmHousing farmHousing,
net.minecraft.util.math.BlockPos pos,
FarmDirection direction,
int extent) |
cultivate, isAcceptedGermling, isAcceptedWindfall, trySetCropisAcceptedResource, isAcceptedSoilcollectEntityItems, getCrop, getFarmables, getName, getProperties, getSoils, isIceBlock, isManual, isWaterSourceBlock, setManual, toString, translateWithOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSoil, getTextureMap, harvestpublic FarmLogicEnder(IFarmProperties properties, boolean isManual)
public java.lang.String getUnlocalizedName()
public net.minecraft.item.ItemStack getIconItemStack()
public int getFertilizerConsumption()
IFarmHousing automatically removes after this logic cultivated
a block or harvested a crop.public int getWaterConsumption(float hydrationModifier)
hydrationModifier - A modifier that depends on the weather and the biome of the farm.IFarmHousing automatically removes after this logic cultivated
a block or harvested a crop.public 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.public java.util.Collection<ICrop> harvest(net.minecraft.world.World world, IFarmHousing farmHousing, net.minecraft.util.math.BlockPos pos, FarmDirection direction, int extent)
harvest in interface IFarmLogicharvest in class FarmLogicprotected boolean maintainGermlings(net.minecraft.world.World world,
IFarmHousing farmHousing,
net.minecraft.util.math.BlockPos pos,
FarmDirection direction,
int extent)
maintainGermlings in class FarmLogicHomogeneous