public class MCProjectileImpactThrowableEvent extends MCProjectileImpactEvent implements crafttweaker.api.event.ProjectileImpactThrowableEvent
Constructor and Description |
---|
MCProjectileImpactThrowableEvent(net.minecraftforge.event.entity.ProjectileImpactEvent.Throwable event) |
Modifier and Type | Method and Description |
---|---|
crafttweaker.api.entity.IEntity |
getThrowable() |
crafttweaker.api.entity.IEntityLivingBase |
getThrower() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
getEntity, getRayTraceResult
public MCProjectileImpactThrowableEvent(net.minecraftforge.event.entity.ProjectileImpactEvent.Throwable event)
public crafttweaker.api.entity.IEntity getThrowable()
getThrowable
in interface crafttweaker.api.event.ProjectileImpactThrowableEvent
public crafttweaker.api.entity.IEntityLivingBase getThrower()
getThrower
in interface crafttweaker.api.event.ProjectileImpactThrowableEvent
public boolean isCanceled()
isCanceled
in interface crafttweaker.api.event.IEventCancelable
public void setCanceled(boolean canceled)
setCanceled
in interface crafttweaker.api.event.IEventCancelable