Events
List of all Events
This is a list of all events. It's possible that not all events are listed here, but this list will be updated regularly.
Click on event ID to open its class and see information, fields, and methods.
#Event Types
#Startup
Scripts go into the
startup_scripts/
folder. Startup scripts run once, at startup, on both the client and server. Most events that require registering or modifying something at game start (like custom blocks, items, and fluids) will be Startup events.#Server
Scripts go into the
server_scripts/
folder. It will be reloaded when you run /reload
command. Server events are always accessible, even in single-player worlds. Most events that make changes to the world while the game is running (such as breaking blocks, teleporting players, or adding recipes) will go here.#Client
Scripts go into the
client_scripts/
folder. Will be reloaded when you press F3+T
. Most changes that are per-client (such as resource packs, Painter, and JEI) are client events.#List of all Events
BlockEvents9 pages
ClientEvents9 pages
EntityEvents4 pages
ItemEvents16 pages
LevelEvents5 pages
NetworkEvents1 page
PlayerEvents12 pages
RecipeViewerEventsAbout8 pages
ServerEvents13 pages
StartupEvents4 pages