ProjectileImpactThrowable
Link to projectileimpactthrowable
This event is fired whenever a throwable projectile impacts an entity but before damage, etc, is calculated. It is cancelable, and if canceled, the impact will not be processed.
Importing the class
Link to importing-the-class
It might be required to import the class to avoid errors.
import crafttweaker.event.ProjectileImpactThrowableEvent;
Extending IEntityEvent
Link to extending-ientityevent
ProjectileImpactThrowable Events implement the following interfaces and are able to call all of their methods/getters/setters as well:
ZenGetters and ZenSetters
Link to zengetters-and-zensetters
The following information can be retrieved from the event:
ZenGetter | ZenSetter | Type |
---|---|---|
ZenGetter fireball | ZenSetter | Type IEntity |
ZenGetter shooter | ZenSetter | Type IEntityLivingBase |