@mbler/mcx-core 0.1.1 → 0.1.2-rc.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +40 -5
  2. package/dist/chunk-DEq-mXcV.js +15 -0
  3. package/dist/index.d.ts +296 -5175
  4. package/dist/index.js +1851 -12192
  5. package/dist/index.js.map +1 -1
  6. package/package.json +15 -7
  7. package/dist/types/ast/index.d.ts +0 -7
  8. package/dist/types/ast/prop.d.ts +0 -8
  9. package/dist/types/ast/tag.d.ts +0 -66
  10. package/dist/types/compile-mcx/compiler/compileData.d.ts +0 -20
  11. package/dist/types/compile-mcx/compiler/index.d.ts +0 -36
  12. package/dist/types/compile-mcx/compiler/main.d.ts +0 -6
  13. package/dist/types/compile-mcx/compiler/utils.d.ts +0 -11
  14. package/dist/types/compile-mcx/index.d.ts +0 -1
  15. package/dist/types/compile-mcx/types.d.ts +0 -52
  16. package/dist/types/compile-mcx/utils.node.d.ts +0 -14
  17. package/dist/types/index.d.ts +0 -10
  18. package/dist/types/mcx-component/components/block.d.ts +0 -4
  19. package/dist/types/mcx-component/components/entity.d.ts +0 -1266
  20. package/dist/types/mcx-component/components/item.d.ts +0 -520
  21. package/dist/types/mcx-component/index.d.ts +0 -17
  22. package/dist/types/mcx-component/lib.d.ts +0 -32
  23. package/dist/types/mcx-component/types/AttackCriticalHitChoices.d.ts +0 -3
  24. package/dist/types/mcx-component/types/EnchantableSlot.d.ts +0 -9
  25. package/dist/types/mcx-component/types/ParticleType.d.ts +0 -8
  26. package/dist/types/mcx-component/types/SoundEvent.d.ts +0 -8
  27. package/dist/types/mcx-component/types/StartSoundChoices.d.ts +0 -3
  28. package/dist/types/mcx-component/types.d.ts +0 -3053
  29. package/dist/types/mcx-component/utils.d.ts +0 -2
  30. package/dist/types/mcx-component/vm.d.ts +0 -28
  31. package/dist/types/transforms/config.d.ts +0 -8
  32. package/dist/types/transforms/file_id.d.ts +0 -1
  33. package/dist/types/transforms/index.d.ts +0 -5
  34. package/dist/types/transforms/main.d.ts +0 -2
  35. package/dist/types/transforms/utils.d.ts +0 -22
  36. package/dist/types/transforms/x-comp/index.d.ts +0 -3
  37. package/dist/types/transforms/x-comp/x-app.d.ts +0 -2
  38. package/dist/types/transforms/x-comp/x-event.d.ts +0 -2
  39. package/dist/types/transforms/x-comp/x-ui.d.ts +0 -2
  40. package/dist/types/types.d.ts +0 -100
  41. package/dist/types/utils.d.ts +0 -18
@@ -1,520 +0,0 @@
1
- import { PNGImageComponent } from '../lib';
2
- import * as t from './../types';
3
- declare class ItemComponent {
4
- #private;
5
- constructor(opt: t.ItemComponentOptions);
6
- toJSON(): t.ItemJson;
7
- /**
8
- * set name
9
- * @throws {Error}&
10
- * @param {string} newValue
11
- * @returns {void}
12
- */
13
- setName(newValue: string): void;
14
- setIcon(newValue: string): void;
15
- setIcon(newValue: PNGImageComponent): void;
16
- /**
17
- * get name
18
- * @returns {string} name
19
- */
20
- getName(): string;
21
- /**
22
- * set identifier
23
- * @param {string} newValue
24
- */
25
- setId(newValue: string): void;
26
- /**
27
- * get item component identifier
28
- */
29
- getId(): string;
30
- /**
31
- * setAllowOffHand
32
- * @param vl {boolean} allow off hand
33
- */
34
- setAllowOffHand(vl: boolean): void;
35
- /**
36
- * setBlockPlacer
37
- * @param config {object} Block placer configuration
38
- */
39
- setBlockPlacer(config: {
40
- aligned_placement?: boolean;
41
- block: string;
42
- replace_block_item?: boolean;
43
- use_on?: Array<string | {
44
- name: string;
45
- states?: Record<string, number | string | boolean>;
46
- tags?: string;
47
- }>;
48
- }): void;
49
- /**
50
- * setCooldown
51
- * @param config {object} Cooldown configuration
52
- */
53
- setCooldown(config: {
54
- category: string;
55
- duration: number;
56
- type?: 'use' | 'attack';
57
- }): void;
58
- /**
59
- * setCompostable
60
- * @param config {object} Compostable configuration
61
- */
62
- setCompostable(config: {
63
- composting_chance: number;
64
- }): void;
65
- /**
66
- * setBundleInteraction
67
- * @param config {object} Bundle interaction configuration
68
- */
69
- setBundleInteraction(config: {
70
- num_viewable_slots?: number;
71
- }): void;
72
- /**
73
- * setGlint
74
- * @param value {boolean} Whether the item has glint effect
75
- */
76
- setGlint(value: boolean): void;
77
- /**
78
- * setHandEquipped
79
- * @param value {boolean} Whether the item is hand equipped
80
- */
81
- setHandEquipped(value: boolean): void;
82
- /**
83
- * setDigger
84
- * @param config {object} Digger configuration
85
- */
86
- setDigger(config: {
87
- use_efficiency?: boolean;
88
- destroy_speeds?: Array<{
89
- block: string | {
90
- name?: string;
91
- states?: Record<string, number | string | boolean>;
92
- tags?: string;
93
- };
94
- speed: number;
95
- }>;
96
- }): void;
97
- /**
98
- * setDamageAbsorption
99
- * @param config {object} Damage absorption configuration
100
- */
101
- setDamageAbsorption(config: {
102
- absorbable_causes: string[];
103
- }): void;
104
- /**
105
- * setDurability
106
- * @param config {object} Durability configuration
107
- */
108
- setDurability(config: {
109
- max_durability: number;
110
- damage_chance?: {
111
- min: number;
112
- max: number;
113
- };
114
- }): void;
115
- /**
116
- * setDurabilitySensor
117
- * @param config {object} Durability Sensor configuration
118
- */
119
- setDurabilitySensor(config: {
120
- durability?: number;
121
- durability_thresholds?: Array<{
122
- durability: number;
123
- particle_type?: t.ParticleType;
124
- sound_event?: t.SoundEvent;
125
- }>;
126
- particle_type?: t.ParticleType;
127
- sound_event?: t.SoundEvent;
128
- }): void;
129
- /**
130
- * setDyeable
131
- * @param config {object} Dyeable configuration
132
- */
133
- setDyeable(config: {
134
- default_color?: string | [number, number, number];
135
- }): void;
136
- /**
137
- * setEnchantable
138
- * @param config {object} Enchantable configuration
139
- */
140
- setEnchantable(config: {
141
- slot?: t.EnchantableSlot;
142
- value?: number;
143
- }): void;
144
- /**
145
- * setFood
146
- * @param config {object} Food configuration
147
- */
148
- setFood(config: {
149
- can_always_eat?: boolean;
150
- cooldown_time?: number;
151
- cooldown_type?: string;
152
- effects?: Array<{
153
- amplifier?: number;
154
- chance?: number;
155
- duration?: number;
156
- name?: string;
157
- }>;
158
- is_meat?: boolean;
159
- nutrition?: number;
160
- on_use_action?: string;
161
- on_use_range?: [number, number, number];
162
- saturation_modifier?: number | 'poor' | 'low' | 'normal' | 'good' | 'supernatural';
163
- using_converts_to?: string;
164
- remove_effects?: string[];
165
- }): void;
166
- /**
167
- * setFireResistant
168
- * @param config {object} Fire resistant configuration
169
- */
170
- setFireResistant(config: {
171
- value?: boolean;
172
- }): void;
173
- /**
174
- * setEntityPlacer
175
- * @param config {object} Entity placer configuration
176
- */
177
- setEntityPlacer(config: {
178
- dispense_on?: Array<string | {
179
- name: string;
180
- states?: Record<string, number | string | boolean>;
181
- tags?: string;
182
- }>;
183
- entity: string;
184
- use_on?: Array<string | {
185
- name: string;
186
- states?: Record<string, number | string | boolean>;
187
- tags?: string;
188
- }>;
189
- }): void;
190
- /**
191
- * setFuel
192
- * @param config {object} Fuel configuration
193
- */
194
- setFuel(config: {
195
- duration: number;
196
- }): void;
197
- /**
198
- * setKineticWeapon
199
- * @param config {object} Kinetic weapon configuration
200
- */
201
- setKineticWeapon(config: {
202
- creative_reach?: {
203
- max?: number;
204
- min?: number;
205
- };
206
- damage_conditions?: {
207
- max_duration?: number;
208
- min_relative_speed?: number;
209
- min_speed?: number;
210
- };
211
- damage_modifier?: number;
212
- damage_multiplier?: number;
213
- delay?: number;
214
- dismount_conditions?: {
215
- max_duration?: number;
216
- min_relative_speed?: number;
217
- min_speed?: number;
218
- };
219
- hitbox_margin?: number;
220
- knockback_conditions?: {
221
- max_duration?: number;
222
- min_relative_speed?: number;
223
- min_speed?: number;
224
- };
225
- kinetic_effect_conditions?: {
226
- max_duration?: number;
227
- min_relative_speed?: number;
228
- min_speed?: number;
229
- };
230
- reach?: {
231
- max?: number;
232
- min?: number;
233
- };
234
- }): void;
235
- /**
236
- * setInteractButton
237
- * @param config {boolean | string} Interact button configuration - boolean to enable/disable, or string for custom text
238
- */
239
- setInteractButton(config: boolean | string): void;
240
- /**
241
- * setHoverTextColor
242
- * @param config {object | string} Hover text color configuration - object with value property, or string color value
243
- */
244
- setHoverTextColor(config: {
245
- value?: string;
246
- } | string): void;
247
- /**
248
- * setLiquidClipped
249
- * @param config {boolean | { value?: boolean }} Liquid clipped configuration - boolean to enable/disable, or object with value property
250
- */
251
- setLiquidClipped(config: boolean | {
252
- value?: boolean;
253
- }): void;
254
- /**
255
- * setMaxStackSize
256
- * @param config {number | { value?: number }} Max stack size configuration - number for direct value, or object with value property
257
- */
258
- setMaxStackSize(config: number | {
259
- value?: number;
260
- }): void;
261
- /**
262
- * setPiercingWeapon
263
- * @param config {{ creative_reach?: { max?: number; min?: number }; hitbox_margin?: number; reach?: { max?: number; min?: number } }} Piercing weapon configuration
264
- */
265
- setPiercingWeapon(config: {
266
- creative_reach?: {
267
- max?: number;
268
- min?: number;
269
- };
270
- hitbox_margin?: number;
271
- reach?: {
272
- max?: number;
273
- min?: number;
274
- };
275
- }): void;
276
- /**
277
- * setProjectile
278
- * @param config {{ minimum_critical_power?: number; projectile_entity: string }} Projectile configuration
279
- */
280
- setProjectile(config: {
281
- minimum_critical_power?: number;
282
- projectile_entity: string;
283
- }): void;
284
- /**
285
- * setRecord
286
- * @param config {{ comparator_signal?: number; duration?: number; sound_event: string }} Record configuration
287
- */
288
- setRecord(config: {
289
- comparator_signal?: number;
290
- duration?: number;
291
- sound_event: string;
292
- }): void;
293
- /**
294
- * setRarity
295
- * @param config {{ value: 'common' | 'uncommon' | 'rare' | 'epic' }} Rarity configuration
296
- */
297
- setRarity(config: {
298
- value: 'common' | 'uncommon' | 'rare' | 'epic';
299
- }): void;
300
- /**
301
- * setRepairable
302
- * @param config {{ on_repaired?: string; repair_items?: Array<string | { items: string[]; repair_amount?: string | number }> }} Repairable configuration
303
- */
304
- setRepairable(config: {
305
- on_repaired?: string;
306
- repair_items?: Array<string | {
307
- items: string[];
308
- repair_amount?: string | number;
309
- }>;
310
- }): void;
311
- /**
312
- * setSeed
313
- * @param config {{ crop_result: string; plant_at?: string[]; plant_at_any_solid_surface?: boolean; plant_at_face?: 'UP' | 'DOWN' }} Seed configuration
314
- */
315
- setSeed(config: {
316
- crop_result: string;
317
- plant_at?: string[];
318
- plant_at_any_solid_surface?: boolean;
319
- plant_at_face?: 'UP' | 'DOWN';
320
- }): void;
321
- /**
322
- * setStackedByData
323
- * @param config {{ value?: boolean }} StackedByData configuration
324
- */
325
- setStackedByData(config: {
326
- value?: boolean;
327
- }): void;
328
- /**
329
- * setShouldDespawn
330
- * @param config {{ value?: boolean }} ShouldDespawn configuration
331
- */
332
- setShouldDespawn(config: {
333
- value?: boolean;
334
- }): void;
335
- /**
336
- * setShooter
337
- * @param config {{
338
- * ammunition: Array<string | { item: string; launch_power_scale?: number; max_draw_duration?: number; charge_on_draw?: boolean }>;
339
- * charge_on_draw?: boolean;
340
- * max_draw_duration?: number;
341
- * auto_charge?: boolean;
342
- * launch_power?: number;
343
- * scale_power_by_draw_duration?: boolean;
344
- * }} Shooter configuration
345
- */
346
- setShooter(config: {
347
- ammunition: Array<string | {
348
- item: string;
349
- launch_power_scale?: number;
350
- max_draw_duration?: number;
351
- charge_on_draw?: boolean;
352
- }>;
353
- charge_on_draw?: boolean;
354
- max_draw_duration?: number;
355
- auto_charge?: boolean;
356
- launch_power?: number;
357
- scale_power_by_draw_duration?: boolean;
358
- }): void;
359
- /**
360
- * setStorageWeightModifier
361
- * @param config {{ weight_in_storage_item: number }} Storage weight modifier configuration
362
- */
363
- setStorageWeightModifier(config: {
364
- weight_in_storage_item: number;
365
- }): void;
366
- /**
367
- * setStorageWeightLimit
368
- * @param config {{ storage_capacity_per_slot: number; }} Storage weight limit configuration
369
- */
370
- setStorageWeightLimit(config: {
371
- storage_capacity_per_slot: number;
372
- }): void;
373
- /**
374
- * setStorageItem (enhanced existing method)
375
- * @param config {object} Storage item configuration
376
- */
377
- setStorageItem(config: {
378
- max_slots?: number;
379
- max_weight_limit?: number;
380
- weight_in_storage_item?: number;
381
- allow_nested_storage_items?: boolean;
382
- allowed_items?: string[];
383
- banned_items?: string[];
384
- }): void;
385
- /**
386
- * Set minecraft:throwable component
387
- * @param config {object} Throwable configuration
388
- */
389
- setThrowable(config: {
390
- do_swing_animation?: boolean;
391
- launch_power_scale?: number;
392
- max_draw_duration?: number;
393
- max_launch_power?: number;
394
- min_draw_duration?: number;
395
- scale_power_by_draw_duration?: boolean;
396
- }): void;
397
- /**
398
- * Set minecraft:tags component
399
- * @param tags {string[]} Array of item tags
400
- */
401
- setTags(tags: string[]): void;
402
- /**
403
- * Set minecraft:swing_duration component
404
- * @param duration {number} Swing animation duration in seconds
405
- */
406
- setSwingDuration(duration: number): void;
407
- /**
408
- * Set minecraft:use_animation component
409
- * @param animation {string | { value?: string }} Animation configuration - can be string ("eat", "drink", etc.) or object ({ value: "eat" })
410
- */
411
- setUseAnimation(animation: string | {
412
- value?: string;
413
- }): void;
414
- /**
415
- * Set minecraft:wearable component
416
- * @param config {object} Wearable configuration
417
- */
418
- setWearable(config: {
419
- slot: 'slot.armor.head' | 'slot.armor.chest' | 'slot.armor.legs' | 'slot.armor.feet' | 'slot.armor.body' | 'slot.weapon.mainhand' | 'slot.weapon.offhand';
420
- protection?: number;
421
- hides_player_location?: boolean;
422
- dispensable?: boolean;
423
- }): void;
424
- /**
425
- * Set minecraft:use_modifiers component
426
- * @param config {object} Use modifiers configuration
427
- */
428
- setUseModifiers(config: {
429
- use_duration: number;
430
- movement_modifier?: number;
431
- emit_vibrations?: boolean;
432
- start_sound?: string;
433
- }): void;
434
- getIcon(): string | PNGImageComponent | undefined;
435
- getAllowOffHand(): boolean | undefined;
436
- getTags(): {
437
- tags?: string[];
438
- } | undefined;
439
- getDamageAbsorption(): {
440
- absorbable_causes: string[];
441
- } | undefined;
442
- getDurability(): {
443
- max_durability: number;
444
- damage_chance?: {
445
- min: number;
446
- max: number;
447
- };
448
- } | undefined;
449
- getMaxStackSize(): number | {
450
- value?: number;
451
- } | undefined;
452
- getShouldDespawn(): any;
453
- getHandEquipped(): boolean | undefined;
454
- getRepairable(): any;
455
- getFuel(): {
456
- duration: number;
457
- } | undefined;
458
- getStorageWeightModifier(): {
459
- weight_in_storage_item: number;
460
- } | undefined;
461
- getStorageWeightLimit(): {
462
- max_weight_limit: number;
463
- } | undefined;
464
- getStorageItem(): {
465
- allow_nested_storage_items?: boolean;
466
- allowed_items?: string[];
467
- banned_items?: string[];
468
- max_slots?: number;
469
- max_weight_limit?: number;
470
- weight_in_storage_item?: number;
471
- } | undefined;
472
- getBundleInteraction(): {
473
- num_viewable_slots?: number;
474
- } | undefined;
475
- getCooldown(): {
476
- category: string;
477
- duration: number;
478
- type?: "use" | "attack";
479
- } | undefined;
480
- getCompostable(): {
481
- composting_chance: number;
482
- } | undefined;
483
- getBlockPlacer(): {
484
- aligned_placement?: boolean;
485
- block: string;
486
- replace_block_item?: boolean;
487
- use_on?: Array<string | {
488
- name: string;
489
- states?: Record<string, number | string | boolean>;
490
- tags?: string;
491
- }>;
492
- } | undefined;
493
- getThrowable(): {
494
- do_swing_animation?: boolean;
495
- launch_power_scale?: number;
496
- max_draw_duration?: number;
497
- max_launch_power?: number;
498
- min_draw_duration?: number;
499
- scale_power_by_draw_duration?: boolean;
500
- } | undefined;
501
- getProjectile(): any;
502
- getRecord(): any;
503
- getGlint(): any;
504
- getUseAnimation(): string | {
505
- value?: string;
506
- } | undefined;
507
- getWearable(): {
508
- slot: "slot.armor.head" | "slot.armor.chest" | "slot.armor.legs" | "slot.armor.feet" | "slot.armor.body" | "slot.weapon.mainhand" | "slot.weapon.offhand" | "slot.hotbar" | "slot.inventory" | "slot.enderchest" | "slot.saddle" | "slot.armor" | "slot.chest";
509
- protection?: number;
510
- hides_player_location?: boolean;
511
- dispensable?: boolean;
512
- } | undefined;
513
- getUseModifiers(): {
514
- use_duration: number;
515
- movement_modifier?: number;
516
- emit_vibrations?: boolean;
517
- start_sound?: string;
518
- } | undefined;
519
- }
520
- export { ItemComponent };
@@ -1,17 +0,0 @@
1
- import { MCXCompileData } from '../compile-mcx/compiler/compileData';
2
- import { transformCtx } from '../types';
3
- import type { BaseJson, FilePoint } from './types';
4
- /** Clear all cached bind options (called between builds) */
5
- export declare function clearCachedOptions(): void;
6
- export declare function resolveFilePoint(point: FilePoint, ctx: transformCtx): string;
7
- export declare function execEdit(option: BaseJson['_meta']['file_edit'], ctx: transformCtx): Promise<void>;
8
- /**
9
- * Generate the final textures/item_texture.json from accumulated bind data.
10
- * Call this in the plugin's buildEnd / onEnd hook.
11
- */
12
- export declare function generateItemTextureJson(output: {
13
- resources: string;
14
- }): Promise<void>;
15
- export declare function compileComponent(compiledCode: MCXCompileData, ctx: transformCtx): Promise<void>;
16
- export * from './vm';
17
- export { ItemComponent, EntityComponent, BlockComponent, PNGImageComponent, SVGImageComponent, GIFImageComponent, JPGImageComponent, } from './lib';
@@ -1,32 +0,0 @@
1
- import { BlockComponent } from './components/block';
2
- import { EntityComponent } from './components/entity';
3
- import { ItemComponent } from './components/item';
4
- declare const _default: {
5
- item: typeof ItemComponent;
6
- entity: typeof EntityComponent;
7
- block: typeof BlockComponent;
8
- };
9
- export default _default;
10
- declare class ImageComponent {
11
- filePath: string;
12
- imageType: string[];
13
- classId: string;
14
- constructor(filePath: string, imageType: string[]);
15
- }
16
- declare class PNGImageComponent extends ImageComponent {
17
- classId: "mcx_png_2340192";
18
- constructor(filePath: string);
19
- }
20
- declare class JPGImageComponent extends ImageComponent {
21
- classId: "mcx_jpg/jpeg_019173";
22
- constructor(filePath: string);
23
- }
24
- declare class SVGImageComponent extends ImageComponent {
25
- classId: "mcx_svg_129371";
26
- constructor(filePath: string);
27
- }
28
- declare class GIFImageComponent extends ImageComponent {
29
- classId: "mcx_git_019723";
30
- constructor(filePath: string);
31
- }
32
- export { ItemComponent, BlockComponent, EntityComponent, PNGImageComponent, JPGImageComponent, SVGImageComponent, GIFImageComponent, };
@@ -1,3 +0,0 @@
1
- export declare const AttackCriticalHitChoicesEnum: string[];
2
- type AttackCriticalHitChoices = (typeof AttackCriticalHitChoicesEnum)[number];
3
- export default AttackCriticalHitChoices;
@@ -1,9 +0,0 @@
1
- /**
2
- * Enchantable slot types for minecraft:enchantable component
3
- * Specifies which types of enchantments can be applied to items
4
- * @description Update time UTC 2026/4/8
5
- */
6
- export declare const EnchantableSlotArray: readonly ["none", "all", "g_armor", "armor_head", "armor_torso", "armor_feet", "armor_legs", "sword", "bow", "spear", "crossbow", "melee_spear", "g_tool", "hoe", "shears", "flintsteel", "shield", "g_digging", "axe", "pickaxe", "shovel", "fishing_rod", "carrot_stick", "elytra", "cosmetic_head"];
7
- export type EnchantableSlot = (typeof EnchantableSlotArray)[number];
8
- export declare const EnchantableSlotEnum: readonly ["none", "all", "g_armor", "armor_head", "armor_torso", "armor_feet", "armor_legs", "sword", "bow", "spear", "crossbow", "melee_spear", "g_tool", "hoe", "shears", "flintsteel", "shield", "g_digging", "axe", "pickaxe", "shovel", "fishing_rod", "carrot_stick", "elytra", "cosmetic_head"];
9
- export default EnchantableSlot;
@@ -1,8 +0,0 @@
1
- /**
2
- * @description Particle Type List
3
- * @description Update time UTC 2026/4/8
4
- */
5
- declare const ParticleTypeEnum: readonly ["balloongas", "bleach", "blockforcefield", "blueflame", "breezewindexplosion", "bubble", "bubblecolumndown", "bubblecolumnup", "bubblemanual", "campfiresmoke", "campfiresmoketall", "candleflame", "carrotboost", "coloredflame", "conduit", "creakingcrumble", "crit", "dragonbreath", "dragonbreathfire", "dragonbreathtrail", "dragondestroyblock", "driphoney", "driplava", "dripwater", "dustplume", "electricspark", "enchantingtable", "endrod", "evaporation", "explode", "eyeblossomclose", "eyeblossomopen", "fallingborderdust", "fallingdust", "fireworks", "fireworksoverlay", "fireworksstarter", "flame", "food", "greenflame", "heart", "hugeexplosion", "iconcrack", "ink", "largeexplode", "largesmoke", "lava", "mobappearance", "mobflame", "mobspell", "mobspellambient", "mobspellinstantaneous", "myceliumdust", "none", "note", "obsidiantear", "paleoakleaves", "pausemobgrowth", "portal", "portalreverse", "rainsplash", "reddust", "resetmobgrowth", "risingborderdust", "sculksoul", "shriek", "shulkerbullet", "slime", "smoke", "sneeze", "snowballpoof", "snowflake", "sonicexplosion", "soul", "sparkler", "spit", "stalactitedriplava", "stalactitedripwater", "terrain", "totem", "townaura", "trackingemitter", "vaultconnection", "villagerangry", "villagerhappy", "watersplash", "watersplashmanual", "waterwake", "wax", "whitesmoke", "windexplosion", "witchspell", "wolfarmorcrack"];
6
- type ParticleType = (typeof ParticleTypeEnum)[number];
7
- export default ParticleType;
8
- export { ParticleTypeEnum };
@@ -1,8 +0,0 @@
1
- /**
2
- * @description Sound Event Choose List
3
- * @description Update time UTC 2026/4/8
4
- */
5
- declare const SoundEventEnum: string[];
6
- type SoundEvent = (typeof SoundEventEnum)[number];
7
- export default SoundEvent;
8
- export { SoundEventEnum };
@@ -1,3 +0,0 @@
1
- export declare const StartSoundChoicesEnum: readonly ["activate", "add.chest", "admire", "agitated", "ambient", "ambient.aggressive", "ambient.baby", "ambient.basalt_deltas.additions", "ambient.basalt_deltas.loop", "ambient.basalt_deltas.mood", "ambient.candle", "ambient.cave", "ambient.crimson_forest.additions", "ambient.crimson_forest.loop", "ambient.crimson_forest.mood", "ambient.in.air", "ambient.in.raid", "ambient.in.water", "ambient.nether_wastes.additions", "ambient.nether_wastes.loop", "ambient.nether_wastes.mood", "ambient.pollinate", "ambient.screamer", "ambient.soulsand_valley.additions", "ambient.soulsand_valley.loop", "ambient.soulsand_valley.mood", "ambient.tame", "ambient.underwater.enter", "ambient.underwater.exit", "ambient.warped_forest.additions", "ambient.warped_forest.loop", "ambient.warped_forest.mood", "ambient.weather.the_end_light_flash", "ambient.worried", "angry", "apply_effect.bad_omen", "apply_effect.raid_omen", "apply_effect.trial_omen", "armor", "armor.break_wolf", "armor.crack_wolf", "armor.equip_chain", "armor.equip_copper", "armor.equip_diamond", "armor.equip_elytra", "armor.equip_generic", "armor.equip_gold", "armor.equip_iron", "armor.equip_leather", "armor.equip_netherite", "armor.equip_wolf", "armor.repair_wolf", "armor.unequip_generic", "armor.unequip_wolf", "attach", "attack", "attack.critical", "attack.nodamage", "attack.strong", "balloonpop", "beacon.activate", "beacon.ambient", "beacon.deactivate", "beacon.power", "blast", "block.bamboo_sapling.place", "block.barrel.close", "block.barrel.open", "block.beehive.drip", "block.beehive.enter", "block.beehive.exit", "block.beehive.shear", "block.beehive.work", "block.bell.hit", "block.blastfurnace.fire_crackle", "block.campfire.crackle", "block.cartography_table.use", "block.click", "block.click.fail", "block.composter.empty", "block.composter.fill", "block.composter.fill_success", "block.composter.ready", "block.copper_bulb.turn_off", "block.copper_bulb.turn_on", "block.creaking_heart.trail", "block.decorated_pot.insert", "block.decorated_pot.insert_fail", "block.enchanting_table.use", "block.end_portal.spawn", "block.end_portal_frame.fill", "block.fletching_table.use", "block.frog_spawn.break", "block.frog_spawn.hatch", "block.furnace.lit", "block.grindstone.use", "block.loom.use", "block.scaffolding.climb", "block.sculk.spread", "block.sculk_catalyst.bloom", "block.sculk_sensor.place", "block.sculk_shrieker.place", "block.sculk_shrieker.shriek", "block.sign.waxed_interact_fail", "block.smithing_table.use", "block.smoker.smoke", "block.sniffer_egg.crack", "block.sniffer_egg.hatch", "block.stonecutter.use", "block.sweet_berry_bush.hurt", "block.sweet_berry_bush.pick", "block.turtle_egg.attack", "block.turtle_egg.break", "block.turtle_egg.crack", "block.turtle_egg.hatch", "boost", "born", "bottle.dragonbreath", "bottle.empty", "bottle.fill", "bow", "bow.hit", "break", "break.block", "break_pot", "breathe", "breeze_wind_charge.burst", "brush", "brush_completed", "bubble.down", "bubble.downinside", "bubble.pop", "bubble.up", "bubble.upinside", "bucket.empty.fish", "bucket.empty.lava", "bucket.empty.powder_snow", "bucket.empty.water", "bucket.fill.fish", "bucket.fill.lava", "bucket.fill.powder_snow", "bucket.fill.water", "bullet.hit", "bundle.drop_contents", "bundle.insert", "bundle.insert_fail", "bundle.remove_one", "burp", "button.click_off", "button.click_on", "cake.add_candle", "camera.take_picture", "cant_breed", "cast.spell", "cauldron_drip.lava.pointed_dripstone", "cauldron_drip.water.pointed_dripstone", "celebrate", "charge", "charge.sculk", "chest.closed", "chest.open", "chime.amethyst_block", "chorusdeath", "chorusgrow", "close", "close_long", "conduit.activate", "conduit.ambient", "conduit.attack", "conduit.deactivate", "conduit.short", "convert_mooshroom", "convert_to_drowned", "convert_to_frog", "convert_to_stray", "converted_to_zombified", "copper.wax.off", "copper.wax.on", "crafter.craft", "crafter.disable_slot", "crafter.fail", "creaking_heart_spawn", "crossbow.loading.end", "crossbow.loading.middle", "crossbow.loading.start", "crossbow.quick_charge.end", "crossbow.quick_charge.middle", "crossbow.quick_charge.start", "crossbow.shoot", "dash_ready", "deactivate", "death", "death.baby", "death.in.water", "death.mid.volume", "death.min.volume", "death.screamer", "death.to.zombie", "default", "deny", "detach", "disappeared", "door.close", "door.open", "drink", "drink.honey", "drink.milk", "drip.lava.pointed_dripstone", "drip.water.pointed_dripstone", "drop.slot", "eat", "elderguardian.curse", "elemconstruct.open", "enderchest.closed", "enderchest.open", "explode", "extinguish.candle", "extinguish.fire", "fall", "fall.big", "fall.small", "fang", "fence_gate.close", "fence_gate.open", "fire", "fizz", "flap", "flop", "fly", "freeze", "fuse", "gallop", "glass", "glow_squid.ink_squirt", "glowstick.use", "growl", "haggle", "haggle.idle", "haggle.no", "haggle.yes", "heartbeat", "heavy.step", "hit", "horn_break", "horn_call0", "horn_call1", "horn_call2", "horn_call3", "horn_call4", "horn_call5", "horn_call6", "horn_call7", "hurt", "hurt.baby", "hurt.in.water", "hurt.reduced", "hurt.screamer", "icebomb.hit", "ignite", "imitate.blaze", "imitate.bogged", "imitate.breeze", "imitate.camel_husk", "imitate.cave_spider", "imitate.creaking", "imitate.creeper", "imitate.drowned", "imitate.elder_guardian", "imitate.ender_dragon", "imitate.enderman", "imitate.endermite", "imitate.evocation_illager", "imitate.ghast", "imitate.guardian", "imitate.happy_ghast", "imitate.husk", "imitate.magma_cube", "imitate.parched", "imitate.phantom", "imitate.pillager", "imitate.polar_bear", "imitate.ravager", "imitate.shulker", "imitate.silverfish", "imitate.skeleton", "imitate.slime", "imitate.spider", "imitate.stray", "imitate.vex", "imitate.vindication_illager", "imitate.warden", "imitate.witch", "imitate.wither", "imitate.wither_skeleton", "imitate.wolf", "imitate.zoglin", "imitate.zombie", "imitate.zombie_pigman", "imitate.zombie_villager", "insert", "insert_enchanted", "irongolem.crack", "irongolem.repair", "item.book.put", "item.copper_spear.attack_hit", "item.copper_spear.attack_miss", "item.copper_spear.use", "item.diamond_spear.attack_hit", "item.diamond_spear.attack_miss", "item.diamond_spear.use", "item.enchant.lunge1", "item.enchant.lunge2", "item.enchant.lunge3", "item.fizz", "item.golden_spear.attack_hit", "item.golden_spear.attack_miss", "item.golden_spear.use", "item.iron_spear.attack_hit", "item.iron_spear.attack_miss", "item.iron_spear.use", "item.netherite_spear.attack_hit", "item.netherite_spear.attack_miss", "item.netherite_spear.use", "item.shield.block", "item.spear.attack_hit", "item.spear.attack_miss", "item.spear.use", "item.spyglass.stop_using", "item.spyglass.use", "item.stone_spear.attack_hit", "item.stone_spear.attack_miss", "item.stone_spear.use", "item.trident.hit", "item.trident.hit_ground", "item.trident.return", "item.trident.riptide_1", "item.trident.riptide_2", "item.trident.riptide_3", "item.trident.throw", "item.trident.thunder", "item.use.on", "item.wooden_spear.attack_hit", "item.wooden_spear.attack_miss", "item.wooden_spear.use", "item_given", "item_taken", "item_thrown", "jump", "jump.prevent", "jump_to_block", "land", "large.blast", "launch", "lava", "lava.pop", "lay_egg", "lay_spawn", "lead.break", "lead.leash", "lead.unleash", "leashknot.break", "leashknot.place", "levelup", "listening", "listening_angry", "lodestone_compass.link_compass_to_lodestone", "lt.reaction.bleach", "lt.reaction.epaste", "lt.reaction.epaste2", "lt.reaction.fertilizer", "lt.reaction.fire", "lt.reaction.fireball", "lt.reaction.icebomb", "lt.reaction.mgsalt", "lt.reaction.miscexplosion", "lt.reaction.miscfire", "lt.reaction.miscmystical", "lt.reaction.miscmystical2", "lt.reaction.product", "mace.heavy_smash_ground", "mace.smash_air", "mace.smash_ground", "mad", "milk", "milk.screamer", "milk_suspiciously", "mob.armadillo.brush", "mob.armadillo.scute_drop", "mob.armor_stand.place", "mob.hoglin.converted_to_zombified", "mob.husk.convert_to_zombie", "mob.pig.death", "mob.player.hurt_drown", "mob.player.hurt_freeze", "mob.player.hurt_on_fire", "mob.warning", "mob.warning.baby", "multi_swap", "nearby_close", "nearby_closer", "nearby_closest", "note", "note.bass", "ominous_bottle.end_use", "ominous_item_spawner.about_to_spawn_item", "ominous_item_spawner.spawn_item", "ominous_item_spawner.spawn_item_begin", "open", "open_long", "panic", "pant", "particle.soul_escape.loud", "particle.soul_escape.quiet", "pause_growth", "pick_berries.cave_vines", "pickup", "pickup_enchanted", "piston.in", "piston.out", "place", "place_in_water", "place_item", "plop", "pop", "portal", "portal.travel", "potion.brewed", "power.off", "power.off.sculk_sensor", "power.on", "power.on.sculk_sensor", "pre_ram", "pre_ram.screamer", "prepare.attack", "prepare.summon", "prepare.wololo", "presneeze", "pressure_plate.click_off", "pressure_plate.click_on", "pumpkin.carve", "purr", "purreow", "raid.horn", "ram_impact", "ram_impact.screamer", "random.anvil_use", "reappeared", "record.11", "record.13", "record.5", "record.blocks", "record.cat", "record.chirp", "record.creator", "record.creator_music_box", "record.far", "record.lava_chicken", "record.mall", "record.mellohi", "record.otherside", "record.pigstep", "record.precipice", "record.relic", "record.stal", "record.strad", "record.tears", "record.wait", "record.ward", "reflect", "remedy", "reset_growth", "respawn_anchor.ambient", "respawn_anchor.charge", "respawn_anchor.deplete", "respawn_anchor.set_spawn", "retreat", "roar", "saddle", "saddle_in_water", "scared", "scrape", "screech", "shake", "shatter_pot", "shear", "shoot", "shulker.close", "shulker.open", "shulkerbox.closed", "shulkerbox.open", "single_swap", "sleep", "smithing_table.use", "sneeze", "sonic_boom", "sonic_charge", "sparkler.active", "sparkler.use", "spawn", "splash", "sponge.absorb", "squid.ink_squirt", "squish.big", "squish.small", "stare", "state_change", "step", "step.baby", "step_lava", "step_sand", "stun", "swim", "swoop", "takeoff", "teleport", "tempt", "thorns", "throw", "thunder", "tilt_down.big_dripleaf", "tilt_up.big_dripleaf", "tongue", "trapdoor.close", "trapdoor.open", "trial_spawner.ambient", "trial_spawner.ambient_ominous", "trial_spawner.charge_activate", "trial_spawner.close_shutter", "trial_spawner.detect_player", "trial_spawner.eject_item", "trial_spawner.open_shutter", "trial_spawner.spawn_mob", "tripod", "twinkle", "ui.cartography_table.take_result", "ui.loom.take_result", "ui.stonecutter.take_result", "undefined", "unfect", "unfreeze", "unsaddle", "vault.activate", "vault.ambient", "vault.close_shutter", "vault.deactivate", "vault.eject_item", "vault.insert_item", "vault.insert_item_fail", "vault.open_shutter", "vault.reject_rewarded_player", "warn", "water", "whine", "wind_charge.burst"];
2
- type StartSoundChoices = (typeof StartSoundChoicesEnum)[number];
3
- export default StartSoundChoices;