-
Notifications
You must be signed in to change notification settings - Fork 0
/
packetTypes.i.ts
2135 lines (2132 loc) · 42.9 KB
/
packetTypes.i.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Define Type Aliases For Easy YML Translation And Easy Fixes In Future
// These may be incorrect
export type ByteArray = Buffer
export type SignedByteArray = Buffer
export type LittleString = string
export type ShortArray = Buffer
export type varint = number
export type varint32 = number
export type varint64 = bigint
export type zigzag32 = number
export type zigzag64 = bigint
export type uuid = string
export type byterot = number
export type bitflags = any
export type restBuffer = any
export type encapsulated = any
export type nbt = any
export type lnbt = any
export type nbtLoop = any
export type enum_size_based_on_values_len = any
export type MapInfo = any
export type bool = boolean
export type i32 = number
export type u8 = number
export type lf32 = number
export type li16 = number
export type li32 = number
export type li64 = bigint
export type lu64 = bigint
export type lu32 = number
export type lu16 = number
export type i8 = number
export type u16 = number
export type vec3i = { x: zigzag32, y: zigzag32, z: zigzag32 }
export type vec3u = { x: varint, y: varint, z: varint }
export type vec3f = { x: lf32, y: lf32, z: lf32 }
export type vec2f = { x: lf32, z:lf32 }
export interface BehaviorPackInfo {
uuid: uuid
version: string
size: lu64
content_key: string
sub_pack_name: string
content_identity: string
has_scripts: bool
}
export type BehaviorPackInfos = BehaviorPackInfo[]
export interface TexturePackInfo {
uuid: uuid
version: string
size: lu64
content_key: string
sub_pack_name: string
content_identity: string
has_scripts: bool
rtx_enabled: bool
}
export type TexturePackInfos = TexturePackInfo[]
export interface ResourcePackIdVersion {
uuid: uuid
version: string
name: string
}
export type ResourcePackIdVersions= ResourcePackIdVersion[]
export type ResourcePackId = string
export type ResourcePackIds = ResourcePackId[]
export interface Experiment {
name: string
enabled: bool
}
export type Experiments = Experiment[]
export type GameMode = (
"survival" |
"creative" |
"adventure" |
"survival_spectator" |
"creative_spectator" |
"fallback"
)
export type GameRuleType = (
"bool" | "int" | "float"
)
export interface GameRule {
name: string
editable: bool
type: GameRuleType
value: bool | zigzag32 | lf32
}
export type GameRules = GameRule[]
export interface Blob {
hash: lu64
payload: ByteArray
}
export interface BlockProperty {
name: string
state: nbt
}
export type BlockProperties = BlockProperty[]
export interface Itemstate {
name: string
runtime_id: li16
component_based: bool
}
export type Itemstates = Itemstate[]
export interface ItemExtraDataNBT {
version: u8
nbt: lnbt
}
export interface ItemExtraDataWithBlockingTick {
has_nbt: boolean
nbt?: ItemExtraDataNBT
can_place_on: ShortArray[]
can_destroy: ShortArray[]
blocking_tick: li64
}
export interface ItemExtraDataWithoutBlockingTick {
has_nbt: boolean
nbt?: ItemExtraDataNBT
can_place_on: ShortArray[]
can_destroy: ShortArray[]
}
export interface ItemLegacy {
network_id: zigzag32
count?: lu16
metadata?: varint
block_runtime_id: zigzag32
extra?: ItemExtraDataWithBlockingTick | ItemExtraDataWithoutBlockingTick
}
export interface Item {
network_id: zigzag32
count?: lu16
metadata?: varint
has_stack_id?: u8
stack_id?: zigzag32
block_runtime_id: zigzag32
extra?: ItemExtraDataWithBlockingTick | ItemExtraDataWithoutBlockingTick
}
export type MetadataDictionaryKey = (
"flags" |
"health" |
"variant" |
"color" |
"nametag" |
"owner_eid" |
"target_eid" |
"air" |
"potion_color" |
"potion_ambient" |
"jump_duration" |
"hurt_time" |
"hurt_direction" |
"paddle_time_left" |
"paddle_time_right" |
"experience_value" |
"minecart_display_block" |
"minecart_display_offset" |
"minecart_has_display" |
"old_swell" |
"swell_dir" |
"charge_amount" |
"enderman_held_runtime_id" |
"entity_age" |
"player_flags" |
"player_index" |
"player_bed_position" |
"fireball_power_x" |
"fireball_power_y" |
"fireball_power_z" |
"aux_power" |
"fish_x" |
"fish_z" |
"fish_angle" |
"potion_aux_value" |
"lead_holder_eid" |
"scale" |
"interactive_tag" |
"npc_skin_id" |
"url_tag" |
"max_airdata_max_air" |
"mark_variant" |
"container_type" |
"container_base_size" |
"container_extra_slots_per_strength" |
"block_target" |
"wither_invulnerable_ticks" |
"wither_target_1" |
"wither_target_2" |
"wither_target_3" |
"aerial_attack" |
"boundingbox_width" |
"boundingbox_height" |
"fuse_length" |
"rider_seat_position" |
"rider_rotation_locked" |
"rider_max_rotation" |
"rider_min_rotation" |
"rider_rotation_offset" |
"area_effect_cloud_radius" |
"area_effect_cloud_waiting" |
"area_effect_cloud_particle_id" |
"shulker_peek_id" |
"shulker_attach_face" |
"shulker_attached" |
"shulker_attach_pos" |
"trading_player_eid" |
"trading_career" |
"has_command_block" |
"command_block_command" |
"command_block_last_output" |
"command_block_track_output" |
"controlling_rider_seat_number" |
"strength" |
"max_strength" |
"spell_casting_color" |
"limited_life" |
"armor_stand_pose_index" |
"ender_crystal_time_offset" |
"always_show_nametag" |
"color_2" |
"name_author" |
"score_tag" |
"balloon_attached_entity" |
"pufferfish_size" |
"bubble_time" |
"agent" |
"sitting_amount" |
"sitting_amount_previous" |
"eating_counter" |
"flags_extended" |
"laying_amount" |
"laying_amount_previous" |
"duration" |
"spawn_time" |
"change_rate" |
"change_on_pickup" |
"pickup_count" |
"interact_text" |
"trade_tier" |
"max_trade_tier" |
"trade_experience" |
"skin_id" |
"spawning_frames" |
"command_block_tick_delay" |
"command_block_execute_on_first_tick" |
"ambient_sound_interval" |
"ambient_sound_interval_range" |
"ambient_sound_event_name" |
"fall_damage_multiplier" |
"name_raw_text" |
"can_ride_target" |
"low_tier_cured_discount" |
"high_tier_cured_discount" |
"nearby_cured_discount" |
"nearby_cured_discount_timestamp" |
"hitbox" |
"is_buoyant" |
"base_runtime_id" |
"freezing_effect_strength" |
"buoyancy_data" |
"goat_horn_count" |
"update_properties"
)
export type MetadataDictionaryType = (
"byte" |
"short" |
"int" |
"float" |
"string" |
"compound" |
"vec3i" |
"long" |
"vec3f"
)
export type MetadataDictionaryValue = (
i8 |
li16 |
zigzag32 |
lf32 |
string |
nbt |
vec3i |
zigzag64|
vec3f |
MetadataFlags1[] |
MetadataFlags2[]
)
export type MetadataFlags1 = (
"onfire" |
"sneaking" |
"riding" |
"sprinting" |
"action" |
"invisible" |
"tempted" |
"inlove" |
"saddled" |
"powered" |
"ignited" |
"baby" |
"converting" |
"critical" |
"can_show_nametag" |
"always_show_nametag" |
"no_ai" |
"silent" |
"wallclimbing" |
"can_climb" |
"swimmer" |
"can_fly" |
"walker" |
"resting" |
"sitting" |
"angry" |
"interested" |
"charged" |
"tamed" |
"orphaned" |
"leashed" |
"sheared" |
"gliding" |
"elder" |
"moving" |
"breathing" |
"chested" |
"stackable" |
"showbase" |
"rearing" |
"vibrating" |
"idling" |
"evoker_spell" |
"charge_attack" |
"wasd_controlled" |
"can_power_jump" |
"linger" |
"has_collision" |
"affected_by_gravity" |
"fire_immune" |
"dancing" |
"enchanted" |
"show_trident_rope" |
"container_private" |
"transforming" |
"spin_attack" |
"swimming" |
"bribed" |
"pregnant" |
"laying_egg" |
"rider_can_pick" |
"transition_sitting" |
"eating" |
"laying_down"
)
export type MetadataFlags2 = (
"sneezing" |
"trusting" |
"rolling" |
"scared" |
"in_scaffolding" |
"over_scaffolding" |
"fall_through_scaffolding" |
"blocking" |
"transition_blocking" |
"blocked_using_shield" |
"blocked_using_damaged_shield" |
"sleeping" |
"wants_to_wake" |
"trade_interest" |
"door_breaker" |
"breaking_obstruction" |
"door_opener" |
"illager_captain" |
"stunned" |
"roaring" |
"delayed_attacking" |
"avoiding_mobs" |
"avoiding_block" |
"facing_target_to_range_attack" |
"hidden_when_invisible" |
"is_in_ui" |
"stalking" |
"emoting" |
"celebrating" |
"admiring" |
"celebrating_special" |
"unknown95" |
"ram_attack" |
"playing_dead"
)
export interface MetadataDictionary {
key: MetadataDictionaryKey
type: MetadataDictionaryType
value: MetadataDictionaryValue
}
export interface Link {
ridden_entity_id: zigzag64
rider_entity_id: zigzag64
type: u8
immediate: bool
rider_initiated: bool
}
export type Links = Link[]
export interface EntityAttribute {
name: string
min: lf32
value: lf32
max: lf32
}
export type EntityAttributes = EntityAttribute[]
export interface Rotation {
yaw: byterot
pitch: byterot
head_yaw: byterot
}
export interface BlockCoordinates {
x: zigzag32
y: zigzag32
z: zigzag32
}
export interface PlayerAttribute {
min: lf32
max: lf32
current: lf32
default: lf32
name: string
}
export type PlayerAttributes = PlayerAttribute[]
export type TransactionUseItemActionType = (
"click_block" | "click_air" | "break_block"
)
export interface TransactionUseItem {
action_type: TransactionUseItemActionType
block_position: vec3i
face: varint
hotbar_slot: varint
held_item: Item
player_pos: vec3f
click_pos: vec3f
block_runtime_id: varint
}
export type TransactionActionSourceType = (
"container" | "global" | "world_interaction" | "creative" | "craft_slot" | "craft"
)
export interface TransactionAction {
source_type: TransactionActionSourceType
inventory_id?: WindowIDVarint
flags?: varint
action?: varint
slot: varint
old_item: Item
new_item: Item
}
export interface LegacyTransaction {
container_id: u8
changed_slots: LegacyTransactionChangedSlots[]
}
export interface LegacyTransactionChangedSlots {
slot_id: u8
}
export type TransactionActions = TransactionAction[]
export interface TransactionLegacy {
legacy_request_id: zigzag32
legacy_transactions?: LegacyTransaction[]
}
export type TransactionType = (
"normal" | "inventory_mismatch" | "item_use" | "item_use_on_entity" | "item_release"
)
export type TransactionDataUseOnEntityDataType = (
"interact" |
"attack"
)
export interface TransactionDataUseOnEntity {
entity_runtime_id: varint64
action_type: TransactionDataUseOnEntityDataType
hotbar_slot: zigzag32
held_item: Item
player_pos: vec3f
click_pos: vec3f
}
export type TransactionDataItemReleaseDataType = (
"release" |
"consume"
)
export interface TransactionDataItemRelease {
action_type: TransactionDataItemReleaseDataType
hotbar_slot: zigzag32
held_item: Item
head_pos: vec3f
}
export type TransactionData = (
TransactionUseItem |
TransactionDataUseOnEntity |
TransactionDataItemRelease
)
export interface Transaction {
legacy: TransactionLegacy
transaction_type: TransactionType
actions: TransactionActions
transaction_data: TransactionData
}
export type ItemStacks = Item[]
export interface RecipeIngredient {
network_id: zigzag32
network_data?: zigzag32
count?: zigzag32
}
export interface PotionTypeRecipe {
input_item_id: zigzag32
input_item_meta: zigzag32
ingredient_id: zigzag32
ingredient_meta: zigzag32
output_item_id: zigzag32
output_item_meta: zigzag32
}
export type PotionTypeRecipes = PotionTypeRecipe[]
export interface PotionContainerChangeRecipe {
input_item_id: zigzag32
ingredient_id: zigzag32
output_item_id: zigzag32
}
export type PotionContainerChangeRecipes = PotionContainerChangeRecipe[]
export type RecipeType = (
"shapeless" |
"shaped" |
"furnace" |
"furnace_with_metadata" |
"multi" |
"shulker_box" |
"shapeless_chemistry" |
"shaped_chemistry"
)
export interface RecipeShapeless {
recipe_id: string
input: RecipeIngredient[]
output: ItemLegacy[]
uuid: uuid
block: string
priority: zigzag32
network_id: varint
}
export interface RecipeShaped {
recipe_id: string
width: zigzag32
height: zigzag32
input: RecipeIngredient[][]
output: ItemLegacy[]
uuid: uuid
block: string
priority: zigzag32
network_id: varint
}
export interface RecipeFurnace {
input_id: zigzag32
output: ItemLegacy
block: string
}
export interface RecipeFurnaceWithMetaData {
input_id: zigzag32
input_meta: zigzag32
output: ItemLegacy
block: string
}
export interface RecipeMulti {
uuid: uuid
network_id: varint
}
export type RecipeRecipe = ( // Best Type Name 2021
RecipeShapeless |
RecipeShaped |
RecipeFurnace |
RecipeFurnaceWithMetaData |
RecipeMulti
)
export interface Recipe {
type: RecipeType
recipe: RecipeRecipe
}
export interface SkinImage {
width: li32
height: li32
data: ByteArray
}
export interface SkinAnimation {
skin_image: SkinImage
animation_type: li32
animation_frames: lf32
expression_type: lf32
}
export interface SkinPersonalPiece {
piece_id: string
piece_type: string
pack_id: string
is_default_piece: bool
product_id: string
}
export interface SkinPieceTintColor {
piece_type: string
colors: string[]
}
export interface Skin {
skin_id: string
play_fab_id: string
skin_resource_pack: string
skin_data: SkinImage
animations: SkinAnimation[]
cape_data: SkinImage
geometry_data: string
animation_data: string
premium: bool
persona: bool
cape_on_classic: bool
cape_id: string
full_skin_id: string
arm_size: string
skin_color: string
personal_pieces: SkinPersonalPiece[]
piece_tint_colors: SkinPieceTintColor[]
}
export type PlayerRecordsType = (
"add" | "remove"
)
export interface PlayerRecordsRecord {
uuid: uuid
entity_unique_id?: zigzag64
username?: string
xbox_user_id?: string
platform_chat_id?: string
build_platform?: li32
skin_data?: Skin
is_teacher?: bool
is_host?: bool
}
export interface PlayerRecords {
type: PlayerRecordsType
records_count: varint
records: PlayerRecordsRecord[]
verified?: bool[]
}
export interface Enchant {
id: u8
level: u8
}
export interface EnchantOption {
cost: varint
slot_flags: li32
equip_enchants: Enchant[]
held_enchants: Enchant[]
self_enchants: Enchant[]
name: string
option_id: zigzag32
}
export type Action = (
"start_break" |
"abort_break" |
"stop_break" |
"get_updated_block" |
"drop_item" |
"start_sleeping" |
"stop_sleeping" |
"respawn" |
"jump" |
"start_sprint" |
"stop_sprint" |
"start_sneak" |
"stop_sneak" |
"creative_player_destroy_block" |
"dimension_change_ack" |
"start_glide" |
"stop_glide" |
"build_denied" |
"crack_break" |
"change_skin" |
"set_enchatnment_seed" |
"swimming" |
"stop_swimming" |
"start_spin_attack" |
"stop_spin_attack" |
"interact_block" |
"predict_break" |
"continue_break"
)
export type ContainerSlotType = (
"anvil_input" |
"anvil_material" |
"anvil_result" |
"smithing_table_input" |
"smithing_table_material" |
"smithing_table_result" |
"armor" |
"container" |
"beacon_payment" |
"brewing_input" |
"brewing_result" |
"brewing_fuel" |
"hotbar_and_inventory" |
"crafting_input" |
"crafting_output" |
"recipe_construction" |
"recipe_nature" |
"recipe_items" |
"recipe_search" |
"recipe_search_bar" |
"recipe_equipment" |
"enchanting_input" |
"enchanting_lapis" |
"furnace_fuel" |
"furnace_ingredient" |
"furnace_output" |
"horse_equip" |
"hotbar" |
"inventory" |
"shulker" |
"trade_ingredient1" |
"trade_ingredient2" |
"trade_result" |
"offhand" |
"compcreate_input" |
"compcreate_output" |
"elemconstruct_output" |
"matreduce_input" |
"matreduce_output" |
"labtable_input" |
"loom_input" |
"loom_dye" |
"loom_material" |
"loom_result" |
"blast_furnace_ingredient" |
"smoker_ingredient" |
"trade2_ingredient1" |
"trade2_ingredient2" |
"trade2_result" |
"grindstone_input" |
"grindstone_additional" |
"grindstone_result" |
"stonecutter_input" |
"stonecutter_result" |
"cartography_input" |
"cartography_additional" |
"cartography_result" |
"barrel" |
"cursor" |
"creative_output"
)
export interface StackRequestSlotInfo {
slot_type: ContainerSlotType
slot: u8
stack_id: zigzag32
}
export type ItemStackRequestActionType = (
"take" |
"place" |
"swap" |
"drop" |
"destroy" |
"consume" |
"create" |
"lab_table_combine" |
"beacon_payment" |
"mine_block" |
"craft_recipe" |
"craft_recipe_auto" |
"craft_creative" |
"optional" |
"non_implemented" |
"results_deprecated"
)
export interface ItemStackRequestAction {
type_id: ItemStackRequestActionType
count?: u8
source?: StackRequestSlotInfo
destination?: StackRequestSlotInfo
randomly?: bool
result_slot_id?: u8
primary_effect?: zigzag32
secondary_effect?: zigzag32
unknown1?: zigzag32
predicted_durability?: zigzag32
network_id?: zigzag32
recipe_network_id?: varint
item_id?: varint
filtered_string_index?: li32
result_items?: ItemLegacy[]
times_crafted?: u8
}
export interface ItemStackRequest {
request_id: varint
actions: ItemStackRequestAction[]
custom_names: string[]
}
export type ItemStackResponseStatus = (
"ok" | "error"
)
export interface ItemStackResponseContainerSlot {
slot: u8
hotbar_slot: u8
count: u8
item_stack_id: varint
custom_name: string
durability_correction: zigzag32
}
export interface ItemStackResponseContainer {
slot_type: ContainerSlotType
slots: ItemStackResponseContainerSlot[]
}
export interface ItemStackResponse {
status: ItemStackResponseStatus
request_id: varint
containers: ItemStackResponseContainer[]
}
export type ItemStackResponses = ItemStackResponse[]
export type Recipes = Recipe[]
export interface ItemComponent {
name: string
nbt: nbt
}
export type ItemComponentList = ItemComponent[]
export type CommandOriginType = (
"player" |
"block" |
"minecart_block" |
"dev_console" |
"test" |
"automation_player" |
"client_automation" |
"dedicated_server" |
"entity" |
"virtual" |
"game_argument" |
"entity_server" |
"precompiled" |
"game_director_entity_server" |
"script"
)
export interface CommandOrigin {
type: CommandOriginType
uuid: uuid
request_id: string
player_entity_id?: zigzag64
}
export type TrackedObjectType = (
"entity" | "block"
)
export interface TrackedObject {
type: TrackedObjectType
entity_unique_id?: zigzag64
block_position?: BlockCoordinates
}
export interface MapDecoration {
type: u8
rotation: u8
x: u8
y: u8
label: string
color_abgr: varint
}
export type StructureBlockSettingsRotation = (
"none" |
"90_deg" |
"180_deg" |
"270_deg"
)
export type StructureBlockSettingsMirror = (
"none" |
"x_axis" |
"z_axis" |
"both_axes"
)
export type StructureBlockSettingsAnimiationMode = (
"none" |
"layers" |
"blocks"
)
export interface StructureBlockSettings {
palette_name: string
ignore_entities: bool
ignore_blocks: bool
size: BlockCoordinates
structure_offset: BlockCoordinates
last_editing_player_unique_id: zigzag64
rotation: StructureBlockSettingsRotation
mirror: StructureBlockSettingsMirror
animation_mode: StructureBlockSettingsAnimiationMode
animation_duration: lf32
integrity: lf32
seed: lu32
pivot: vec3f
}
export type WindowID = (
"drop_contents" |
"beacon" |
"trading_output" |
"trading_use_inputs" |
"trading_input_2" |
"trading_input_1" |
"enchant_output" |
"enchant_material" |
"enchant_input" |
"anvil_output" |
"anvil_result" |
"anvil_material" |
"container_input" |
"crafting_use_ingredient" |
"crafting_result" |
"crafting_remove_ingredient" |
"crafting_add_ingredient" |
"none" |
"inventory" |
"first" |
"last" |
"offhand" |
"armor" |
"creative" |
"hotbar" |
"fixed_inventory" |
"ui"
)
export type WindowIDVarint = WindowID
export type WindowType = (
"none" |
"inventory" |
"container" |
"workbench" |
"furnace" |
"enchantment" |
"brewing_stand" |
"anvil" |
"dispenser" |
"dropper" |
"hopper" |
"cauldron" |
"minecart_chest" |
"minecart_hopper" |
"horse" |
"beacon" |
"structure_editor" |
"trading" |
"command_block" |
"jukebox" |
"armor" |
"hand" |
"compound_creator" |
"element_constructor" |
"material_reducer" |
"lab_table" |
"loom" |
"lectern" |
"grindstone" |
"blast_furnace" |
"smoker" |
"stonecutter" |
"cartography" |
"hud" |
"jigsaw_editor" |
"smithing_table"
)
export type SoundType = (
"ItemUseOn" |
"Hit" |
"Step" |
"Fly" |
"Jump" |
"Break" |
"Place" |
"HeavyStep" |
"Gallop" |
"Fall" |
"Ambient" |
"AmbientBaby" |
"AmbientInWater" |
"Breathe" |
"Death" |
"DeathInWater" |
"DeathToZombie" |
"Hurt" |
"HurtInWater" |
"Mad" |
"Boost" |
"Bow" |
"SquishBig" |
"SquishSmall" |
"FallBig" |
"FallSmall" |
"Splash" |
"Fizz" |
"Flap" |
"Swim" |
"Drink" |
"Eat" |
"Takeoff" |
"Shake" |
"Plop" |
"Land" |
"Saddle" |
"Armor" |
"MobArmorStandPlace" |
"AddChest" |
"Throw" |
"Attack" |