public class HarvestableHandler
extends java.lang.Object
implements powercrystals.minefactoryreloaded.api.IFactoryHarvestable
| Constructor and Description |
|---|
HarvestableHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
breakBlock() |
boolean |
canBeHarvested(net.minecraft.world.World world,
java.util.Map<java.lang.String,java.lang.Boolean> harvesterSettings,
int x,
int y,
int z) |
java.util.List<net.minecraft.item.ItemStack> |
getDrops(net.minecraft.world.World world,
java.util.Random random,
java.util.Map<java.lang.String,java.lang.Boolean> harvesterSettings,
int x,
int y,
int z) |
powercrystals.minefactoryreloaded.api.HarvestType |
getHarvestType() |
net.minecraft.block.Block |
getPlant() |
void |
postHarvest(net.minecraft.world.World world,
int x,
int y,
int z) |
void |
preHarvest(net.minecraft.world.World world,
int x,
int y,
int z) |
public net.minecraft.block.Block getPlant()
getPlant in interface powercrystals.minefactoryreloaded.api.IFactoryHarvestablepublic powercrystals.minefactoryreloaded.api.HarvestType getHarvestType()
getHarvestType in interface powercrystals.minefactoryreloaded.api.IFactoryHarvestablepublic boolean breakBlock()
breakBlock in interface powercrystals.minefactoryreloaded.api.IFactoryHarvestablepublic boolean canBeHarvested(net.minecraft.world.World world,
java.util.Map<java.lang.String,java.lang.Boolean> harvesterSettings,
int x,
int y,
int z)
canBeHarvested in interface powercrystals.minefactoryreloaded.api.IFactoryHarvestablepublic java.util.List<net.minecraft.item.ItemStack> getDrops(net.minecraft.world.World world,
java.util.Random random,
java.util.Map<java.lang.String,java.lang.Boolean> harvesterSettings,
int x,
int y,
int z)
getDrops in interface powercrystals.minefactoryreloaded.api.IFactoryHarvestablepublic void preHarvest(net.minecraft.world.World world,
int x,
int y,
int z)
preHarvest in interface powercrystals.minefactoryreloaded.api.IFactoryHarvestablepublic void postHarvest(net.minecraft.world.World world,
int x,
int y,
int z)
postHarvest in interface powercrystals.minefactoryreloaded.api.IFactoryHarvestable