@wq2/miniblox-sdk 3.46.147-0.0.0 → 3.46.147-0.0.2
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.
- package/dist/index.d.mts +344 -307
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Box3 as Box3$1, Group, Loader, Mesh as Mesh$1, Object3D as Object3D$1, Quaternion as Quaternion$1, Texture, TextureLoader, Vector3 as Vector3$2 } from "three";
|
|
2
2
|
import { Vector3 as Vector3$3 } from "three/src/Three.Core.js";
|
|
3
3
|
import { Socket } from "socket.io-client";
|
|
4
|
-
|
|
5
4
|
//#region src/math/plane.d.ts
|
|
6
5
|
type directionStr = "horizontal" | "vertical";
|
|
7
6
|
declare class Plane {
|
|
@@ -537,8 +536,10 @@ declare const Items: {
|
|
|
537
536
|
readonly soul_torch: Item$1;
|
|
538
537
|
readonly redstone_torch: Item$1;
|
|
539
538
|
readonly lily_pad: ItemBlock;
|
|
540
|
-
readonly fire_charge: Item$1;
|
|
541
|
-
|
|
539
|
+
readonly fire_charge: Item$1;
|
|
540
|
+
// Unknown/Debug
|
|
541
|
+
readonly unknownItem: Item$1;
|
|
542
|
+
// Block items (ItemBlock) - Natural
|
|
542
543
|
readonly stone: ItemBlock;
|
|
543
544
|
readonly granite: ItemBlock;
|
|
544
545
|
readonly polished_granite: ItemBlock;
|
|
@@ -583,7 +584,8 @@ declare const Items: {
|
|
|
583
584
|
readonly obsidian: ItemBlock;
|
|
584
585
|
readonly end_stone: ItemBlock;
|
|
585
586
|
readonly end_stone_bricks: ItemBlock;
|
|
586
|
-
readonly dragon_egg: ItemBlock;
|
|
587
|
+
readonly dragon_egg: ItemBlock;
|
|
588
|
+
// Block items - Wood
|
|
587
589
|
readonly oak_log: ItemBlock;
|
|
588
590
|
readonly spruce_log: ItemBlock;
|
|
589
591
|
readonly birch_log: ItemBlock;
|
|
@@ -623,7 +625,8 @@ declare const Items: {
|
|
|
623
625
|
readonly stripped_crimson_hyphae: ItemBlock;
|
|
624
626
|
readonly stripped_warped_hyphae: ItemBlock;
|
|
625
627
|
readonly crimson_planks: ItemBlock;
|
|
626
|
-
readonly warped_planks: ItemBlock;
|
|
628
|
+
readonly warped_planks: ItemBlock;
|
|
629
|
+
// Block items - Leaves & Saplings
|
|
627
630
|
readonly oak_leaves: ItemBlock;
|
|
628
631
|
readonly spruce_leaves: ItemBlock;
|
|
629
632
|
readonly birch_leaves: ItemBlock;
|
|
@@ -635,7 +638,8 @@ declare const Items: {
|
|
|
635
638
|
readonly birch_sapling: ItemBlock;
|
|
636
639
|
readonly jungle_sapling: ItemBlock;
|
|
637
640
|
readonly acacia_sapling: ItemBlock;
|
|
638
|
-
readonly dark_oak_sapling: ItemBlock;
|
|
641
|
+
readonly dark_oak_sapling: ItemBlock;
|
|
642
|
+
// Block items - Glass
|
|
639
643
|
readonly glass: ItemBlock;
|
|
640
644
|
readonly glass_pane: ItemBlock;
|
|
641
645
|
readonly white_stained_glass: ItemBlock;
|
|
@@ -669,7 +673,8 @@ declare const Items: {
|
|
|
669
673
|
readonly brown_stained_glass_pane: ItemBlock;
|
|
670
674
|
readonly green_stained_glass_pane: ItemBlock;
|
|
671
675
|
readonly red_stained_glass_pane: ItemBlock;
|
|
672
|
-
readonly black_stained_glass_pane: ItemBlock;
|
|
676
|
+
readonly black_stained_glass_pane: ItemBlock;
|
|
677
|
+
// Block items - Mineral Blocks
|
|
673
678
|
readonly coal_block: ItemBlock;
|
|
674
679
|
readonly iron_block: ItemBlock;
|
|
675
680
|
readonly gold_block: ItemBlock;
|
|
@@ -677,7 +682,8 @@ declare const Items: {
|
|
|
677
682
|
readonly emerald_block: ItemBlock;
|
|
678
683
|
readonly infernium_block: ItemBlock;
|
|
679
684
|
readonly lapis_block: ItemBlock;
|
|
680
|
-
readonly redstone_block: ItemBlock;
|
|
685
|
+
readonly redstone_block: ItemBlock;
|
|
686
|
+
// Block items - Sandstone
|
|
681
687
|
readonly sandstone: ItemBlock;
|
|
682
688
|
readonly chiseled_sandstone: ItemBlock;
|
|
683
689
|
readonly smooth_sandstone: ItemBlock;
|
|
@@ -685,15 +691,18 @@ declare const Items: {
|
|
|
685
691
|
readonly red_sandstone: ItemBlock;
|
|
686
692
|
readonly chiseled_red_sandstone: ItemBlock;
|
|
687
693
|
readonly smooth_red_sandstone: ItemBlock;
|
|
688
|
-
readonly cut_red_sandstone: ItemBlock;
|
|
694
|
+
readonly cut_red_sandstone: ItemBlock;
|
|
695
|
+
// Block items - Marble
|
|
689
696
|
readonly marble_block: ItemBlock;
|
|
690
697
|
readonly marble_pillar: ItemBlock;
|
|
691
698
|
readonly chiseled_marble_block: ItemBlock;
|
|
692
699
|
readonly smooth_marble: ItemBlock;
|
|
693
|
-
readonly marble_bricks: ItemBlock;
|
|
700
|
+
readonly marble_bricks: ItemBlock;
|
|
701
|
+
// Block items - Aquastone
|
|
694
702
|
readonly aquastone: ItemBlock;
|
|
695
703
|
readonly aquastone_bricks: ItemBlock;
|
|
696
|
-
readonly dark_aquastone: ItemBlock;
|
|
704
|
+
readonly dark_aquastone: ItemBlock;
|
|
705
|
+
// Block items - Wool
|
|
697
706
|
readonly white_wool: ItemBlock;
|
|
698
707
|
readonly orange_wool: ItemBlock;
|
|
699
708
|
readonly magenta_wool: ItemBlock;
|
|
@@ -709,7 +718,8 @@ declare const Items: {
|
|
|
709
718
|
readonly brown_wool: ItemBlock;
|
|
710
719
|
readonly green_wool: ItemBlock;
|
|
711
720
|
readonly red_wool: ItemBlock;
|
|
712
|
-
readonly black_wool: ItemBlock;
|
|
721
|
+
readonly black_wool: ItemBlock;
|
|
722
|
+
// Block items - Terracotta
|
|
713
723
|
readonly terracotta: ItemBlock;
|
|
714
724
|
readonly white_terracotta: ItemBlock;
|
|
715
725
|
readonly orange_terracotta: ItemBlock;
|
|
@@ -726,7 +736,8 @@ declare const Items: {
|
|
|
726
736
|
readonly brown_terracotta: ItemBlock;
|
|
727
737
|
readonly green_terracotta: ItemBlock;
|
|
728
738
|
readonly red_terracotta: ItemBlock;
|
|
729
|
-
readonly black_terracotta: ItemBlock;
|
|
739
|
+
readonly black_terracotta: ItemBlock;
|
|
740
|
+
// Block items - Glazed Terracotta
|
|
730
741
|
readonly white_glazed_terracotta: ItemBlock;
|
|
731
742
|
readonly orange_glazed_terracotta: ItemBlock;
|
|
732
743
|
readonly magenta_glazed_terracotta: ItemBlock;
|
|
@@ -742,7 +753,8 @@ declare const Items: {
|
|
|
742
753
|
readonly brown_glazed_terracotta: ItemBlock;
|
|
743
754
|
readonly green_glazed_terracotta: ItemBlock;
|
|
744
755
|
readonly red_glazed_terracotta: ItemBlock;
|
|
745
|
-
readonly black_glazed_terracotta: ItemBlock;
|
|
756
|
+
readonly black_glazed_terracotta: ItemBlock;
|
|
757
|
+
// Block items - Concrete
|
|
746
758
|
readonly white_concrete: ItemBlock;
|
|
747
759
|
readonly orange_concrete: ItemBlock;
|
|
748
760
|
readonly magenta_concrete: ItemBlock;
|
|
@@ -758,7 +770,8 @@ declare const Items: {
|
|
|
758
770
|
readonly brown_concrete: ItemBlock;
|
|
759
771
|
readonly green_concrete: ItemBlock;
|
|
760
772
|
readonly red_concrete: ItemBlock;
|
|
761
|
-
readonly black_concrete: ItemBlock;
|
|
773
|
+
readonly black_concrete: ItemBlock;
|
|
774
|
+
// Block items - Concrete Powder
|
|
762
775
|
readonly white_concrete_powder: ItemBlock;
|
|
763
776
|
readonly orange_concrete_powder: ItemBlock;
|
|
764
777
|
readonly magenta_concrete_powder: ItemBlock;
|
|
@@ -774,7 +787,8 @@ declare const Items: {
|
|
|
774
787
|
readonly brown_concrete_powder: ItemBlock;
|
|
775
788
|
readonly green_concrete_powder: ItemBlock;
|
|
776
789
|
readonly red_concrete_powder: ItemBlock;
|
|
777
|
-
readonly black_concrete_powder: ItemBlock;
|
|
790
|
+
readonly black_concrete_powder: ItemBlock;
|
|
791
|
+
// Block items - Carpet
|
|
778
792
|
readonly white_carpet: ItemBlock;
|
|
779
793
|
readonly orange_carpet: ItemBlock;
|
|
780
794
|
readonly magenta_carpet: ItemBlock;
|
|
@@ -790,7 +804,8 @@ declare const Items: {
|
|
|
790
804
|
readonly brown_carpet: ItemBlock;
|
|
791
805
|
readonly green_carpet: ItemBlock;
|
|
792
806
|
readonly red_carpet: ItemBlock;
|
|
793
|
-
readonly black_carpet: ItemBlock;
|
|
807
|
+
readonly black_carpet: ItemBlock;
|
|
808
|
+
// Block items - Nether
|
|
794
809
|
readonly hellstone: ItemBlock;
|
|
795
810
|
readonly hell_bricks: ItemBlock;
|
|
796
811
|
readonly red_hell_bricks: ItemBlock;
|
|
@@ -804,7 +819,8 @@ declare const Items: {
|
|
|
804
819
|
readonly warped_fungus: ItemBlock;
|
|
805
820
|
readonly crimson_roots: ItemBlock;
|
|
806
821
|
readonly warped_roots: ItemBlock;
|
|
807
|
-
readonly hell_sprouts: ItemBlock;
|
|
822
|
+
readonly hell_sprouts: ItemBlock;
|
|
823
|
+
// Block items - Stone Variants
|
|
808
824
|
readonly stone_bricks: ItemBlock;
|
|
809
825
|
readonly smooth_stone: ItemBlock;
|
|
810
826
|
readonly mossy_stone_bricks: ItemBlock;
|
|
@@ -816,7 +832,8 @@ declare const Items: {
|
|
|
816
832
|
readonly polished_blackstone_bricks: ItemBlock;
|
|
817
833
|
readonly cracked_polished_blackstone_bricks: ItemBlock;
|
|
818
834
|
readonly chiseled_polished_blackstone: ItemBlock;
|
|
819
|
-
readonly gilded_blackstone: ItemBlock;
|
|
835
|
+
readonly gilded_blackstone: ItemBlock;
|
|
836
|
+
// Block items - Other
|
|
820
837
|
readonly note_block: ItemBlock;
|
|
821
838
|
readonly bookshelf: ItemBlock;
|
|
822
839
|
readonly workbench: ItemBlock;
|
|
@@ -844,7 +861,8 @@ declare const Items: {
|
|
|
844
861
|
readonly repeating_command_block: ItemBlock;
|
|
845
862
|
readonly chain_command_block: ItemBlock;
|
|
846
863
|
readonly barrier: ItemBlock;
|
|
847
|
-
readonly spawner: ItemBlock;
|
|
864
|
+
readonly spawner: ItemBlock;
|
|
865
|
+
// Block items - Redstone
|
|
848
866
|
readonly sticky_piston: ItemBlock;
|
|
849
867
|
readonly piston: ItemBlock;
|
|
850
868
|
readonly lever: ItemBlock;
|
|
@@ -853,7 +871,8 @@ declare const Items: {
|
|
|
853
871
|
readonly target: ItemBlock;
|
|
854
872
|
readonly dispenser: ItemBlock;
|
|
855
873
|
readonly dropper: ItemBlock;
|
|
856
|
-
readonly hopper: ItemBlock;
|
|
874
|
+
readonly hopper: ItemBlock;
|
|
875
|
+
// Block items - Plants & Flora
|
|
857
876
|
readonly poppy: ItemBlock;
|
|
858
877
|
readonly dandelion: ItemBlock;
|
|
859
878
|
readonly blue_orchid: ItemBlock;
|
|
@@ -887,7 +906,8 @@ declare const Items: {
|
|
|
887
906
|
readonly melon: ItemBlock;
|
|
888
907
|
readonly pumpkin: ItemBlock;
|
|
889
908
|
readonly carved_pumpkin: ItemBlock;
|
|
890
|
-
readonly jack_o_lantern: ItemBlock;
|
|
909
|
+
readonly jack_o_lantern: ItemBlock;
|
|
910
|
+
// Block items - Beds (plain Item, not ItemBlock)
|
|
891
911
|
readonly white_bed: Item$1;
|
|
892
912
|
readonly orange_bed: Item$1;
|
|
893
913
|
readonly magenta_bed: Item$1;
|
|
@@ -903,13 +923,15 @@ declare const Items: {
|
|
|
903
923
|
readonly brown_bed: Item$1;
|
|
904
924
|
readonly green_bed: Item$1;
|
|
905
925
|
readonly red_bed: Item$1;
|
|
906
|
-
readonly black_bed: Item$1;
|
|
926
|
+
readonly black_bed: Item$1;
|
|
927
|
+
// Block items - Signs
|
|
907
928
|
readonly oak_sign: ItemBlock;
|
|
908
929
|
readonly spruce_sign: ItemBlock;
|
|
909
930
|
readonly birch_sign: ItemBlock;
|
|
910
931
|
readonly jungle_sign: ItemBlock;
|
|
911
932
|
readonly acacia_sign: ItemBlock;
|
|
912
|
-
readonly dark_oak_sign: ItemBlock;
|
|
933
|
+
readonly dark_oak_sign: ItemBlock;
|
|
934
|
+
// Block items - Doors (have .block property)
|
|
913
935
|
readonly oak_door: ItemBlock;
|
|
914
936
|
readonly iron_door: ItemBlock;
|
|
915
937
|
readonly spruce_door: ItemBlock;
|
|
@@ -918,7 +940,8 @@ declare const Items: {
|
|
|
918
940
|
readonly acacia_door: ItemBlock;
|
|
919
941
|
readonly dark_oak_door: ItemBlock;
|
|
920
942
|
readonly crimson_door: ItemBlock;
|
|
921
|
-
readonly warped_door: ItemBlock;
|
|
943
|
+
readonly warped_door: ItemBlock;
|
|
944
|
+
// Block items - Trapdoors
|
|
922
945
|
readonly oak_trapdoor: ItemBlock;
|
|
923
946
|
readonly spruce_trapdoor: ItemBlock;
|
|
924
947
|
readonly birch_trapdoor: ItemBlock;
|
|
@@ -927,7 +950,8 @@ declare const Items: {
|
|
|
927
950
|
readonly dark_oak_trapdoor: ItemBlock;
|
|
928
951
|
readonly iron_trapdoor: ItemBlock;
|
|
929
952
|
readonly crimson_trapdoor: ItemBlock;
|
|
930
|
-
readonly warped_trapdoor: ItemBlock;
|
|
953
|
+
readonly warped_trapdoor: ItemBlock;
|
|
954
|
+
// Block items - Buttons
|
|
931
955
|
readonly stone_button: ItemBlock;
|
|
932
956
|
readonly oak_button: ItemBlock;
|
|
933
957
|
readonly spruce_button: ItemBlock;
|
|
@@ -937,7 +961,8 @@ declare const Items: {
|
|
|
937
961
|
readonly dark_oak_button: ItemBlock;
|
|
938
962
|
readonly crimson_button: ItemBlock;
|
|
939
963
|
readonly warped_button: ItemBlock;
|
|
940
|
-
readonly polished_blackstone_button: ItemBlock;
|
|
964
|
+
readonly polished_blackstone_button: ItemBlock;
|
|
965
|
+
// Block items - Pressure Plates
|
|
941
966
|
readonly stone_pressure_plate: ItemBlock;
|
|
942
967
|
readonly oak_pressure_plate: ItemBlock;
|
|
943
968
|
readonly spruce_pressure_plate: ItemBlock;
|
|
@@ -949,7 +974,8 @@ declare const Items: {
|
|
|
949
974
|
readonly warped_pressure_plate: ItemBlock;
|
|
950
975
|
readonly polished_blackstone_pressure_plate: ItemBlock;
|
|
951
976
|
readonly light_weighted_pressure_plate: ItemBlock;
|
|
952
|
-
readonly heavy_weighted_pressure_plate: ItemBlock;
|
|
977
|
+
readonly heavy_weighted_pressure_plate: ItemBlock;
|
|
978
|
+
// Block items - Fences
|
|
953
979
|
readonly oak_fence: ItemBlock;
|
|
954
980
|
readonly spruce_fence: ItemBlock;
|
|
955
981
|
readonly birch_fence: ItemBlock;
|
|
@@ -959,7 +985,8 @@ declare const Items: {
|
|
|
959
985
|
readonly hell_brick_fence: ItemBlock;
|
|
960
986
|
readonly crimson_fence: ItemBlock;
|
|
961
987
|
readonly warped_fence: ItemBlock;
|
|
962
|
-
readonly iron_bars: ItemBlock;
|
|
988
|
+
readonly iron_bars: ItemBlock;
|
|
989
|
+
// Block items - Fence Gates
|
|
963
990
|
readonly oak_fence_gate: ItemBlock;
|
|
964
991
|
readonly spruce_fence_gate: ItemBlock;
|
|
965
992
|
readonly birch_fence_gate: ItemBlock;
|
|
@@ -967,7 +994,8 @@ declare const Items: {
|
|
|
967
994
|
readonly acacia_fence_gate: ItemBlock;
|
|
968
995
|
readonly dark_oak_fence_gate: ItemBlock;
|
|
969
996
|
readonly crimson_fence_gate: ItemBlock;
|
|
970
|
-
readonly warped_fence_gate: ItemBlock;
|
|
997
|
+
readonly warped_fence_gate: ItemBlock;
|
|
998
|
+
// Block items - Walls
|
|
971
999
|
readonly andesite_wall: ItemBlock;
|
|
972
1000
|
readonly blackstone_wall: ItemBlock;
|
|
973
1001
|
readonly polished_blackstone_wall: ItemBlock;
|
|
@@ -984,7 +1012,8 @@ declare const Items: {
|
|
|
984
1012
|
readonly sandstone_wall: ItemBlock;
|
|
985
1013
|
readonly stone_brick_wall: ItemBlock;
|
|
986
1014
|
readonly red_sandstone_wall: ItemBlock;
|
|
987
|
-
readonly aquastone_wall: ItemBlock;
|
|
1015
|
+
readonly aquastone_wall: ItemBlock;
|
|
1016
|
+
// Block items - Slabs
|
|
988
1017
|
readonly stone_slab: ItemBlock;
|
|
989
1018
|
readonly stone_brick_slab: ItemBlock;
|
|
990
1019
|
readonly smooth_stone_slab: ItemBlock;
|
|
@@ -1023,7 +1052,8 @@ declare const Items: {
|
|
|
1023
1052
|
readonly polished_blackstone_slab: ItemBlock;
|
|
1024
1053
|
readonly polished_blackstone_brick_slab: ItemBlock;
|
|
1025
1054
|
readonly crimson_slab: ItemBlock;
|
|
1026
|
-
readonly warped_slab: ItemBlock;
|
|
1055
|
+
readonly warped_slab: ItemBlock;
|
|
1056
|
+
// Block items - Stairs
|
|
1027
1057
|
readonly oak_stairs: ItemBlock;
|
|
1028
1058
|
readonly spruce_stairs: ItemBlock;
|
|
1029
1059
|
readonly birch_stairs: ItemBlock;
|
|
@@ -1059,7 +1089,8 @@ declare const Items: {
|
|
|
1059
1089
|
readonly polished_blackstone_stairs: ItemBlock;
|
|
1060
1090
|
readonly polished_blackstone_brick_stairs: ItemBlock;
|
|
1061
1091
|
readonly crimson_stairs: ItemBlock;
|
|
1062
|
-
readonly warped_stairs: ItemBlock;
|
|
1092
|
+
readonly warped_stairs: ItemBlock;
|
|
1093
|
+
// Block items - Utility
|
|
1063
1094
|
readonly chest: ItemBlock;
|
|
1064
1095
|
readonly ender_chest: ItemBlock;
|
|
1065
1096
|
readonly furnace: ItemBlock;
|
|
@@ -1072,7 +1103,8 @@ declare const Items: {
|
|
|
1072
1103
|
readonly damaged_anvil: ItemBlock;
|
|
1073
1104
|
readonly flower_pot: ItemBlock;
|
|
1074
1105
|
readonly ladder: ItemBlock;
|
|
1075
|
-
readonly iron_ladder: ItemBlock;
|
|
1106
|
+
readonly iron_ladder: ItemBlock;
|
|
1107
|
+
// Allow any string key for extensibility
|
|
1076
1108
|
[key: string]: Item$1;
|
|
1077
1109
|
};
|
|
1078
1110
|
//#endregion
|
|
@@ -1149,6 +1181,7 @@ type GameProfile = unknown;
|
|
|
1149
1181
|
//#region Useless
|
|
1150
1182
|
type ICrafting = unknown;
|
|
1151
1183
|
//#endregion
|
|
1184
|
+
//#endregion
|
|
1152
1185
|
//#region src/world/damageSource.d.ts
|
|
1153
1186
|
declare class DamageSource {
|
|
1154
1187
|
unblockable: boolean;
|
|
@@ -1358,7 +1391,7 @@ declare class Entity$1 {
|
|
|
1358
1391
|
onGround: boolean;
|
|
1359
1392
|
}): void;
|
|
1360
1393
|
fall(distance: number, damageMultiplier: number): void;
|
|
1361
|
-
updateFallState(y: number, onGround: boolean, block: Block
|
|
1394
|
+
updateFallState(y: number, onGround: boolean, block: Block | null, pos: BlockPos$1): void;
|
|
1362
1395
|
handleStatusUpdate(u: unknown): void;
|
|
1363
1396
|
isOnLadder(): boolean;
|
|
1364
1397
|
canTriggerWalking(): boolean;
|
|
@@ -1451,67 +1484,67 @@ type AnyPacket$1 = C2SPacket | S2CPacket;
|
|
|
1451
1484
|
//#region src/slot/SlotActionType.d.ts
|
|
1452
1485
|
declare enum SlotActionType {
|
|
1453
1486
|
/**
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1487
|
+
* Left-click pickup/place (clickedButton == 0).
|
|
1488
|
+
* - If slot is empty: places held item
|
|
1489
|
+
* - If slot has item and held item is same type: combines stacks
|
|
1490
|
+
* - If slot has item and held item is different: swaps them
|
|
1491
|
+
* - If slot ID is -999 (outside container): drops entire held stack
|
|
1492
|
+
*/
|
|
1460
1493
|
PICKUP_LEFT = 0,
|
|
1461
1494
|
/**
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1495
|
+
* Right-click pickup/place (clickedButton == 1).
|
|
1496
|
+
* - SPECIAL: Acts as QUICK_MOVE in this JS version (shift-click behavior)
|
|
1497
|
+
* - transferStackInSlot() is called to move item to player inventory
|
|
1498
|
+
* - If same item type exists in slot, retries the action
|
|
1499
|
+
* - If slot ID is -999: drops 1 item from held stack
|
|
1500
|
+
*/
|
|
1468
1501
|
PICKUP_RIGHT = 1,
|
|
1469
1502
|
/**
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1503
|
+
* Number key swap (0-9 for hotbar slots).
|
|
1504
|
+
* - Swaps clicked slot with hotbar slot specified by clickedButton
|
|
1505
|
+
* - If hotbar slot is empty and slot is valid: places item there
|
|
1506
|
+
* - If both slot and hotbar have items: exchanges them
|
|
1507
|
+
* - If hotbar inventory is different player: adds to empty slots first
|
|
1508
|
+
*/
|
|
1476
1509
|
SWAP = 2,
|
|
1477
1510
|
/**
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1511
|
+
* Creative mode item duplication.
|
|
1512
|
+
* - Requires: player.abilities.creative == true AND held stack is null
|
|
1513
|
+
* - Clones clicked slot's item to full max stack size
|
|
1514
|
+
* - Places cloned full-size stack in cursor
|
|
1515
|
+
*/
|
|
1483
1516
|
CLONE = 3,
|
|
1484
1517
|
/**
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1518
|
+
* Drop key action.
|
|
1519
|
+
* - Requires: held stack is null AND slot ID >= 0
|
|
1520
|
+
* - clickedButton == 0: drops 1 item
|
|
1521
|
+
* - clickedButton == 1: drops entire slot stack
|
|
1522
|
+
* - Calls onPickupFromSlot() before dropping
|
|
1523
|
+
*/
|
|
1491
1524
|
THROW = 4,
|
|
1492
1525
|
/**
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1526
|
+
* Drag to distribute items across multiple slots.
|
|
1527
|
+
* - dragEvent 0: Start drag, validates drag mode
|
|
1528
|
+
* - dragMode 0: even split across slots
|
|
1529
|
+
* - dragMode 1: one item per slot
|
|
1530
|
+
* - dragMode 2: creative fill (creative mode only)
|
|
1531
|
+
* - dragEvent 1: Collecting phase, adds valid slots to dragSlots set
|
|
1532
|
+
* - Requires: slot stackSize > dragSlots.size
|
|
1533
|
+
* - dragEvent 2: Distribution phase, splits held stack across collected slots
|
|
1534
|
+
* - Uses dragMode to compute distribution
|
|
1535
|
+
* - Requires: held stackSize >= dragSlots.size
|
|
1536
|
+
*/
|
|
1504
1537
|
QUICK_CRAFT = 5,
|
|
1505
1538
|
/**
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1539
|
+
* Shift-click to auto-move items (double-click in Java, mode 6 in JS).
|
|
1540
|
+
* - Scans through slots in two passes:
|
|
1541
|
+
* - Pass 1 (if clickedButton==0): forward scan, prioritizes partially-filled stacks
|
|
1542
|
+
* - Pass 2: continues to fill stacks to max capacity
|
|
1543
|
+
* - If clickedButton==1: reverse scan (from end to start)
|
|
1544
|
+
* - Merges with existing stacks or finds empty slots
|
|
1545
|
+
* - Respects canMergeSlot() and canAddItemToSlot() checks
|
|
1546
|
+
* - Calls detectAndSendChanges() at end
|
|
1547
|
+
*/
|
|
1515
1548
|
QUICK_MOVE = 6
|
|
1516
1549
|
}
|
|
1517
1550
|
//#endregion
|
|
@@ -2139,103 +2172,103 @@ declare class SPacketUpdateCommandBlock extends Message<SPacketUpdateCommandBloc
|
|
|
2139
2172
|
repeat: boolean | null;
|
|
2140
2173
|
}
|
|
2141
2174
|
declare const CPACKET_MAP: {
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2175
|
+
CPacketAnimation: typeof CPacketAnimation$1;
|
|
2176
|
+
CPacketBlockAction: typeof CPacketBlockAction$1;
|
|
2177
|
+
CPacketBlockUpdate: typeof CPacketBlockUpdate$1;
|
|
2178
|
+
CPacketChangeServers: typeof CPacketChangeServers$1;
|
|
2179
|
+
CPacketChunkData: typeof CPacketChunkData$1;
|
|
2180
|
+
CPacketCloseWindow: typeof CPacketCloseWindow$1;
|
|
2181
|
+
CPacketConfirmTransaction: typeof CPacketConfirmTransaction$1;
|
|
2182
|
+
CPacketDestroyEntities: typeof CPacketDestroyEntities$1;
|
|
2183
|
+
CPacketDisconnect: typeof CPacketDisconnect$1;
|
|
2184
|
+
CPacketEntityAction: typeof CPacketEntityAction$1;
|
|
2185
|
+
CPacketEntityEquipment: typeof CPacketEntityEquipment$1;
|
|
2186
|
+
CPacketEntityMetadata: typeof CPacketEntityMetadata$1;
|
|
2187
|
+
CPacketEntityPositionAndRotation: typeof CPacketEntityPositionAndRotation$1;
|
|
2188
|
+
CPacketEntityRelativePositionAndRotation: typeof CPacketEntityRelativePositionAndRotation$1;
|
|
2189
|
+
CPacketEntityStatus: typeof CPacketEntityStatus$1;
|
|
2190
|
+
CPacketEntityVelocity: typeof CPacketEntityVelocity$1;
|
|
2191
|
+
CPacketExplosion: typeof CPacketExplosion$1;
|
|
2192
|
+
CPacketJoinGame: typeof CPacketJoinGame$1;
|
|
2193
|
+
CPacketLeaderboard: typeof CPacketLeaderboard$1;
|
|
2194
|
+
CPacketLocalStorage: typeof CPacketLocalStorage$1;
|
|
2195
|
+
CPacketMessage: typeof CPacketMessage$1;
|
|
2196
|
+
CPacketOpenWindow: typeof CPacketOpenWindow$1;
|
|
2197
|
+
CPacketParticles: typeof CPacketParticles$1;
|
|
2198
|
+
CPacketPlayerList: typeof CPacketPlayerList$1;
|
|
2199
|
+
CPacketPlayerPosition: typeof CPacketPlayerPosition$1;
|
|
2200
|
+
CPacketPlayerPosLook: typeof CPacketPlayerPosLook$1;
|
|
2201
|
+
CPacketPlayerReconciliation: typeof CPacketPlayerReconciliation$1;
|
|
2202
|
+
CPacketPong: typeof CPacketPong$1;
|
|
2203
|
+
CPacketRespawn: typeof CPacketRespawn$1;
|
|
2204
|
+
CPacketScoreboard: typeof CPacketScoreboard$1;
|
|
2205
|
+
CPacketServerInfo: typeof CPacketServerInfo$1;
|
|
2206
|
+
CPacketSetSlot: typeof CPacketSetSlot$1;
|
|
2207
|
+
CPacketSignEditorOpen: typeof CPacketSignEditorOpen$1;
|
|
2208
|
+
CPacketSoundEffect: typeof CPacketSoundEffect$1;
|
|
2209
|
+
CPacketSpawnEntity: typeof CPacketSpawnEntity$1;
|
|
2210
|
+
CPacketSpawnPlayer: typeof CPacketSpawnPlayer$1;
|
|
2211
|
+
CPacketTabComplete: typeof CPacketTabComplete$1;
|
|
2212
|
+
CPacketTitle: typeof CPacketTitle$1;
|
|
2213
|
+
CPacketUpdate: typeof CPacketUpdate$1;
|
|
2214
|
+
CPacketUpdateHealth: typeof CPacketUpdateHealth$1;
|
|
2215
|
+
CPacketUpdateLeaderboard: typeof CPacketUpdateLeaderboard$1;
|
|
2216
|
+
CPacketUpdateScoreboard: typeof CPacketUpdateScoreboard$1;
|
|
2217
|
+
CPacketUpdateSign: typeof CPacketUpdateSign$1;
|
|
2218
|
+
CPacketUpdateStatus: typeof CPacketUpdateStatus$1;
|
|
2219
|
+
CPacketWindowItems: typeof CPacketWindowItems$1;
|
|
2220
|
+
CPacketWindowProperty: typeof CPacketWindowProperty$1;
|
|
2221
|
+
CPacketUseBed: typeof CPacketUseBed$1;
|
|
2222
|
+
CPacketQueueNext: typeof CPacketQueueNext$1;
|
|
2223
|
+
CPacketSpawnExperienceOrb: typeof CPacketSpawnExperienceOrb$1;
|
|
2224
|
+
CPacketSetExperience: typeof CPacketSetExperience$1;
|
|
2225
|
+
CPacketOpenShop: typeof CPacketOpenShop$1;
|
|
2226
|
+
CPacketShopProperties: typeof CPacketShopProperties$1;
|
|
2227
|
+
CPacketEntityProperties: typeof CPacketEntityProperties$1;
|
|
2228
|
+
CPacketEntityEffect: typeof CPacketEntityEffect$1;
|
|
2229
|
+
CPacketRemoveEntityEffect: typeof CPacketRemoveEntityEffect$1;
|
|
2230
|
+
CPacketUpdateCommandBlock: typeof CPacketUpdateCommandBlock$1;
|
|
2231
|
+
CPacketEntityAttach: typeof CPacketEntityAttach$1;
|
|
2232
|
+
CPacketServerMetadata: typeof CPacketServerMetadata$1;
|
|
2233
|
+
CPacketTimeUpdate: typeof CPacketTimeUpdate$1;
|
|
2234
|
+
ClientBoundCombined: typeof ClientBoundCombined$1;
|
|
2235
|
+
}, SPACKET_MAP: {
|
|
2236
|
+
SPacketAdminAction: typeof SPacketAdminAction;
|
|
2237
|
+
SPacketAnalytics: typeof SPacketAnalytics;
|
|
2238
|
+
SPacketClickWindow: typeof SPacketClickWindow;
|
|
2239
|
+
SPacketCloseWindow: typeof SPacketCloseWindow;
|
|
2240
|
+
SPacketConfirmTransaction: typeof SPacketConfirmTransaction;
|
|
2241
|
+
SPacketEnchantItem: typeof SPacketEnchantItem;
|
|
2242
|
+
SPacketEntityAction: typeof SPacketEntityAction;
|
|
2243
|
+
SPacketHeldItemChange: typeof SPacketHeldItemChange;
|
|
2244
|
+
SPacketLoginStart: typeof SPacketLoginStart;
|
|
2245
|
+
SPacketMessage: typeof SPacketMessage;
|
|
2246
|
+
SPacketOpenShop: typeof SPacketOpenShop;
|
|
2247
|
+
SPacketPing: typeof SPacketPing;
|
|
2248
|
+
SPacketPlayerAbilities: typeof SPacketPlayerAbilities;
|
|
2249
|
+
SPacketPlayerAction: typeof SPacketPlayerAction;
|
|
2250
|
+
SPacketPlayerPosLook: typeof SPacketPlayerPosLook;
|
|
2251
|
+
SPacketRespawn: typeof SPacketRespawn;
|
|
2252
|
+
SPacketTabComplete: typeof SPacketTabComplete$1;
|
|
2253
|
+
SPacketUpdateSign: typeof SPacketUpdateSign;
|
|
2254
|
+
SPacketUseEntity: typeof SPacketUseEntity;
|
|
2255
|
+
SPacketUpdateCommandBlock: typeof SPacketUpdateCommandBlock;
|
|
2256
|
+
SPacketQueueNext: typeof SPacketQueueNext;
|
|
2257
|
+
SPacketPlayerInput: typeof SPacketPlayerInput;
|
|
2258
|
+
SPacketBreakBlock: typeof SPacketBreakBlock;
|
|
2259
|
+
SPacketClick: typeof SPacketClick;
|
|
2260
|
+
SPacketCraftItem: typeof SPacketCraftItem;
|
|
2261
|
+
SPacketPlaceBlock: typeof SPacketPlaceBlock;
|
|
2262
|
+
SPacketRequestChunk: typeof SPacketRequestChunk;
|
|
2263
|
+
SPacketUpdateInventory: typeof SPacketUpdateInventory;
|
|
2264
|
+
SPacketUseItem: typeof SPacketUseItem;
|
|
2265
|
+
}, NAME_TO_ID: {
|
|
2266
|
+
[k: string]: number;
|
|
2267
|
+
}, ID_TO_PACKET: {
|
|
2268
|
+
[id: number]: AnyPacket;
|
|
2269
|
+
}, ID_TO_NAME: {
|
|
2270
|
+
[id: number]: string;
|
|
2271
|
+
};
|
|
2239
2272
|
//#endregion
|
|
2240
2273
|
//#region src/inventory/Inventory.d.ts
|
|
2241
2274
|
type Crafter = unknown;
|
|
@@ -2314,8 +2347,8 @@ declare class InventoryPlayer {
|
|
|
2314
2347
|
closeInventory(player: EntityPlayer$1): void;
|
|
2315
2348
|
clone(): InventoryPlayer;
|
|
2316
2349
|
/** IMPORTANT: USE DUMPS */
|
|
2317
|
-
canHeldItemHarvest(block: Block
|
|
2318
|
-
getStrVsBlock(block: Block
|
|
2350
|
+
canHeldItemHarvest(block: Block): boolean;
|
|
2351
|
+
getStrVsBlock(block: Block): number;
|
|
2319
2352
|
writeToNBT(nbt: unknown[]): unknown[];
|
|
2320
2353
|
readFromNBT(data: unknown[]): void;
|
|
2321
2354
|
/** IMPORTANT: USE DUMPS */
|
|
@@ -2897,7 +2930,7 @@ declare class Hud3D extends Group {
|
|
|
2897
2930
|
item: Group;
|
|
2898
2931
|
fireGroup: Group;
|
|
2899
2932
|
suffocationGroup: Mesh$1;
|
|
2900
|
-
lastSuffocationBlock: Block
|
|
2933
|
+
lastSuffocationBlock: Block | null;
|
|
2901
2934
|
mesh: Mesh$1;
|
|
2902
2935
|
tesr: Mesh$1;
|
|
2903
2936
|
rightArm: Mesh$1;
|
|
@@ -3524,8 +3557,8 @@ declare class EntityPlayer$1 extends EntityLivingBase$1 {
|
|
|
3524
3557
|
portalTint: unknown;
|
|
3525
3558
|
oxygen: number;
|
|
3526
3559
|
selectBox: unknown;
|
|
3527
|
-
headInBlock: Block
|
|
3528
|
-
lastHeadInBlock: Block
|
|
3560
|
+
headInBlock: Block | null;
|
|
3561
|
+
lastHeadInBlock: Block | null;
|
|
3529
3562
|
biome: string;
|
|
3530
3563
|
lastReportedPos: Vector3$2;
|
|
3531
3564
|
/** IMPORTANT: USE DUMPS */
|
|
@@ -3572,7 +3605,7 @@ declare class EntityPlayer$1 extends EntityLivingBase$1 {
|
|
|
3572
3605
|
closeScreen(): void;
|
|
3573
3606
|
dropItem(h: unknown, p: unknown, g: unknown, y?: boolean): unknown;
|
|
3574
3607
|
joinEntityItemWithWorld(e: Entity$1): void;
|
|
3575
|
-
canHarvestBlock(h: Block
|
|
3608
|
+
canHarvestBlock(h: Block): boolean;
|
|
3576
3609
|
addExhaustion(h: unknown): void;
|
|
3577
3610
|
getFoodStats(): FoodStats;
|
|
3578
3611
|
setItemInUse(h: unknown, p: unknown): void;
|
|
@@ -3722,7 +3755,8 @@ declare class BlockPos$1 {
|
|
|
3722
3755
|
toAABB(): Box3$1;
|
|
3723
3756
|
set(x: number, y: number, z: number): void;
|
|
3724
3757
|
add(x: number, y: number, z: number): BlockPos$1;
|
|
3725
|
-
subtract(x: number, y: number, z: number): BlockPos$1;
|
|
3758
|
+
subtract(x: number, y: number, z: number): BlockPos$1;
|
|
3759
|
+
// Utility methods for block iteration
|
|
3726
3760
|
static getAllInBoxMutable(min: BlockPos$1, max: BlockPos$1): BlockPos$1[];
|
|
3727
3761
|
up(n: number = 1): BlockPos$1;
|
|
3728
3762
|
down(n: number = 1): BlockPos$1;
|
|
@@ -3761,7 +3795,7 @@ declare class Chunk {
|
|
|
3761
3795
|
getHeightValue(x: number, z: number): number;
|
|
3762
3796
|
getTopFilledSegment(): number;
|
|
3763
3797
|
generateHeightMap(): void;
|
|
3764
|
-
getBlock(x: number, y: number, z: number): Block
|
|
3798
|
+
getBlock(x: number, y: number, z: number): Block;
|
|
3765
3799
|
getBlockState(pos: BlockPos): BlockState;
|
|
3766
3800
|
setBlockState(pos: BlockPos, blockStateId: number): boolean;
|
|
3767
3801
|
setChunkModified(): void;
|
|
@@ -3796,7 +3830,7 @@ declare class EmptyChunk$1 extends Chunk {
|
|
|
3796
3830
|
constructor(world: World, x: number, z: number);
|
|
3797
3831
|
getHeightValue(_x: number, _z: number): number;
|
|
3798
3832
|
setBlockState(_x: number, _z: number): boolean;
|
|
3799
|
-
getBlock(x: number, y: number, z: number): Block
|
|
3833
|
+
getBlock(x: number, y: number, z: number): Block;
|
|
3800
3834
|
addEntity(entity: Entity): void;
|
|
3801
3835
|
removeEntity(entity: Entity): void;
|
|
3802
3836
|
removeEntityAtIndex(entity: Entity, idx: number): void;
|
|
@@ -3933,7 +3967,7 @@ declare const Materials: {
|
|
|
3933
3967
|
//#endregion
|
|
3934
3968
|
//#region src/world/world.d.ts
|
|
3935
3969
|
declare class BlockState$1 {
|
|
3936
|
-
getBlock(): Block
|
|
3970
|
+
getBlock(): Block;
|
|
3937
3971
|
getMaterial(): Material;
|
|
3938
3972
|
}
|
|
3939
3973
|
declare class World$1 {
|
|
@@ -3983,12 +4017,12 @@ declare class World$1 {
|
|
|
3983
4017
|
isAreaLoadedCoord(sX: number, sY: number, sZ: number, eX: number, eY: number, eZ: number, clB: boolean): boolean;
|
|
3984
4018
|
getChunk(pos: BlockPos$1): Chunk;
|
|
3985
4019
|
getChunkByID(x: number, z: number): Chunk;
|
|
3986
|
-
getBlock(pos: BlockPos$1): Block
|
|
4020
|
+
getBlock(pos: BlockPos$1): Block;
|
|
3987
4021
|
getBlockState(pos: BlockPos$1): BlockState$1;
|
|
3988
4022
|
setAir(pos: BlockPos$1, h?: number): void;
|
|
3989
4023
|
setAirXYZ(x: number, y: number, z: number): void;
|
|
3990
4024
|
isAir(pos: BlockPos$1): boolean;
|
|
3991
|
-
areaPassesCheck(min: BlockPos$1, max: BlockPos$1, checkFn: (b: Block
|
|
4025
|
+
areaPassesCheck(min: BlockPos$1, max: BlockPos$1, checkFn: (b: Block) => boolean): boolean;
|
|
3992
4026
|
setBlockState(pos: BlockPos$1, state: BlockState$1, p?: number): boolean;
|
|
3993
4027
|
setBlockRaw(pos: BlockPos$1, state: BlockState$1): void;
|
|
3994
4028
|
notifyBlockOfStateChange(pos: ChunkPos, idk: unknown): void;
|
|
@@ -3998,7 +4032,7 @@ declare class World$1 {
|
|
|
3998
4032
|
playSoundAtPosition(pos: BlockPos$1, volume: number | undefined, pitch: number | undefined, name: string): void;
|
|
3999
4033
|
playSound(pos: BlockPos$1, volume?: number, pitch?: number): void;
|
|
4000
4034
|
playSoundAtPositionClientSidePredicted(name: string, vol: number | undefined, pitch: number | undefined, pos: BlockPos$1, plr: EntityPlayer$1): void;
|
|
4001
|
-
playPlaceSoundAtPositionClientSidePredicted(block: Block
|
|
4035
|
+
playPlaceSoundAtPositionClientSidePredicted(block: Block, pos: Vector3$2, plr: EntityPlayer$1): void;
|
|
4002
4036
|
spawnEntityInWorld(e: Entity$1): boolean;
|
|
4003
4037
|
setEntityState(_a: unknown, _b: unknown): void;
|
|
4004
4038
|
getEntityTracker(): void;
|
|
@@ -4011,7 +4045,7 @@ declare class World$1 {
|
|
|
4011
4045
|
getConfigurationManager(): void;
|
|
4012
4046
|
resetUpdateEntityTick(): void;
|
|
4013
4047
|
getTopSolidOrLiquidBlock(pos: BlockPos$1): BlockPos$1;
|
|
4014
|
-
canBlockBePlaced(block: Block
|
|
4048
|
+
canBlockBePlaced(block: Block, pos: BlockPos$1, bl: boolean, _unused: unknown): boolean;
|
|
4015
4049
|
checkNoEntityCollision(box: Box3, _unused: unknown): boolean;
|
|
4016
4050
|
emitToAllNearExcept(_a: unknown, _b: unknown, _c: unknown, _d: unknown, _e: unknown, _f: unknown, _g: unknown): void;
|
|
4017
4051
|
playSoundToNearExcept(player: EntityPlayer$1, pos: BlockPos$1, vol: number, pitch: number, name: string): void;
|
|
@@ -4036,7 +4070,7 @@ declare class World$1 {
|
|
|
4036
4070
|
unloadEntities(entities: Entity$1[]): void;
|
|
4037
4071
|
addBlockEvent(pos: BlockPos$1, idk: unknown, idk2: unknown, idk3: unknown): void;
|
|
4038
4072
|
reconcileBlock(_a: unknown, _b: unknown): void;
|
|
4039
|
-
forceBlockUpdateTick(block: Block
|
|
4073
|
+
forceBlockUpdateTick(block: Block, pos: BlockPos$1): void;
|
|
4040
4074
|
getRenderDistanceChunks(): void;
|
|
4041
4075
|
setActivePlayerChunksAndCheckLight(): void;
|
|
4042
4076
|
isBlockNormalCube(pos: BlockPos$1, idk: boolean): boolean;
|
|
@@ -4157,7 +4191,7 @@ declare class ClientWorld extends World$1 {
|
|
|
4157
4191
|
}
|
|
4158
4192
|
//#endregion
|
|
4159
4193
|
//#region src/blocks/Block.d.ts
|
|
4160
|
-
declare class Block
|
|
4194
|
+
declare class Block {
|
|
4161
4195
|
name?: string;
|
|
4162
4196
|
material: Material;
|
|
4163
4197
|
slipperiness: number;
|
|
@@ -4193,113 +4227,114 @@ declare class Block$1 {
|
|
|
4193
4227
|
setStepSound(sound: SoundType): this;
|
|
4194
4228
|
setBlockBounds(minX: number, minY: number, minZ: number, maxX: number, maxY: number, maxZ: number): void;
|
|
4195
4229
|
}
|
|
4196
|
-
declare class BlockChest extends Block
|
|
4230
|
+
declare class BlockChest extends Block {
|
|
4197
4231
|
// Chest block
|
|
4198
4232
|
isTrapped?: boolean;
|
|
4199
4233
|
}
|
|
4200
|
-
interface BlockAir extends Block
|
|
4201
|
-
interface BlockStone extends Block
|
|
4202
|
-
interface BlockDefault extends Block
|
|
4203
|
-
interface BlockGrass extends Block
|
|
4204
|
-
interface BlockDirt extends Block
|
|
4205
|
-
interface BlockPodzol extends Block
|
|
4206
|
-
interface BlockPlanks extends Block
|
|
4207
|
-
interface BlockSapling extends Block
|
|
4208
|
-
interface BlockLiquidWater extends Block
|
|
4209
|
-
interface BlockLiquidLava extends Block
|
|
4210
|
-
interface BlockFalling extends Block
|
|
4211
|
-
interface BlockGravel extends Block
|
|
4212
|
-
interface BlockOre extends Block
|
|
4213
|
-
interface BlockLog extends Block
|
|
4214
|
-
interface BlockStrippedLog extends Block
|
|
4215
|
-
interface BlockStrippedWood extends Block
|
|
4216
|
-
interface BlockWood extends Block
|
|
4217
|
-
interface BlockLeaves extends Block
|
|
4218
|
-
interface BlockGlass extends Block
|
|
4219
|
-
interface BlockRedstoneBlock extends Block
|
|
4220
|
-
interface BlockMarble extends Block
|
|
4221
|
-
interface BlockMarble$1 extends Block
|
|
4222
|
-
interface BlockSandStone extends Block
|
|
4223
|
-
interface BlockBookshelf extends Block
|
|
4224
|
-
interface BlockWorkbench extends Block
|
|
4225
|
-
interface BlockTnt extends Block
|
|
4226
|
-
interface BlockCake extends Block
|
|
4227
|
-
interface BlockWeb extends Block
|
|
4228
|
-
interface BlockFurnace extends Block
|
|
4229
|
-
interface BlockShrub extends Block
|
|
4230
|
-
interface BlockWool extends Block
|
|
4231
|
-
interface BlockMushroom extends Block
|
|
4232
|
-
interface BlockIce extends Block
|
|
4233
|
-
interface BlockPackedIce extends Block
|
|
4234
|
-
interface BlockSnowBlock extends Block
|
|
4235
|
-
interface BlockJukebox extends Block
|
|
4236
|
-
interface BlockPumpkin extends Block
|
|
4237
|
-
interface BlockCarvedPumpkin extends Block
|
|
4238
|
-
interface BlockHellstone extends Block
|
|
4239
|
-
interface BlockSoulSand extends Block
|
|
4240
|
-
interface BlockGlowstone extends Block
|
|
4241
|
-
interface BlockMelon extends Block
|
|
4242
|
-
interface BlockFire extends Block
|
|
4243
|
-
interface BlockSlime extends Block
|
|
4244
|
-
interface BlockRotatedPillar extends Block
|
|
4245
|
-
interface BlockHardenedClay extends Block
|
|
4246
|
-
interface BlockConcrete extends Block
|
|
4247
|
-
interface BlockHugeMushroom extends Block
|
|
4248
|
-
interface BlockHalfStoneSlab extends Block
|
|
4249
|
-
interface BlockHalfWoodSlab extends Block
|
|
4250
|
-
interface BlockHalfStoneSlab$1 extends Block
|
|
4251
|
-
interface BlockHalfBrickSlab extends Block
|
|
4252
|
-
interface BlockHalfSandstoneSlab extends Block
|
|
4253
|
-
interface BlockStairs extends Block
|
|
4254
|
-
interface BlockCactus extends Block
|
|
4255
|
-
interface BlockLadder extends Block
|
|
4256
|
-
interface BlockVine extends Block
|
|
4257
|
-
interface BlockCommandBlock extends Block
|
|
4258
|
-
interface BlockDoor extends Block
|
|
4259
|
-
interface BlockCarpet extends Block
|
|
4260
|
-
interface BlockMuck extends Block
|
|
4261
|
-
interface BlockSnow extends Block
|
|
4262
|
-
interface BlockEnchantmentTable extends Block
|
|
4263
|
-
interface BlockEnderChest extends Block
|
|
4264
|
-
interface BlockStandingSign extends Block
|
|
4265
|
-
interface BlockWallSign extends Block
|
|
4266
|
-
interface BlockPistonBase extends Block
|
|
4267
|
-
interface BlockPistonExtension extends Block
|
|
4268
|
-
interface BlockPistonMoving extends Block
|
|
4269
|
-
interface BlockBarrier extends Block
|
|
4270
|
-
interface BlockFarmland extends Block
|
|
4271
|
-
interface BlockCrops extends Block
|
|
4272
|
-
interface BlockCarrot extends Block
|
|
4273
|
-
interface BlockPotato extends Block
|
|
4274
|
-
interface BlockHellFungus extends Block
|
|
4275
|
-
interface BlockRedstoneWire extends Block
|
|
4276
|
-
interface BlockLever extends Block
|
|
4277
|
-
interface BlockButtonStone extends Block
|
|
4278
|
-
interface BlockButtonWood extends Block
|
|
4279
|
-
interface BlockTorch extends Block
|
|
4280
|
-
interface BlockWallTorch extends Block
|
|
4281
|
-
interface BlockRedstoneTorch extends Block
|
|
4282
|
-
interface BlockRedstoneWallTorch extends Block
|
|
4283
|
-
interface BlockRedstoneRepeater extends Block
|
|
4284
|
-
interface BlockRedstoneComparator extends Block
|
|
4285
|
-
interface BlockRedstoneLight extends Block
|
|
4286
|
-
interface BlockPressurePlate extends Block
|
|
4287
|
-
interface BlockPressurePlateWeighted extends Block
|
|
4288
|
-
interface BlockFence extends Block
|
|
4289
|
-
interface BlockFenceGate extends Block
|
|
4290
|
-
interface BlockWall extends Block
|
|
4291
|
-
interface BlockPane extends Block
|
|
4292
|
-
interface BlockStem extends Block
|
|
4293
|
-
interface BlockCauldron extends Block
|
|
4294
|
-
interface BlockTrapDoor extends Block
|
|
4295
|
-
interface BlockLilyPad extends Block
|
|
4296
|
-
interface BlockDragonEgg extends Block
|
|
4297
|
-
interface BlockAnvil extends Block
|
|
4298
|
-
interface BlockDispenser extends Block
|
|
4299
|
-
interface BlockBed extends Block
|
|
4300
|
-
interface BlockReed extends Block
|
|
4301
|
-
interface BlockHellPortal extends Block
|
|
4302
|
-
interface BlockCloud extends Block
|
|
4234
|
+
interface BlockAir extends Block {}
|
|
4235
|
+
interface BlockStone extends Block {}
|
|
4236
|
+
interface BlockDefault extends Block {}
|
|
4237
|
+
interface BlockGrass extends Block {}
|
|
4238
|
+
interface BlockDirt extends Block {}
|
|
4239
|
+
interface BlockPodzol extends Block {}
|
|
4240
|
+
interface BlockPlanks extends Block {}
|
|
4241
|
+
interface BlockSapling extends Block {}
|
|
4242
|
+
interface BlockLiquidWater extends Block {}
|
|
4243
|
+
interface BlockLiquidLava extends Block {}
|
|
4244
|
+
interface BlockFalling extends Block {}
|
|
4245
|
+
interface BlockGravel extends Block {}
|
|
4246
|
+
interface BlockOre extends Block {}
|
|
4247
|
+
interface BlockLog extends Block {}
|
|
4248
|
+
interface BlockStrippedLog extends Block {}
|
|
4249
|
+
interface BlockStrippedWood extends Block {}
|
|
4250
|
+
interface BlockWood extends Block {}
|
|
4251
|
+
interface BlockLeaves extends Block {}
|
|
4252
|
+
interface BlockGlass extends Block {}
|
|
4253
|
+
interface BlockRedstoneBlock extends Block {}
|
|
4254
|
+
interface BlockMarble extends Block {}
|
|
4255
|
+
interface BlockMarble$1 extends Block {}
|
|
4256
|
+
interface BlockSandStone extends Block {}
|
|
4257
|
+
interface BlockBookshelf extends Block {}
|
|
4258
|
+
interface BlockWorkbench extends Block {}
|
|
4259
|
+
interface BlockTnt extends Block {}
|
|
4260
|
+
interface BlockCake extends Block {}
|
|
4261
|
+
interface BlockWeb extends Block {}
|
|
4262
|
+
interface BlockFurnace extends Block {}
|
|
4263
|
+
interface BlockShrub extends Block {}
|
|
4264
|
+
interface BlockWool extends Block {}
|
|
4265
|
+
interface BlockMushroom extends Block {}
|
|
4266
|
+
interface BlockIce extends Block {}
|
|
4267
|
+
interface BlockPackedIce extends Block {}
|
|
4268
|
+
interface BlockSnowBlock extends Block {}
|
|
4269
|
+
interface BlockJukebox extends Block {}
|
|
4270
|
+
interface BlockPumpkin extends Block {}
|
|
4271
|
+
interface BlockCarvedPumpkin extends Block {}
|
|
4272
|
+
interface BlockHellstone extends Block {}
|
|
4273
|
+
interface BlockSoulSand extends Block {}
|
|
4274
|
+
interface BlockGlowstone extends Block {}
|
|
4275
|
+
interface BlockMelon extends Block {}
|
|
4276
|
+
interface BlockFire extends Block {}
|
|
4277
|
+
interface BlockSlime extends Block {}
|
|
4278
|
+
interface BlockRotatedPillar extends Block {}
|
|
4279
|
+
interface BlockHardenedClay extends Block {}
|
|
4280
|
+
interface BlockConcrete extends Block {}
|
|
4281
|
+
interface BlockHugeMushroom extends Block {}
|
|
4282
|
+
interface BlockHalfStoneSlab extends Block {}
|
|
4283
|
+
interface BlockHalfWoodSlab extends Block {}
|
|
4284
|
+
interface BlockHalfStoneSlab$1 extends Block {}
|
|
4285
|
+
interface BlockHalfBrickSlab extends Block {}
|
|
4286
|
+
interface BlockHalfSandstoneSlab extends Block {}
|
|
4287
|
+
interface BlockStairs extends Block {}
|
|
4288
|
+
interface BlockCactus extends Block {}
|
|
4289
|
+
interface BlockLadder extends Block {}
|
|
4290
|
+
interface BlockVine extends Block {}
|
|
4291
|
+
interface BlockCommandBlock extends Block {}
|
|
4292
|
+
interface BlockDoor extends Block {}
|
|
4293
|
+
interface BlockCarpet extends Block {}
|
|
4294
|
+
interface BlockMuck extends Block {}
|
|
4295
|
+
interface BlockSnow extends Block {}
|
|
4296
|
+
interface BlockEnchantmentTable extends Block {}
|
|
4297
|
+
interface BlockEnderChest extends Block {}
|
|
4298
|
+
interface BlockStandingSign extends Block {}
|
|
4299
|
+
interface BlockWallSign extends Block {}
|
|
4300
|
+
interface BlockPistonBase extends Block {}
|
|
4301
|
+
interface BlockPistonExtension extends Block {}
|
|
4302
|
+
interface BlockPistonMoving extends Block {}
|
|
4303
|
+
interface BlockBarrier extends Block {}
|
|
4304
|
+
interface BlockFarmland extends Block {}
|
|
4305
|
+
interface BlockCrops extends Block {}
|
|
4306
|
+
interface BlockCarrot extends Block {}
|
|
4307
|
+
interface BlockPotato extends Block {}
|
|
4308
|
+
interface BlockHellFungus extends Block {}
|
|
4309
|
+
interface BlockRedstoneWire extends Block {}
|
|
4310
|
+
interface BlockLever extends Block {}
|
|
4311
|
+
interface BlockButtonStone extends Block {}
|
|
4312
|
+
interface BlockButtonWood extends Block {}
|
|
4313
|
+
interface BlockTorch extends Block {}
|
|
4314
|
+
interface BlockWallTorch extends Block {}
|
|
4315
|
+
interface BlockRedstoneTorch extends Block {}
|
|
4316
|
+
interface BlockRedstoneWallTorch extends Block {}
|
|
4317
|
+
interface BlockRedstoneRepeater extends Block {}
|
|
4318
|
+
interface BlockRedstoneComparator extends Block {}
|
|
4319
|
+
interface BlockRedstoneLight extends Block {}
|
|
4320
|
+
interface BlockPressurePlate extends Block {}
|
|
4321
|
+
interface BlockPressurePlateWeighted extends Block {}
|
|
4322
|
+
interface BlockFence extends Block {}
|
|
4323
|
+
interface BlockFenceGate extends Block {}
|
|
4324
|
+
interface BlockWall extends Block {}
|
|
4325
|
+
interface BlockPane extends Block {}
|
|
4326
|
+
interface BlockStem extends Block {}
|
|
4327
|
+
interface BlockCauldron extends Block {}
|
|
4328
|
+
interface BlockTrapDoor extends Block {}
|
|
4329
|
+
interface BlockLilyPad extends Block {}
|
|
4330
|
+
interface BlockDragonEgg extends Block {}
|
|
4331
|
+
interface BlockAnvil extends Block {}
|
|
4332
|
+
interface BlockDispenser extends Block {}
|
|
4333
|
+
interface BlockBed extends Block {}
|
|
4334
|
+
interface BlockReed extends Block {}
|
|
4335
|
+
interface BlockHellPortal extends Block {}
|
|
4336
|
+
interface BlockCloud extends Block {}
|
|
4337
|
+
// this actually exposed in the window object like a few other objects (i.e. window.Buffer).
|
|
4303
4338
|
// see:
|
|
4304
4339
|
/*
|
|
4305
4340
|
```ts
|
|
@@ -4311,10 +4346,10 @@ globalThis.Blocks = Blocks;
|
|
|
4311
4346
|
```
|
|
4312
4347
|
*/
|
|
4313
4348
|
type AllBlocks = {
|
|
4314
|
-
readonly idToBlock: Map<number, Block
|
|
4349
|
+
readonly idToBlock: Map<number, Block>;
|
|
4315
4350
|
readonly idToBlockState: Map<number, BlockState$1>;
|
|
4316
4351
|
readonly blockStateToId: Map<BlockState$1, number>;
|
|
4317
|
-
readonly nameToBlock: Map<string, Block
|
|
4352
|
+
readonly nameToBlock: Map<string, Block>;
|
|
4318
4353
|
readonly air: BlockAir;
|
|
4319
4354
|
readonly stone: BlockStone;
|
|
4320
4355
|
readonly granite: BlockDefault;
|
|
@@ -4732,7 +4767,7 @@ type AllBlocks = {
|
|
|
4732
4767
|
readonly bone_block: BlockRotatedPillar;
|
|
4733
4768
|
readonly hell_portal: BlockHellPortal;
|
|
4734
4769
|
readonly cloud_block: BlockCloud;
|
|
4735
|
-
readonly [key: string]: Block
|
|
4770
|
+
readonly [key: string]: Block;
|
|
4736
4771
|
};
|
|
4737
4772
|
//#endregion
|
|
4738
4773
|
//#region src/network/clientSocket.d.ts
|
|
@@ -4797,10 +4832,12 @@ declare interface EventMap {
|
|
|
4797
4832
|
CPacketEntityAttach: CPacketEntityAttach;
|
|
4798
4833
|
CPacketServerMetadata: CPacketServerMetadata;
|
|
4799
4834
|
CPacketTimeUpdate: CPacketTimeUpdate;
|
|
4800
|
-
ClientBoundCombined: ClientBoundCombined;
|
|
4835
|
+
ClientBoundCombined: ClientBoundCombined;
|
|
4836
|
+
// biome-ignore lint/suspicious/noConfusingVoidType: used as a parameter + I'm bored
|
|
4801
4837
|
connect: void;
|
|
4802
4838
|
}
|
|
4803
|
-
type thing<T> = T extends void ? () => void : (data: T) => void;
|
|
4839
|
+
type thing<T> = T extends void ? () => void : (data: T) => void;
|
|
4840
|
+
// biome-ignore lint/complexity/noStaticOnlyClass: this is Miniblox's code, not mine.
|
|
4804
4841
|
declare class ClientSocket {
|
|
4805
4842
|
static socket: Socket;
|
|
4806
4843
|
static disconnectMessage?: string;
|
|
@@ -4878,4 +4915,4 @@ declare function calculateXOffset(self: Box3$1, other: Box3$1, offset: number):
|
|
|
4878
4915
|
declare function calculateYOffset(self: Box3$1, other: Box3$1, offset: number): number;
|
|
4879
4916
|
declare function calculateZOffset(self: Box3$1, other: Box3$1, offset: number): number;
|
|
4880
4917
|
//#endregion
|
|
4881
|
-
export { Abilities, AllBlocks, AnimationKeyframe, AnimationLerp, AnyPacket$1 as AnyPacket, AttributeMap, Axis, AxisDirection, BanPlayer,
|
|
4918
|
+
export { type Abilities, type AllBlocks, type AnimationKeyframe, type AnimationLerp, type AnyPacket$1 as AnyPacket, type AttributeMap, type Axis, type AxisDirection, type BanPlayer, type Block, type BlockChest, type BlockPos$1 as BlockPos, type BlockState$1 as BlockState, type C2SPacket, type CPACKET_MAP, type CPacketAnimation$1 as CPacketAnimation, type CPacketBlockAction$1 as CPacketBlockAction, type CPacketBlockUpdate$1 as CPacketBlockUpdate, type CPacketChangeServers$1 as CPacketChangeServers, type CPacketChunkData$1 as CPacketChunkData, type CPacketCloseWindow$1 as CPacketCloseWindow, type CPacketConfirmTransaction$1 as CPacketConfirmTransaction, type CPacketDestroyEntities$1 as CPacketDestroyEntities, type CPacketDisconnect$1 as CPacketDisconnect, type CPacketEntityAction$1 as CPacketEntityAction, type CPacketEntityAttach$1 as CPacketEntityAttach, type CPacketEntityEffect$1 as CPacketEntityEffect, type CPacketEntityEquipment$1 as CPacketEntityEquipment, type CPacketEntityMetadata$1 as CPacketEntityMetadata, type CPacketEntityPositionAndRotation$1 as CPacketEntityPositionAndRotation, type CPacketEntityProperties$1 as CPacketEntityProperties, type CPacketEntityRelativePositionAndRotation$1 as CPacketEntityRelativePositionAndRotation, type CPacketEntityStatus$1 as CPacketEntityStatus, type CPacketEntityVelocity$1 as CPacketEntityVelocity, type CPacketExplosion$1 as CPacketExplosion, type CPacketJoinGame$1 as CPacketJoinGame, type CPacketLeaderboard$1 as CPacketLeaderboard, type CPacketLocalStorage$1 as CPacketLocalStorage, type CPacketLocalStorage_Action, type CPacketMessage$1 as CPacketMessage, type CPacketOpenShop$1 as CPacketOpenShop, type CPacketOpenWindow$1 as CPacketOpenWindow, type CPacketParticles$1 as CPacketParticles, type CPacketPlayerList$1 as CPacketPlayerList, type CPacketPlayerPosLook$1 as CPacketPlayerPosLook, type CPacketPlayerPosition$1 as CPacketPlayerPosition, type CPacketPlayerReconciliation$1 as CPacketPlayerReconciliation, type CPacketPong$1 as CPacketPong, type CPacketQueueNext$1 as CPacketQueueNext, type CPacketRemoveEntityEffect$1 as CPacketRemoveEntityEffect, type CPacketRespawn$1 as CPacketRespawn, type CPacketScoreboard$1 as CPacketScoreboard, type CPacketServerInfo$1 as CPacketServerInfo, type CPacketServerMetadata$1 as CPacketServerMetadata, type CPacketSetExperience$1 as CPacketSetExperience, type CPacketSetSlot$1 as CPacketSetSlot, type CPacketShopProperties$1 as CPacketShopProperties, type CPacketShopProperty, type CPacketSignEditorOpen$1 as CPacketSignEditorOpen, type CPacketSoundEffect$1 as CPacketSoundEffect, type CPacketSpawnEntity$1 as CPacketSpawnEntity, type CPacketSpawnExperienceOrb$1 as CPacketSpawnExperienceOrb, type CPacketSpawnPlayer$1 as CPacketSpawnPlayer, type CPacketTabComplete$1 as CPacketTabComplete, type CPacketTimeUpdate$1 as CPacketTimeUpdate, type CPacketTitle$1 as CPacketTitle, type CPacketUpdate$1 as CPacketUpdate, type CPacketUpdateCommandBlock$1 as CPacketUpdateCommandBlock, type CPacketUpdateHealth$1 as CPacketUpdateHealth, type CPacketUpdateLeaderboard$1 as CPacketUpdateLeaderboard, type CPacketUpdateScoreboard$1 as CPacketUpdateScoreboard, type CPacketUpdateSign$1 as CPacketUpdateSign, type CPacketUpdateStatus$1 as CPacketUpdateStatus, type CPacketUseBed$1 as CPacketUseBed, type CPacketWindowItems$1 as CPacketWindowItems, type CPacketWindowProperty$1 as CPacketWindowProperty, type Chat, type ChatData, type ChatLog, type Chunk, type ChunkProviderClient$1 as ChunkProviderClient, type ClientBoundCombined$1 as ClientBoundCombined, type ClientBoundCombined_CPacket, type ClientEntityPlayer, type ClientEntityPlayerOther, type ClientSocket, type ClientWorld, type CombatTracker, type CommandBlockLogic, type Container, type ContainerPlayer, type Containers, type DamageSource, type DataWatcher, type DemotePlayer, type EffectRenderer$1 as EffectRenderer, type EffectsManager, type EmptyChunk$1 as EmptyChunk, type Enchantment, type EnchantmentData, type EnchantmentProtection, type Enchantments, type Entity$1 as Entity, type EntityArrow, type EntityFX, type EntityItem$1 as EntityItem, type EntityLivingBase$1 as EntityLivingBase, type EntityName, type EntityPlayer$1 as EntityPlayer, type EnumCreatureAttribute, type EnumDifficulty, type EnumEnchantmentType, type EnumFacing$1 as EnumFacing, type EnumParticleTypes$1 as EnumParticleTypes, type Equipment, type Equipment_Slot$1 as Equipment_Slot, type EventMap, type Explosion$1 as Explosion, type Font, type FontLoader, type FoodStats, type Game, type GameInfo, type GameMenus, type GameMode, type GameProfile, type GameScene$1 as GameScene, type GameState, type Hud3D, type IChunkProvider, type ICrafting, type ID_TO_NAME, type ID_TO_PACKET, type IInterface, type Inventory$1 as Inventory, type InventoryEnderChest, type InventoryPlayer, type Item$1 as Item, type ItemAppleGold, type ItemArmor, type ItemBlock, type ItemBow, type ItemBucket, type ItemFood, type ItemHoe, type ItemID, type ItemMace, type ItemPickaxe, type ItemSeedFood, type ItemShovel, type ItemSpawnEgg, type ItemSpear, type ItemStack$1 as ItemStack, type ItemSword, type ItemThrowable, type ItemTool, type Items, type KickPlayer, type Level, type Material, type Materials, type Message, type MobilityFlag, type NAME_TO_ID, type OptionalShape, type Options, type Options$1, type PBBlockPos, type PBCell, type PBCosmetics, type PBFloatVector3, type PBItemStack, type PBModifier, type PBSnapshot, type PBTileEntity, type PBVector3, type PBWatchableObject, type Plane, type PlayerController, type PlayerControllerMP, type PlayerData, type PlayerMovement, type PlayerPermissionEntry, type Potion, type PotionEffect, type Potions, type Profile, type PromotePlayer, type RANK, type RankLevel, type RayTraceResult, type Recipe, type RecipeRegistry, type RenderEntity, type RenderLivingEntity, type RenderPlayer, type ResourceMonitor, type Result, type S2CPacket, type SPACKET_MAP, type SPacketAdminAction, type SPacketAnalytics, type SPacketBreakBlock, type SPacketClick, type SPacketClickWindow, type SPacketCloseWindow, type SPacketConfirmTransaction, type SPacketCraftItem, type SPacketEnchantItem, type SPacketEntityAction, type SPacketHeldItemChange, type SPacketLoginStart, type SPacketMessage, type SPacketOpenShop, type SPacketPing, type SPacketPlaceBlock, type SPacketPlayerAbilities, type SPacketPlayerAction, type SPacketPlayerInput, type SPacketPlayerPosLook, type SPacketQueueNext, type SPacketRequestChunk, type SPacketRespawn, type SPacketRespawn$1, type SPacketTabComplete$1, type SPacketUpdateCommandBlock, type SPacketUpdateInventory, type SPacketUpdateSign, type SPacketUseEntity, type SPacketUseItem, type ScoreboardContent, type ServerInfo, type Shape, type Slot, SlotActionType, type StopServer, type Team$1 as Team, type TextureManager, type TileEntitySign, type TypeOfHit, type UnbanPlayer, type UpdateAccessControl, type UpdateCheats, type UpdatePvP, type Vector3$1 as Vector3, type WithIngredients, type WithOptionalShape, type WithOptionalShapeAndIngredients, type WithResult, type WithShape, type World$1 as World, type calculateXOffset, type calculateYOffset, type calculateZOffset, type canCraftItem, type craftItem, type keyPressed, type rayTraceBlocks };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wq2/miniblox-sdk",
|
|
3
|
-
"version": "3.46.147-0.0.
|
|
3
|
+
"version": "3.46.147-0.0.2",
|
|
4
4
|
"description": "SDK for Miniblox (mostly typings), originally from Vape Rewrite & Spherical.",
|
|
5
5
|
"readme": "ReadME.md",
|
|
6
6
|
"repository": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"types": "./dist/index.d.mts",
|
|
26
26
|
"type": "module",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@types/three": "0.184.
|
|
28
|
+
"@types/three": "^0.184.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"tsdown": "^0.22.12",
|
|
32
|
-
"typescript": "^
|
|
32
|
+
"typescript": "^7.0.2"
|
|
33
33
|
}
|
|
34
34
|
}
|