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

338
.vscode/probe.code-snippets vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -5,12 +5,11 @@ declare const RARITY_RARE: Rarity;
declare const HOUR: 3600000;
declare const SLOT_FEET: EquipmentSlot;
declare const SLOT_HEAD: EquipmentSlot;
// declare const global: {};
declare const MAIN_HAND: Hand;
declare const SLOT_LEGS: EquipmentSlot;
declare const AIR_BLOCK: Internal.class_2189;
declare const AIR_BLOCK: Internal.AirBlock;
declare const RARITY_UNCOMMON: Rarity;
declare const AIR_ITEM: Internal.class_1739;
declare const AIR_ITEM: Internal.AirItem;
declare const SLOT_CHEST: EquipmentSlot;
declare const RARITY_EPIC: Rarity;
declare const Painter: Internal.Painter;

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);

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff