public class MCCropGrowPreEvent extends MCBlockEvent implements crafttweaker.api.event.CropGrowPreEvent
Constructor and Description |
---|
MCCropGrowPreEvent(net.minecraftforge.event.world.BlockEvent.CropGrowEvent.Pre event) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResult() |
void |
setAllowed() |
void |
setDefault() |
void |
setDenied() |
getBlockState, getPosition, getWorld
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MCCropGrowPreEvent(net.minecraftforge.event.world.BlockEvent.CropGrowEvent.Pre event)
public java.lang.String getResult()
getResult
in interface crafttweaker.api.event.IEventHasResult
public void setDenied()
setDenied
in interface crafttweaker.api.event.IEventHasResult
public void setDefault()
setDefault
in interface crafttweaker.api.event.IEventHasResult
public void setAllowed()
setAllowed
in interface crafttweaker.api.event.IEventHasResult