List of 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.

Type descriptions:

Base KubeJS Events

Folder Method Cancellable
/startup_scripts/ StartupEvents.init (link)
/startup_scripts/ StartupEvents.postInit (link)
/startup_scripts/

StartupEvents.registry (fluid)

StartupEvents.registry (block)

StartupEvents.registry (item)

StartupEvents.registry (enchantment)

StartupEvents.registry (mob effects)

StartupEvents.registry (sound event)

StartupEvents.registry (block entity type)

StartupEvents.registry (potion)

StartupEvents.registry (particle type)

StartupEvents.registry (painting variant)

StartupEvents.registry (custom stat)

StartupEvents.registry (point of interest type)

StartupEvents.registry (villager type)

StartupEvents.registry (villager profession)

/client_scripts/

ClientEvents.highPriorityAssets (link)

/client_scripts/

ClientEvents.init (link)

/client_scripts/

ClientEvents.loggedIn (link)

/client_scripts/

ClientEvents.loggedOut (link)

/client_scripts/

ClientEvents.tick (link)

/client_scripts/

ClientEvents.painterUpdated (link)

/client_scripts/

ClientEvents.leftDebugInfo (link)

/client_scripts/

ClientEvents.rightDebugInfo (link)

/client_scripts/ ClientEvents.paintScreen (link)
/server_scripts/

ServerEvents.lowPriorityData (link)

/server_scripts/

ServerEvents.highPriorityData (link)

/server_scripts/

ServerEvents.loaded (link)

/server_scripts/

ServerEvents.unloaded (link)

/server_scripts/

ServerEvents.tick (link)

/server_scripts/

ServerEvents.tags (link)

/server_scripts/

ServerEvents.commandRegistry (link)

/server_scripts/

ServerEvents.command (link)

/server_scripts/ ServerEvents.customCommand (link)
/server_scripts/ ServerEvents.recipes (link)
/server_scripts/ ServerEvents.afterRecipes (link)
/server_scripts/ ServerEvents.specialRecipeSerializers (link)
/server_scripts/ ServerEvents.compostableRecipes (link)
/server_scripts/ ServerEvents.recipeTypeRegistry (link)
/server_scripts/ ServerEvents.genericLootTables (link)
/server_scripts/ ServerEvents.blockLootTables (link)
/server_scripts/ ServerEvents.entityLootTables (link)
/server_scripts/ ServerEvents.giftLootTables (link)
/server_scripts/ ServerEvents.fishingLootTables (link)
/server_scripts/ ServerEvents.chestLootTables (link)
/server_scripts/ LevelEvents.loaded (link)
/server_scripts/ LevelEvents.unloaded (link)
/server_scripts/ LevelEvents.tick (link)
/server_scripts/ LevelEvents.beforeExplosion (link)
/server_scripts/ LevelEvents.afterExplosion (link)
/startup_scripts/ WorldgenEvents.add (link)
/startup_scripts/ WorldgenEvents.remove (link)
/client_scripts/ NetworkEvents.fromServer (link)
/server_scripts/ NetworkEvents.fromClient (link)
/startup_scripts/ ItemEvents.modification (link)
/startup_scripts/ ItemEvents.toolTierRegistry (link)
/startup_scripts/ ItemEvents.armorTierRegistry (link)
/server_scripts/ ItemEvents.rightClicked (link)
/server_scripts/ ItemEvents.canPickUp (link)
/server_scripts/ ItemEvents.pickedUp (link)
/server_scripts/ ItemEvents.dropped (link)
/server_scripts/ ItemEvents.entityInteracted (link)
/server_scripts/ ItemEvents.crafted (link)
/server_scripts/ ItemEvents.smelted (link)
/server_scripts/ ItemEvents.foodEaten (link)
/client_scripts/ ItemEvents.tooltip (link)
/startup_scripts/ ItemEvents.modelProperties (link)
/client_scripts/ ItemEvents.clientRightClicked (link)
/client_scripts/ ItemEvents.clientLeftClicked (link)
/server_scripts/ ItemEvents.firstRightClicked (link)
/server_scripts/ ItemEvents.firstLeftClicked (link)
/startup_scripts/ BlockEvents.modification (link)
/server_scripts/ BlockEvents.rightClicked (link)
/server_scripts/ BlockEvents.leftClicked (link)
/server_scripts/ BlockEvents.placed (link)
/server_scripts/ BlockEvents.broken (link)
/server_scripts/ BlockEvents.detectorChanged (link)
/server_scripts/ BlockEvents.detectorPowered (link)
/server_scripts/ BlockEvents.detectorUnpowered (link)
/server_scripts/ BlockEvents.farmlandTrampled (link)
/server_scripts/ EntityEvents.death (link)
/server_scripts/ EntityEvents.hurt (link)
/server_scripts/ EntityEvents.checkSpawn (link)
/server_scripts/ EntityEvents.spawned (link)
/server_scripts/ PlayerEvents.loggedIn (link)
/server_scripts/ PlayerEvents.loggedOut (link)
/server_scripts/ PlayerEvents.respawned (link)
/server_scripts/ PlayerEvents.tick (link)
/server_scripts/ PlayerEvents.chat (link)
/server_scripts/ PlayerEvents.decorateChat (link)
/server_scripts/ PlayerEvents.advancement (link)
/server_scripts/ PlayerEvents.inventoryOpened (link)
/server_scripts/ PlayerEvents.inventoryClosed (link)
/server_scripts/ PlayerEvents.inventoryChanged (link)
/server_scripts/ PlayerEvents.chestOpened (link)
/server_scripts/ PlayerEvents.chestClosed (link)

Mod Compatibility

These events are enabled when certain other mods are present.

Just Enough Items (JEI)
Folder Method Cancellable
/client_scripts/ JEIEvents.subtypes (source)
/client_scripts/ JEIEvents.hideItems (source)
/client_scripts/

JEIEvents.hideFluids (source)

/client_scripts/ JEIEvents.hideCustom (source)
/client_scripts/ JEIEvents.removeCategories (source)
/client_scripts/ JEIEvents.removeRecipes (source)
/client_scripts/ JEIEvents.addItems (source)
/client_scripts/ JEIEvents.addFluids (source)
/client_scripts/ JEIEvents.information (source)
Roughly Enough Items (REI)
Folder Method Cancellable
/client_scripts/ REIEvents.hide (source)
/client_scripts/ REIEvents.add (source)
/client_scripts/ REIEvents.information (source)
/client_scripts/ REIEvents.removeCategories (source)
/client_scripts/ REIEvents.groupEntries (source)
GameStages
Folder Method Cancellable
/server_scripts/ GameStageEvents.stageAdded (source)
/server_scripts/ GameStageEvents.stageRemoved (source)


Revision #30
Created 29 September 2022 23:17:38 by Bob Varioa
Updated 8 September 2023 00:40:31 by Nat