ArrowLoose
This event is fired when a player stops using a bow.
Event Class
You will need to cast the event in the function header as this class:
crafttweaker.event.ArrowLooseEvent
You can, of course, also import the class before and use that name then.
Event interface extensions
ArrowLoose Events implement the following interfaces and are able to call all of their methods/getters/setters as well:
ZenGetters/ZenSetters
The following information can be retrieved/set during the event:
ZenGetter | ZenSetter | Type |
---|---|---|
ZenGetter bow | ZenSetter | Type IItemStack |
ZenGetter charge | ZenSetter charge | Type int |
ZenGetter world | ZenSetter | Type IWorld |
ZenGetter player | ZenSetter | Type IPlayer |
ZenGetters/ZenSetters/ZenMethods from extensions
ZenGetter | ZenSetter | Type |
---|---|---|
ZenGetter canceled | ZenSetter canceled | Type bool |
ZenMethodes
event.cancel();
Method, returns void (nothing). Can cancel the event and stop something from happening