1
0

docs: 更新 ProbeJS 生成的文件

This commit is contained in:
2022-08-09 00:14:54 +08:00
parent 317f579f2e
commit e2cdce2590
6 changed files with 65167 additions and 49347 deletions
+103
View File
@@ -1,20 +1,123 @@
/// <reference path="./globals.d.ts" />
/// <reference path="./registries.d.ts" />
/**
*
* The event fires on: **startup**, **server**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "recipes.serializer.special.flag", handler: (event: Internal.SpecialRecipeSerializerManager) => void);
/**
*
* The event fires on: **startup**, **server**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "player.chest.opened", handler: (event: Internal.ChestEventJS) => void);
/**
*
* The event fires on: **startup**, **server**.
*
* The event is cancellable.
*/
declare function onEvent(name: "player.advancement", handler: (event: Internal.PlayerAdvancementEventJS) => void);
/**
*
* The event fires on: **startup**, **server**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "recipes.type_registry", handler: (event: Internal.RecipeTypeRegistryEventJS) => void);
/**
*
* The event fires on: **startup**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "sound.registry", handler: (event: Internal.SoundRegistryEventJS) => void);
/**
*
* The event fires on: **startup**, **server**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "recipes.compostables", handler: (event: Internal.CompostablesRecipeEventJS) => void);
/**
*
* The event fires on: **startup**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "item.registry.armor_tiers", handler: (event: Internal.ItemArmorTierEventJS) => void);
/**
*
* The event fires on: **startup**, **client**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "client.generate_assets", handler: (event: Internal.ClientGenerateAssetsEventJS) => void);
/**
*
* The event fires on: **startup**, **client**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "item.right_click_empty", handler: (event: Internal.ItemRightClickEmptyEventJS) => void);
/**
*
* The event fires on: **startup**, **client**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "client.paint_screen", handler: (event: Internal.ScreenPaintEventJS) => void);
/**
*
* The event fires on: **startup**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "item.model_properties", handler: (event: Internal.ItemModelPropertiesEventJS) => void);
/**
*
* The event fires on: **startup**, **client**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "client.painter_updated", handler: (event: Internal.PainterUpdatedEventJS) => void);
/**
*
* The event fires on: **startup**, **server**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "command.registry", handler: (event: Internal.CommandRegistryEventJS) => void);
/**
*
* The event fires on: **startup**, **server**.
*
* The event is cancellable.
*/
declare function onEvent(name: "command.run", handler: (event: Internal.CommandEventJS) => void);
/**
*
* The event fires on: **startup**, **server**.
*
* The event is cancellable.
*/
declare function onEvent(name: "item.food_eaten", handler: (event: Internal.ItemFoodEatenEventJS) => void);
/**
*
* The event fires on: **startup**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "item.registry.tool_tiers", handler: (event: Internal.ItemToolTierEventJS) => void);
/**
*
* The event fires on: **startup**, **server**.
*
* The event is **not** cancellable.
*/
declare function onEvent(name: "player.chest.closed", handler: (event: Internal.ChestEventJS) => void);
declare function onEvent(name: "minecraft.sound_event.registry", handler: (event: Registry.Sound_event) => void);
declare function onEvent(name: "sound_event.registry", handler: (event: Registry.Sound_event) => void);