public class MCLivingDestroyBlockEvent
extends java.lang.Object
implements crafttweaker.api.event.LivingDestroyBlockEvent
Constructor and Description |
---|
MCLivingDestroyBlockEvent(net.minecraftforge.event.entity.living.LivingDestroyBlockEvent event) |
Modifier and Type | Method and Description |
---|---|
crafttweaker.api.entity.IEntityLivingBase |
getEntityLivingBase() |
crafttweaker.api.world.IBlockPos |
getPosition() |
crafttweaker.api.block.IBlockState |
getState() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
public MCLivingDestroyBlockEvent(net.minecraftforge.event.entity.living.LivingDestroyBlockEvent event)
public crafttweaker.api.block.IBlockState getState()
getState
in interface crafttweaker.api.event.LivingDestroyBlockEvent
public boolean isCanceled()
isCanceled
in interface crafttweaker.api.event.IEventCancelable
public void setCanceled(boolean canceled)
setCanceled
in interface crafttweaker.api.event.IEventCancelable
public crafttweaker.api.world.IBlockPos getPosition()
getPosition
in interface crafttweaker.api.event.IEventPositionable
public crafttweaker.api.entity.IEntityLivingBase getEntityLivingBase()
getEntityLivingBase
in interface crafttweaker.api.event.ILivingEvent