Hook points

Every hook point

On this page

Generated by tools/gen_api_docs.py from the code, by the same rules tools/api_check.py uses. Do not edit by hand. 424 hook points.

FamilyPoints
game events45
ai2
block3
entity1
fluid1
loot2
move1
permission2
piston1
portal1
projectile1
redstone1
spawn1
structure1
worldgen1
command100
packet260

game events

Hook pointSource
advancement_doneadvancements.rs
block_breakblocks.rs
block_hithits.rs
block_placeblocks.rs
blocks_pushedpiston.rs
command_runcommands.rs
container_changescreen.rs
damagehealth.rs
deathhealth.rs
entity_attackhits.rs
entity_dismounteddriving.rs
entity_harmguard.rs
entity_interactplay.rs
entity_mounteddriving.rs
fish_caughtfishing.rs
game_mode_changedplay.rs
inspect_changeinspect.rs
inventory_clickplay.rs
item_craftedscreen.rs
loot_generatedloot.rs
mob_deathmob.rs
network_messagenetwork.rs
ores_explodedexplode.rs
player_chatchat_secure.rs
player_drop_iteminput.rs
player_editguard.rs
player_hotbar_changeinput.rs
player_interactplay.rs
player_joinedplay.rs
player_leftplay.rs
player_move_blockplay.rs
player_payloadplay.rs
player_pickup_itemplayer_pickup.rs
player_resource_packplayer_state.rs
player_respawnplayer_state.rs
player_swap_handsinput.rs
player_swinginput.rs
player_use_iteminput.rs
reserved_explodedreserved.rs
server_startedlib.rs
server_stoppinglib.rs
settings_changedplugin_settings.rs
statistic_changedstats.rs
ticklib.rs
world_changedtravel.rs

ai

Hook pointSource
ai.brainmob.rs
ai.goalmob.rs

block

Hook pointSource
block.hardnessblocks.rs
block.igniteignite.rs
block.natural_changenatural.rs

entity

Hook pointSource
entity.damageentity_damage.rs

fluid

Hook pointSource
fluid.tickfluid.rs

loot

Hook pointSource
loot.blockentity.rs
loot.entitymob.rs

move

Hook pointSource
move.playerplay.rs

permission

Hook pointSource
permission.commandscommands.rs
permission.nodecommands.rs

piston

Hook pointSource
piston.movepiston.rs

portal

Hook pointSource
portal.traveltravel.rs

projectile

Hook pointSource
projectile.launchlaunch.rs

redstone

Hook pointSource
redstone.updateredstone.rs

spawn

Hook pointSource
spawn.mobspawn.rs

structure

Hook pointSource
structure.startworld.rs

worldgen

Hook pointSource
worldgen.chunkworld.rs

command

Hook pointSource
command.advancementcommands.rs (run_within_at)
command.attributecommands.rs (run_within_at)
command.backupcommands.rs (run_within_at)
command.bancommands.rs (run_within_at)
command.ban-ipcommands.rs (run_within_at)
command.banlistcommands.rs (run_within_at)
command.bossbarcommands.rs (run_within_at)
command.clearcommands.rs (run_within_at)
command.clonecommands.rs (run_within_at)
command.computecommands.rs (run_within_at)
command.cookiecommands.rs (run_within_at)
command.damagecommands.rs (run_within_at)
command.datacommands.rs (run_within_at)
command.datapackcommands.rs (run_within_at)
command.debugcommands.rs (run_within_at)
command.defaultgamemodecommands.rs (run_within_at)
command.deopcommands.rs (run_within_at)
command.dialogcommands.rs (run_within_at)
command.difficultycommands.rs (run_within_at)
command.effectcommands.rs (run_within_at)
command.enchantcommands.rs (run_within_at)
command.executecommands.rs (run_within_at)
command.experiencecommands.rs (run_within_at)
command.fakeplayercommands.rs (run_within_at)
command.fetchprofilecommands.rs (run_within_at)
command.fillcommands.rs (run_within_at)
command.fillbiomecommands.rs (run_within_at)
command.forceloadcommands.rs (run_within_at)
command.functioncommands.rs (run_within_at)
command.gamemodecommands.rs (run_within_at)
command.gamerulecommands.rs (run_within_at)
command.givecommands.rs (run_within_at)
command.helpcommands.rs (run_within_at)
command.itemcommands.rs (run_within_at)
command.jfrcommands.rs (run_within_at)
command.kickcommands.rs (run_within_at)
command.killcommands.rs (run_within_at)
command.listcommands.rs (run_within_at)
command.locatecommands.rs (run_within_at)
command.lootcommands.rs (run_within_at)
command.maintenancecommands.rs (run_within_at)
command.mapcommands.rs (run_within_at)
command.mecommands.rs (run_within_at)
command.msgcommands.rs (run_within_at)
command.opcommands.rs (run_within_at)
command.pardoncommands.rs (run_within_at)
command.pardon-ipcommands.rs (run_within_at)
command.particlecommands.rs (run_within_at)
command.perfcommands.rs (run_within_at)
command.placecommands.rs (run_within_at)
command.playsoundcommands.rs (run_within_at)
command.pluginscommands.rs (run_within_at)
command.posteffectcommands.rs (run_within_at)
command.raidcommands.rs (run_within_at)
command.randomcommands.rs (run_within_at)
command.recipecommands.rs (run_within_at)
command.reloadcommands.rs (run_within_at)
command.returncommands.rs (run_within_at)
command.ridecommands.rs (run_within_at)
command.rotatecommands.rs (run_within_at)
command.savecommands.rs (run_within_at)
command.save-allcommands.rs (run_within_at)
command.save-offcommands.rs (run_within_at)
command.save-oncommands.rs (run_within_at)
command.saycommands.rs (run_within_at)
command.schedulecommands.rs (run_within_at)
command.scoreboardcommands.rs (run_within_at)
command.seedcommands.rs (run_within_at)
command.setblockcommands.rs (run_within_at)
command.setidletimeoutcommands.rs (run_within_at)
command.setworldspawncommands.rs (run_within_at)
command.spawnpointcommands.rs (run_within_at)
command.spectatecommands.rs (run_within_at)
command.spreadplayerscommands.rs (run_within_at)
command.stopcommands.rs (run_within_at)
command.stopsoundcommands.rs (run_within_at)
command.stopwatchcommands.rs (run_within_at)
command.summoncommands.rs (run_within_at)
command.swingcommands.rs (run_within_at)
command.tagcommands.rs (run_within_at)
command.teamcommands.rs (run_within_at)
command.teammsgcommands.rs (run_within_at)
command.teleportcommands.rs (run_within_at)
command.tellcommands.rs (run_within_at)
command.tellrawcommands.rs (run_within_at)
command.testcommands.rs (run_within_at)
command.tickcommands.rs (run_within_at)
command.timecommands.rs (run_within_at)
command.titlecommands.rs (run_within_at)
command.tmcommands.rs (run_within_at)
command.tpcommands.rs (run_within_at)
command.transfercommands.rs (run_within_at)
command.triggercommands.rs (run_within_at)
command.versioncommands.rs (run_within_at)
command.wcommands.rs (run_within_at)
command.waypointcommands.rs (run_within_at)
command.weathercommands.rs (run_within_at)
command.whitelistcommands.rs (run_within_at)
command.worldbordercommands.rs (run_within_at)
command.xpcommands.rs (run_within_at)

packet

Hook pointSource
packet.handshake.serverbound.intentionpacket_hooks.rs
packet.status.serverbound.status_requestpacket_hooks.rs
packet.status.serverbound.ping_requestpacket_hooks.rs
packet.status.clientbound.status_responsepacket_hooks.rs
packet.status.clientbound.pong_responsepacket_hooks.rs
packet.login.serverbound.hellopacket_hooks.rs
packet.login.serverbound.keypacket_hooks.rs
packet.login.serverbound.custom_query_answerpacket_hooks.rs
packet.login.serverbound.login_acknowledgedpacket_hooks.rs
packet.login.serverbound.cookie_responsepacket_hooks.rs
packet.login.clientbound.login_disconnectpacket_hooks.rs
packet.login.clientbound.hellopacket_hooks.rs
packet.login.clientbound.login_finishedpacket_hooks.rs
packet.login.clientbound.login_compressionpacket_hooks.rs
packet.login.clientbound.custom_querypacket_hooks.rs
packet.login.clientbound.cookie_requestpacket_hooks.rs
packet.configuration.serverbound.client_informationpacket_hooks.rs
packet.configuration.serverbound.cookie_responsepacket_hooks.rs
packet.configuration.serverbound.custom_payloadpacket_hooks.rs
packet.configuration.serverbound.finish_configurationpacket_hooks.rs
packet.configuration.serverbound.keep_alivepacket_hooks.rs
packet.configuration.serverbound.pongpacket_hooks.rs
packet.configuration.serverbound.resource_packpacket_hooks.rs
packet.configuration.serverbound.select_known_packspacket_hooks.rs
packet.configuration.serverbound.custom_click_actionpacket_hooks.rs
packet.configuration.serverbound.accept_code_of_conductpacket_hooks.rs
packet.configuration.clientbound.cookie_requestpacket_hooks.rs
packet.configuration.clientbound.custom_payloadpacket_hooks.rs
packet.configuration.clientbound.disconnectpacket_hooks.rs
packet.configuration.clientbound.finish_configurationpacket_hooks.rs
packet.configuration.clientbound.keep_alivepacket_hooks.rs
packet.configuration.clientbound.pingpacket_hooks.rs
packet.configuration.clientbound.reset_chatpacket_hooks.rs
packet.configuration.clientbound.registry_datapacket_hooks.rs
packet.configuration.clientbound.resource_pack_poppacket_hooks.rs
packet.configuration.clientbound.resource_pack_pushpacket_hooks.rs
packet.configuration.clientbound.post_effectspacket_hooks.rs
packet.configuration.clientbound.store_cookiepacket_hooks.rs
packet.configuration.clientbound.transferpacket_hooks.rs
packet.configuration.clientbound.update_enabled_featurespacket_hooks.rs
packet.configuration.clientbound.update_tagspacket_hooks.rs
packet.configuration.clientbound.select_known_packspacket_hooks.rs
packet.configuration.clientbound.custom_report_detailspacket_hooks.rs
packet.configuration.clientbound.server_linkspacket_hooks.rs
packet.configuration.clientbound.clear_dialogpacket_hooks.rs
packet.configuration.clientbound.show_dialogpacket_hooks.rs
packet.configuration.clientbound.code_of_conductpacket_hooks.rs
packet.play.serverbound.accept_teleportationpacket_hooks.rs
packet.play.serverbound.attackpacket_hooks.rs
packet.play.serverbound.block_entity_tag_querypacket_hooks.rs
packet.play.serverbound.bundle_item_selectedpacket_hooks.rs
packet.play.serverbound.change_difficultypacket_hooks.rs
packet.play.serverbound.change_game_modepacket_hooks.rs
packet.play.serverbound.chat_ackpacket_hooks.rs
packet.play.serverbound.chat_commandpacket_hooks.rs
packet.play.serverbound.chat_command_signedpacket_hooks.rs
packet.play.serverbound.chatpacket_hooks.rs
packet.play.serverbound.chat_session_updatepacket_hooks.rs
packet.play.serverbound.chunk_batch_receivedpacket_hooks.rs
packet.play.serverbound.client_commandpacket_hooks.rs
packet.play.serverbound.client_tick_endpacket_hooks.rs
packet.play.serverbound.client_informationpacket_hooks.rs
packet.play.serverbound.command_suggestionpacket_hooks.rs
packet.play.serverbound.configuration_acknowledgedpacket_hooks.rs
packet.play.serverbound.container_button_clickpacket_hooks.rs
packet.play.serverbound.container_clickpacket_hooks.rs
packet.play.serverbound.container_closepacket_hooks.rs
packet.play.serverbound.container_slot_state_changedpacket_hooks.rs
packet.play.serverbound.cookie_responsepacket_hooks.rs
packet.play.serverbound.custom_payloadpacket_hooks.rs
packet.play.serverbound.debug_subscription_requestpacket_hooks.rs
packet.play.serverbound.edit_bookpacket_hooks.rs
packet.play.serverbound.entity_tag_querypacket_hooks.rs
packet.play.serverbound.interactpacket_hooks.rs
packet.play.serverbound.jigsaw_generatepacket_hooks.rs
packet.play.serverbound.keep_alivepacket_hooks.rs
packet.play.serverbound.lock_difficultypacket_hooks.rs
packet.play.serverbound.move_player_pospacket_hooks.rs
packet.play.serverbound.move_player_pos_rotpacket_hooks.rs
packet.play.serverbound.move_player_rotpacket_hooks.rs
packet.play.serverbound.move_player_status_onlypacket_hooks.rs
packet.play.serverbound.move_vehiclepacket_hooks.rs
packet.play.serverbound.paddle_boatpacket_hooks.rs
packet.play.serverbound.pick_item_from_blockpacket_hooks.rs
packet.play.serverbound.pick_item_from_entitypacket_hooks.rs
packet.play.serverbound.ping_requestpacket_hooks.rs
packet.play.serverbound.place_recipepacket_hooks.rs
packet.play.serverbound.player_abilitiespacket_hooks.rs
packet.play.serverbound.player_actionpacket_hooks.rs
packet.play.serverbound.player_commandpacket_hooks.rs
packet.play.serverbound.player_inputpacket_hooks.rs
packet.play.serverbound.player_loadedpacket_hooks.rs
packet.play.serverbound.pongpacket_hooks.rs
packet.play.serverbound.punchpacket_hooks.rs
packet.play.serverbound.recipe_book_change_settingspacket_hooks.rs
packet.play.serverbound.recipe_book_seen_recipepacket_hooks.rs
packet.play.serverbound.rename_itempacket_hooks.rs
packet.play.serverbound.resource_packpacket_hooks.rs
packet.play.serverbound.seen_advancementspacket_hooks.rs
packet.play.serverbound.select_tradepacket_hooks.rs
packet.play.serverbound.set_beaconpacket_hooks.rs
packet.play.serverbound.set_carried_itempacket_hooks.rs
packet.play.serverbound.set_command_blockpacket_hooks.rs
packet.play.serverbound.set_command_minecartpacket_hooks.rs
packet.play.serverbound.set_creative_mode_slotpacket_hooks.rs
packet.play.serverbound.set_game_rulepacket_hooks.rs
packet.play.serverbound.set_jigsaw_blockpacket_hooks.rs
packet.play.serverbound.set_structure_blockpacket_hooks.rs
packet.play.serverbound.set_test_blockpacket_hooks.rs
packet.play.serverbound.sign_updatepacket_hooks.rs
packet.play.serverbound.spectator_actionpacket_hooks.rs
packet.play.serverbound.teleport_to_entitypacket_hooks.rs
packet.play.serverbound.test_instance_block_actionpacket_hooks.rs
packet.play.serverbound.use_item_onpacket_hooks.rs
packet.play.serverbound.use_itempacket_hooks.rs
packet.play.serverbound.custom_click_actionpacket_hooks.rs
packet.play.clientbound.bundle_delimiterpacket_hooks.rs
packet.play.clientbound.add_entitypacket_hooks.rs
packet.play.clientbound.animatepacket_hooks.rs
packet.play.clientbound.award_statspacket_hooks.rs
packet.play.clientbound.block_changed_ackpacket_hooks.rs
packet.play.clientbound.block_destructionpacket_hooks.rs
packet.play.clientbound.block_entity_datapacket_hooks.rs
packet.play.clientbound.block_eventpacket_hooks.rs
packet.play.clientbound.block_updatepacket_hooks.rs
packet.play.clientbound.boss_eventpacket_hooks.rs
packet.play.clientbound.change_difficultypacket_hooks.rs
packet.play.clientbound.chunk_batch_finishedpacket_hooks.rs
packet.play.clientbound.chunk_batch_startpacket_hooks.rs
packet.play.clientbound.chunks_biomespacket_hooks.rs
packet.play.clientbound.clear_titlespacket_hooks.rs
packet.play.clientbound.command_suggestionspacket_hooks.rs
packet.play.clientbound.commandspacket_hooks.rs
packet.play.clientbound.container_closepacket_hooks.rs
packet.play.clientbound.container_set_contentpacket_hooks.rs
packet.play.clientbound.container_set_datapacket_hooks.rs
packet.play.clientbound.container_set_slotpacket_hooks.rs
packet.play.clientbound.cookie_requestpacket_hooks.rs
packet.play.clientbound.cooldownpacket_hooks.rs
packet.play.clientbound.custom_chat_completionspacket_hooks.rs
packet.play.clientbound.custom_payloadpacket_hooks.rs
packet.play.clientbound.damage_eventpacket_hooks.rs
packet.play.clientbound.debug_block_valuepacket_hooks.rs
packet.play.clientbound.debug_chunk_valuepacket_hooks.rs
packet.play.clientbound.debug_entity_valuepacket_hooks.rs
packet.play.clientbound.debug_eventpacket_hooks.rs
packet.play.clientbound.debug_samplepacket_hooks.rs
packet.play.clientbound.delete_chatpacket_hooks.rs
packet.play.clientbound.disconnectpacket_hooks.rs
packet.play.clientbound.disguised_chatpacket_hooks.rs
packet.play.clientbound.entity_eventpacket_hooks.rs
packet.play.clientbound.entity_position_syncpacket_hooks.rs
packet.play.clientbound.explodepacket_hooks.rs
packet.play.clientbound.add_transient_blockpacket_hooks.rs
packet.play.clientbound.forget_level_chunkpacket_hooks.rs
packet.play.clientbound.game_eventpacket_hooks.rs
packet.play.clientbound.game_rule_valuespacket_hooks.rs
packet.play.clientbound.game_test_highlight_pospacket_hooks.rs
packet.play.clientbound.mount_screen_openpacket_hooks.rs
packet.play.clientbound.hurt_animationpacket_hooks.rs
packet.play.clientbound.initialize_borderpacket_hooks.rs
packet.play.clientbound.keep_alivepacket_hooks.rs
packet.play.clientbound.level_chunk_with_lightpacket_hooks.rs
packet.play.clientbound.level_eventpacket_hooks.rs
packet.play.clientbound.level_particlespacket_hooks.rs
packet.play.clientbound.light_updatepacket_hooks.rs
packet.play.clientbound.loginpacket_hooks.rs
packet.play.clientbound.low_disk_space_warningpacket_hooks.rs
packet.play.clientbound.map_item_datapacket_hooks.rs
packet.play.clientbound.merchant_offerspacket_hooks.rs
packet.play.clientbound.move_entity_pospacket_hooks.rs
packet.play.clientbound.move_entity_pos_rotpacket_hooks.rs
packet.play.clientbound.move_minecart_along_trackpacket_hooks.rs
packet.play.clientbound.move_entity_rotpacket_hooks.rs
packet.play.clientbound.move_vehiclepacket_hooks.rs
packet.play.clientbound.open_bookpacket_hooks.rs
packet.play.clientbound.open_screenpacket_hooks.rs
packet.play.clientbound.open_sign_editorpacket_hooks.rs
packet.play.clientbound.pingpacket_hooks.rs
packet.play.clientbound.pong_responsepacket_hooks.rs
packet.play.clientbound.place_ghost_recipepacket_hooks.rs
packet.play.clientbound.player_abilitiespacket_hooks.rs
packet.play.clientbound.player_chatpacket_hooks.rs
packet.play.clientbound.player_combat_endpacket_hooks.rs
packet.play.clientbound.player_combat_enterpacket_hooks.rs
packet.play.clientbound.player_combat_killpacket_hooks.rs
packet.play.clientbound.player_info_removepacket_hooks.rs
packet.play.clientbound.player_info_updatepacket_hooks.rs
packet.play.clientbound.player_look_atpacket_hooks.rs
packet.play.clientbound.player_positionpacket_hooks.rs
packet.play.clientbound.player_rotationpacket_hooks.rs
packet.play.clientbound.recipe_book_addpacket_hooks.rs
packet.play.clientbound.recipe_book_removepacket_hooks.rs
packet.play.clientbound.recipe_book_settingspacket_hooks.rs
packet.play.clientbound.remove_entitiespacket_hooks.rs
packet.play.clientbound.remove_mob_effectpacket_hooks.rs
packet.play.clientbound.reset_scorepacket_hooks.rs
packet.play.clientbound.resource_pack_poppacket_hooks.rs
packet.play.clientbound.resource_pack_pushpacket_hooks.rs
packet.play.clientbound.post_effectspacket_hooks.rs
packet.play.clientbound.respawnpacket_hooks.rs
packet.play.clientbound.rotate_headpacket_hooks.rs
packet.play.clientbound.section_blocks_updatepacket_hooks.rs
packet.play.clientbound.select_advancements_tabpacket_hooks.rs
packet.play.clientbound.server_datapacket_hooks.rs
packet.play.clientbound.set_action_bar_textpacket_hooks.rs
packet.play.clientbound.set_border_centerpacket_hooks.rs
packet.play.clientbound.set_border_lerp_sizepacket_hooks.rs
packet.play.clientbound.set_border_sizepacket_hooks.rs
packet.play.clientbound.set_border_warning_delaypacket_hooks.rs
packet.play.clientbound.set_border_warning_distancepacket_hooks.rs
packet.play.clientbound.set_camerapacket_hooks.rs
packet.play.clientbound.set_chunk_cache_centerpacket_hooks.rs
packet.play.clientbound.set_chunk_cache_radiuspacket_hooks.rs
packet.play.clientbound.set_cursor_itempacket_hooks.rs
packet.play.clientbound.set_default_spawn_positionpacket_hooks.rs
packet.play.clientbound.set_display_objectivepacket_hooks.rs
packet.play.clientbound.set_entity_datapacket_hooks.rs
packet.play.clientbound.set_entity_linkpacket_hooks.rs
packet.play.clientbound.set_entity_motionpacket_hooks.rs
packet.play.clientbound.set_equipmentpacket_hooks.rs
packet.play.clientbound.set_experiencepacket_hooks.rs
packet.play.clientbound.set_healthpacket_hooks.rs
packet.play.clientbound.set_held_slotpacket_hooks.rs
packet.play.clientbound.set_objectivepacket_hooks.rs
packet.play.clientbound.set_passengerspacket_hooks.rs
packet.play.clientbound.set_player_inventorypacket_hooks.rs
packet.play.clientbound.set_player_teampacket_hooks.rs
packet.play.clientbound.set_scorepacket_hooks.rs
packet.play.clientbound.set_simulation_distancepacket_hooks.rs
packet.play.clientbound.set_subtitle_textpacket_hooks.rs
packet.play.clientbound.set_timepacket_hooks.rs
packet.play.clientbound.set_title_textpacket_hooks.rs
packet.play.clientbound.set_titles_animationpacket_hooks.rs
packet.play.clientbound.sound_entitypacket_hooks.rs
packet.play.clientbound.soundpacket_hooks.rs
packet.play.clientbound.start_configurationpacket_hooks.rs
packet.play.clientbound.stop_soundpacket_hooks.rs
packet.play.clientbound.store_cookiepacket_hooks.rs
packet.play.clientbound.swing_animationpacket_hooks.rs
packet.play.clientbound.system_chatpacket_hooks.rs
packet.play.clientbound.tab_listpacket_hooks.rs
packet.play.clientbound.tag_querypacket_hooks.rs
packet.play.clientbound.take_item_entitypacket_hooks.rs
packet.play.clientbound.teleport_entitypacket_hooks.rs
packet.play.clientbound.test_instance_block_statuspacket_hooks.rs
packet.play.clientbound.ticking_statepacket_hooks.rs
packet.play.clientbound.ticking_steppacket_hooks.rs
packet.play.clientbound.transferpacket_hooks.rs
packet.play.clientbound.update_advancementspacket_hooks.rs
packet.play.clientbound.update_attributespacket_hooks.rs
packet.play.clientbound.update_mob_effectpacket_hooks.rs
packet.play.clientbound.update_recipespacket_hooks.rs
packet.play.clientbound.update_tagspacket_hooks.rs
packet.play.clientbound.projectile_powerpacket_hooks.rs
packet.play.clientbound.custom_report_detailspacket_hooks.rs
packet.play.clientbound.server_linkspacket_hooks.rs
packet.play.clientbound.waypointpacket_hooks.rs
packet.play.clientbound.clear_dialogpacket_hooks.rs
packet.play.clientbound.show_dialogpacket_hooks.rs

From docs/api/reference/hooks/index.md in the RustMC repository at bbd81209ad.