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, getWorld
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlock, getBlockState, getWorld
public MCBlockFarmlandTrampleEvent(net.minecraftforge.event.world.BlockEvent.FarmlandTrampleEvent event)
public crafttweaker.api.entity.IEntity getEntity()
getEntity
in interface crafttweaker.api.event.BlockFarmlandTrampleEvent
public float getFallDistance()
getFallDistance
in interface crafttweaker.api.event.BlockFarmlandTrampleEvent
public boolean isCanceled()
isCanceled
in interface crafttweaker.api.event.IEventCancelable
public void setCanceled(boolean canceled)
setCanceled
in interface crafttweaker.api.event.IEventCancelable