public class PlantableHandler
extends java.lang.Object
implements powercrystals.minefactoryreloaded.api.IFactoryPlantable
| Constructor and Description |
|---|
PlantableHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBePlanted(net.minecraft.item.ItemStack stack,
boolean forFermenting) |
boolean |
canBePlantedHere(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.item.ItemStack stack) |
powercrystals.minefactoryreloaded.api.ReplacementBlock |
getPlantedBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.item.ItemStack stack) |
net.minecraft.item.Item |
getSeed() |
void |
postPlant(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.item.ItemStack stack) |
void |
prePlant(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.item.ItemStack stack) |
public net.minecraft.item.Item getSeed()
getSeed in interface powercrystals.minefactoryreloaded.api.IFactoryPlantablepublic boolean canBePlanted(net.minecraft.item.ItemStack stack,
boolean forFermenting)
canBePlanted in interface powercrystals.minefactoryreloaded.api.IFactoryPlantablepublic powercrystals.minefactoryreloaded.api.ReplacementBlock getPlantedBlock(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.item.ItemStack stack)
getPlantedBlock in interface powercrystals.minefactoryreloaded.api.IFactoryPlantablepublic boolean canBePlantedHere(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.item.ItemStack stack)
canBePlantedHere in interface powercrystals.minefactoryreloaded.api.IFactoryPlantablepublic void prePlant(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.item.ItemStack stack)
prePlant in interface powercrystals.minefactoryreloaded.api.IFactoryPlantablepublic void postPlant(net.minecraft.world.World world,
int x,
int y,
int z,
net.minecraft.item.ItemStack stack)
postPlant in interface powercrystals.minefactoryreloaded.api.IFactoryPlantable