Appendix C. Events Reference

The following tables list all of the events module’s functions that can be used to register event listeners. Alongside each function, the equivalent Java Event type is shown. You should refer to the CanaryMod API Reference documentation at https://ci.visualillusionsent.net/job/CanaryLib/javadoc/ for details about each Java Hook type. Hook types fall into a number of categories, as shown by the various tables.

Image

TABLE C.1 Command Events

Image

TABLE C.2 Entity Events

TABLE C.3 Player Events

TABLE C.4 System Events

Get A Beginner’s Guide to Writing Minecraft Plugins in JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.