public class MCBlockFarmlandTrampleEvent extends MCBlockEvent implements crafttweaker.api.event.BlockFarmlandTrampleEvent
| Constructor and Description |
|---|
MCBlockFarmlandTrampleEvent(net.minecraftforge.event.world.BlockEvent.FarmlandTrampleEvent event) |
| Modifier and Type | Method and Description |
|---|---|
crafttweaker.api.entity.IEntity |
getEntity() |
float |
getFallDistance() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
getBlockState, getPosition, getWorldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlock, getBlockState, getWorldpublic MCBlockFarmlandTrampleEvent(net.minecraftforge.event.world.BlockEvent.FarmlandTrampleEvent event)
public crafttweaker.api.entity.IEntity getEntity()
getEntity in interface crafttweaker.api.event.BlockFarmlandTrampleEventpublic float getFallDistance()
getFallDistance in interface crafttweaker.api.event.BlockFarmlandTrampleEventpublic boolean isCanceled()
isCanceled in interface crafttweaker.api.event.IEventCancelablepublic void setCanceled(boolean canceled)
setCanceled in interface crafttweaker.api.event.IEventCancelable