@minecraft/server 1.2.0-beta.1.20.0-preview.20 → 1.3.0-beta.1.20.0-preview.21

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 (2) hide show
  1. package/index.d.ts +206 -81
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -16,7 +16,7 @@
16
16
  * ```json
17
17
  * {
18
18
  * "module_name": "@minecraft/server",
19
- * "version": "1.2.0-internal.1.20.0-preview.20"
19
+ * "version": "1.3.0-internal.1.20.0-preview.21"
20
20
  * }
21
21
  * ```
22
22
  *
@@ -739,6 +739,7 @@ export class BlockEvent {
739
739
  */
740
740
  export class BlockExplodeAfterEvent extends BlockEvent {
741
741
  protected constructor();
742
+ readonly explodedBlockPermutation: BlockPermutation;
742
743
  /**
743
744
  * @remarks
744
745
  * Optional source of the explosion.
@@ -848,8 +849,15 @@ export class BlockPermutation {
848
849
  clone(): BlockPermutation;
849
850
  /**
850
851
  * @beta
852
+ * @remarks
853
+ * Returns all available block states associated with this
854
+ * block.
855
+ *
856
+ * @returns
857
+ * Returns the list of all of the block states that the
858
+ * permutation has.
851
859
  */
852
- getAllProperties(): Record<string, boolean | number | string>;
860
+ getAllStates(): Record<string, boolean | number | string>;
853
861
  /**
854
862
  * @beta
855
863
  * @remarks
@@ -864,8 +872,16 @@ export class BlockPermutation {
864
872
  getItemStack(amount?: number): ItemStack;
865
873
  /**
866
874
  * @beta
875
+ * @remarks
876
+ * Gets a state for the permutation.
877
+ *
878
+ * @param stateName
879
+ * Name of the block state who's value is to be returned.
880
+ * @returns
881
+ * Returns the state if the permutation has it, else
882
+ * `undefined`.
867
883
  */
868
- getProperty(propertyName: string): boolean | number | string | undefined;
884
+ getState(stateName: string): boolean | number | string | undefined;
869
885
  /**
870
886
  * @beta
871
887
  * @remarks
@@ -904,20 +920,12 @@ export class BlockPermutation {
904
920
  * @param blockName
905
921
  * An optional set of states to compare against.
906
922
  */
907
- matches(blockName: string, properties?: Record<string, boolean | number | string>): boolean;
923
+ matches(blockName: string, states?: Record<string, boolean | number | string>): boolean;
908
924
  /**
909
925
  * @beta
910
- * @remarks
911
- * Returns a derived BlockPermutation with a specific property
912
- * set.
913
- *
914
- * @param name
915
- * Identifier of the block property.
916
- * @param value
917
- * Value of the block property.
918
926
  * @throws This function can throw errors.
919
927
  */
920
- withProperty(name: string, value: boolean | number | string): BlockPermutation;
928
+ withState(name: string, value: boolean | number | string): BlockPermutation;
921
929
  /**
922
930
  * @remarks
923
931
  * Given a type identifier and an optional set of properties,
@@ -926,11 +934,9 @@ export class BlockPermutation {
926
934
  *
927
935
  * @param blockName
928
936
  * Identifier of the block to check.
929
- * @param properties
930
- * Optional additional set of properties to check against.
931
937
  * @throws This function can throw errors.
932
938
  */
933
- static resolve(blockName: string, properties?: Record<string, boolean | number | string>): BlockPermutation;
939
+ static resolve(blockName: string, states?: Record<string, boolean | number | string>): BlockPermutation;
934
940
  }
935
941
  /**
936
942
  * @beta
@@ -1036,24 +1042,6 @@ export class BlockPotionContainerComponent extends BlockLiquidContainerComponent
1036
1042
  */
1037
1043
  setPotionType(itemStack: ItemStack): void;
1038
1044
  }
1039
- /**
1040
- * @beta
1041
- */
1042
- export class BlockProperties {
1043
- protected constructor();
1044
- /**
1045
- * @remarks
1046
- * Retrieves a specific block property instance.
1047
- *
1048
- */
1049
- static get(propertyName: string): BlockPropertyType;
1050
- /**
1051
- * @remarks
1052
- * Retrieves a set of all available block properties.
1053
- *
1054
- */
1055
- static getAll(): BlockPropertyType[];
1056
- }
1057
1045
  /**
1058
1046
  * @beta
1059
1047
  */
@@ -1061,14 +1049,6 @@ export class BlockProperty {
1061
1049
  protected constructor();
1062
1050
  readonly name: string;
1063
1051
  }
1064
- /**
1065
- * @beta
1066
- */
1067
- export class BlockPropertyType {
1068
- protected constructor();
1069
- readonly id: string;
1070
- readonly validValues: (boolean | number | string)[];
1071
- }
1072
1052
  /**
1073
1053
  * @beta
1074
1054
  * Represents a block that can play a record.
@@ -1126,7 +1106,8 @@ export class BlockSignComponent extends BlockComponent {
1126
1106
  /**
1127
1107
  * @remarks
1128
1108
  * Returns the RawText of the sign if `setText` was called with
1129
- * a RawMessage or a RawText object
1109
+ * a RawMessage or a RawText object, otherwise returns
1110
+ * undefined.
1130
1111
  *
1131
1112
  * @throws This function can throw errors.
1132
1113
  */
@@ -1134,7 +1115,7 @@ export class BlockSignComponent extends BlockComponent {
1134
1115
  /**
1135
1116
  * @remarks
1136
1117
  * Returns the text of the sign if `setText` was called with a
1137
- * string
1118
+ * string, otherwise returns undefined.
1138
1119
  *
1139
1120
  * @throws This function can throw errors.
1140
1121
  */
@@ -1142,14 +1123,14 @@ export class BlockSignComponent extends BlockComponent {
1142
1123
  /**
1143
1124
  * @remarks
1144
1125
  * Gets the dye that is on the text or undefined if the sign
1145
- * has not been dyed
1126
+ * has not been dyed.
1146
1127
  *
1147
1128
  * @throws This function can throw errors.
1148
1129
  */
1149
1130
  getTextDyeColor(): DyeColor | undefined;
1150
1131
  /**
1151
1132
  * @remarks
1152
- * Sets the text of the sign component
1133
+ * Sets the text of the sign component.
1153
1134
  *
1154
1135
  * This function can't be called in read-only mode.
1155
1136
  *
@@ -1188,13 +1169,13 @@ export class BlockSignComponent extends BlockComponent {
1188
1169
  setText(message: RawMessage | RawText | string): void;
1189
1170
  /**
1190
1171
  * @remarks
1191
- * Sets the dye color of the text
1172
+ * Sets the dye color of the text.
1192
1173
  *
1193
1174
  * This function can't be called in read-only mode.
1194
1175
  *
1195
1176
  * @param color
1196
- * The dye color you want or undefined if you want to clear the
1197
- * dye on the sign
1177
+ * The dye color to apply to the sign or undefined to clear the
1178
+ * dye on the sign.
1198
1179
  * @throws This function can throw errors.
1199
1180
  */
1200
1181
  setTextDyeColor(color?: DyeColor): void;
@@ -1214,6 +1195,46 @@ export class BlockSnowContainerComponent extends BlockLiquidContainerComponent {
1214
1195
  */
1215
1196
  static readonly componentId = 'minecraft:snowContainer';
1216
1197
  }
1198
+ /**
1199
+ * @beta
1200
+ * Enumerates all {@link BlockStateType}s.
1201
+ */
1202
+ export class BlockStates {
1203
+ protected constructor();
1204
+ /**
1205
+ * @remarks
1206
+ * Retrieves a specific block state instance.
1207
+ *
1208
+ */
1209
+ static get(stateName: string): BlockStateType;
1210
+ /**
1211
+ * @remarks
1212
+ * Retrieves a set of all available block states.
1213
+ *
1214
+ */
1215
+ static getAll(): BlockStateType[];
1216
+ }
1217
+ /**
1218
+ * @beta
1219
+ * Represents a configurable state value of a block instance.
1220
+ * For example, the facing direction of stairs is accessible as
1221
+ * a block state.
1222
+ */
1223
+ export class BlockStateType {
1224
+ protected constructor();
1225
+ /**
1226
+ * @remarks
1227
+ * Identifier of the block property.
1228
+ *
1229
+ */
1230
+ readonly id: string;
1231
+ /**
1232
+ * @remarks
1233
+ * A set of valid values for the block property.
1234
+ *
1235
+ */
1236
+ readonly validValues: (boolean | number | string)[];
1237
+ }
1217
1238
  /**
1218
1239
  * @beta
1219
1240
  * The type (or template) of a block. Does not contain
@@ -2867,6 +2888,8 @@ export class Entity {
2867
2888
  *
2868
2889
  * This function can't be called in read-only mode.
2869
2890
  *
2891
+ * @param vector
2892
+ * Impulse vector.
2870
2893
  * @throws This function can throw errors.
2871
2894
  */
2872
2895
  applyImpulse(vector: Vector3): void;
@@ -2878,6 +2901,14 @@ export class Entity {
2878
2901
  *
2879
2902
  * This function can't be called in read-only mode.
2880
2903
  *
2904
+ * @param directionX
2905
+ * X direction in horizontal plane.
2906
+ * @param directionZ
2907
+ * Z direction in horizontal plane.
2908
+ * @param horizontalStrength
2909
+ * Knockback strength for the horizontal vector.
2910
+ * @param verticalStrength
2911
+ * Knockback strength for the vertical vector.
2881
2912
  * @throws This function can throw errors.
2882
2913
  */
2883
2914
  applyKnockback(directionX: number, directionZ: number, horizontalStrength: number, verticalStrength: number): void;
@@ -3470,6 +3501,12 @@ export class EntityColorComponent extends EntityComponent {
3470
3501
  */
3471
3502
  export class EntityComponent extends Component {
3472
3503
  protected constructor();
3504
+ /**
3505
+ * @remarks
3506
+ * The entity that owns this component.
3507
+ *
3508
+ */
3509
+ readonly entity: Entity;
3473
3510
  }
3474
3511
  /**
3475
3512
  * @beta
@@ -5161,8 +5198,11 @@ export class Events {
5161
5198
  readonly itemStartCharge: StartChargeAfterEventSignal_deprecated;
5162
5199
  /**
5163
5200
  * @remarks
5164
- * This event fires when any particular item is starting to be
5165
- * used by an entity or player.
5201
+ * This event fires when a player successfully uses an item or
5202
+ * places a block by pressing the Use Item / Place Block
5203
+ * button. If multiple blocks are placed, this event will only
5204
+ * occur once at the beginning of the block placement. Note:
5205
+ * This event cannot be used with Hoe or Axe items.
5166
5206
  *
5167
5207
  */
5168
5208
  readonly itemStartUseOn: ItemStartUseOnAfterEventSignal_deprecated;
@@ -5174,22 +5214,23 @@ export class Events {
5174
5214
  readonly itemStopCharge: ItemStopChargeAfterEventSignal_deprecated;
5175
5215
  /**
5176
5216
  * @remarks
5177
- * This event fires when any particular item is ending being
5178
- * used by an entity or player.
5217
+ * This event fires when a player releases the Use Item / Place
5218
+ * Block button after successfully using an item. Note: This
5219
+ * event cannot be used with Hoe or Axe items.
5179
5220
  *
5180
5221
  */
5181
5222
  readonly itemStopUseOn: ItemStopUseOnAfterEventSignal_deprecated;
5182
5223
  /**
5183
5224
  * @remarks
5184
- * This event fires when any particular item is used by an
5185
- * entity or player.
5225
+ * This event fires when an item is successfully used by a
5226
+ * player.
5186
5227
  *
5187
5228
  */
5188
5229
  readonly itemUse: ItemUseAfterEventSignal_deprecated;
5189
5230
  /**
5190
5231
  * @remarks
5191
- * This event fires when any particular item is used on a block
5192
- * by an entity or player.
5232
+ * This event fires when an item is used on a block by a
5233
+ * player.
5193
5234
  *
5194
5235
  */
5195
5236
  readonly itemUseOn: ItemUseOnAfterEventSignal_deprecated;
@@ -5941,7 +5982,7 @@ export class IItemUseOnBeforeEventSignal {
5941
5982
  /**
5942
5983
  * @beta
5943
5984
  */
5944
- export class ILeverActionEventSignalAfterEventSignal {
5985
+ export class ILeverActionAfterEventSignal {
5945
5986
  protected constructor();
5946
5987
  /**
5947
5988
  * @remarks
@@ -6421,24 +6462,6 @@ export class ItemReleaseChargeAfterEvent {
6421
6462
  export class ItemReleaseChargeAfterEventSignal_deprecated extends IItemReleaseChargeAfterEventSignal {
6422
6463
  protected constructor();
6423
6464
  }
6424
- /**
6425
- * @beta
6426
- * Represents a collection of all of the available item types
6427
- * in Minecraft.
6428
- */
6429
- export class Items {
6430
- protected constructor();
6431
- /**
6432
- * @remarks
6433
- * Returns an item type given an item type identifier.
6434
- *
6435
- * This function can't be called in read-only mode.
6436
- *
6437
- * @param itemId
6438
- * Type of the item to return.
6439
- */
6440
- static get(itemId: string): ItemType;
6441
- }
6442
6465
  /**
6443
6466
  * @beta
6444
6467
  * Defines a collection of items.
@@ -6700,7 +6723,10 @@ export class ItemStartChargeAfterEvent {
6700
6723
  /**
6701
6724
  * @beta
6702
6725
  * Contains information related to an item being used on a
6703
- * block.
6726
+ * block. This event fires when a player presses the the Use
6727
+ * Item / Place Block button to successfully use an item or
6728
+ * place a block. Note: This event cannot be used with Hoe or
6729
+ * Axe items.
6704
6730
  */
6705
6731
  export class ItemStartUseOnAfterEvent {
6706
6732
  protected constructor();
@@ -6777,7 +6803,12 @@ export class ItemStopChargeAfterEventSignal_deprecated extends IItemStopChargeAf
6777
6803
  /**
6778
6804
  * @beta
6779
6805
  * Contains information related to an item that has stopped
6780
- * being used on a block.
6806
+ * being used on a block. This event fires when a player
6807
+ * successfully uses an item or places a block by pressing the
6808
+ * Use Item / Place Block button. If multiple blocks are
6809
+ * placed, this event will only occur once at the beginning of
6810
+ * the block placement. Note: This event cannot be used with
6811
+ * Hoe or Axe items.
6781
6812
  */
6782
6813
  export class ItemStopUseOnAfterEvent {
6783
6814
  protected constructor();
@@ -6863,7 +6894,8 @@ export class ItemTypes {
6863
6894
  }
6864
6895
  /**
6865
6896
  * @beta
6866
- * Contains information related to an item being used.
6897
+ * Contains information related to an item being used. This
6898
+ * event fires when an item is successfully used by a player.
6867
6899
  */
6868
6900
  export class ItemUseAfterEvent {
6869
6901
  protected constructor();
@@ -6905,7 +6937,8 @@ export class ItemUseBeforeEventSignal extends IItemUseBeforeEventSignal {
6905
6937
  /**
6906
6938
  * @beta
6907
6939
  * Contains information related to an item being used on a
6908
- * block.
6940
+ * block. This event fires when an item is used on a block by a
6941
+ * player.
6909
6942
  */
6910
6943
  export class ItemUseOnAfterEvent {
6911
6944
  protected constructor();
@@ -7049,7 +7082,7 @@ export class LeverActionAfterEvent extends BlockEvent {
7049
7082
  * Manages callbacks that are connected to lever moves
7050
7083
  * (activates or deactivates).
7051
7084
  */
7052
- export class LeverActionAfterEventSignal_deprecated extends ILeverActionEventSignalAfterEventSignal {
7085
+ export class LeverActionAfterEventSignal_deprecated extends ILeverActionAfterEventSignal {
7053
7086
  protected constructor();
7054
7087
  }
7055
7088
  /**
@@ -11713,6 +11746,7 @@ export class MinecraftEntityTypes {
11713
11746
  static readonly bee: EntityType;
11714
11747
  static readonly blaze: EntityType;
11715
11748
  static readonly boat: EntityType;
11749
+ static readonly camel: EntityType;
11716
11750
  static readonly cat: EntityType;
11717
11751
  static readonly caveSpider: EntityType;
11718
11752
  static readonly chestBoat: EntityType;
@@ -11848,6 +11882,7 @@ export class MinecraftItemTypes {
11848
11882
  *
11849
11883
  */
11850
11884
  static readonly acaciaFenceGate: ItemType;
11885
+ static readonly acaciaHangingSign: ItemType;
11851
11886
  static readonly acaciaLog: ItemType;
11852
11887
  /**
11853
11888
  * @remarks
@@ -11921,6 +11956,7 @@ export class MinecraftItemTypes {
11921
11956
  *
11922
11957
  */
11923
11958
  static readonly andesiteStairs: ItemType;
11959
+ static readonly anglerPotteryShard: ItemType;
11924
11960
  /**
11925
11961
  * @remarks
11926
11962
  * Represents an item that can place an anvil within Minecraft.
@@ -11928,7 +11964,9 @@ export class MinecraftItemTypes {
11928
11964
  */
11929
11965
  static readonly anvil: ItemType;
11930
11966
  static readonly apple: ItemType;
11967
+ static readonly archerPotteryShard: ItemType;
11931
11968
  static readonly armorStand: ItemType;
11969
+ static readonly armsUpPotteryShard: ItemType;
11932
11970
  static readonly arrow: ItemType;
11933
11971
  static readonly axolotlBucket: ItemType;
11934
11972
  static readonly axolotlSpawnEgg: ItemType;
@@ -11960,6 +11998,23 @@ export class MinecraftItemTypes {
11960
11998
  *
11961
11999
  */
11962
12000
  static readonly bamboo: ItemType;
12001
+ static readonly bambooBlock: ItemType;
12002
+ static readonly bambooButton: ItemType;
12003
+ static readonly bambooChestRaft: ItemType;
12004
+ static readonly bambooDoor: ItemType;
12005
+ static readonly bambooFence: ItemType;
12006
+ static readonly bambooFenceGate: ItemType;
12007
+ static readonly bambooHangingSign: ItemType;
12008
+ static readonly bambooMosaic: ItemType;
12009
+ static readonly bambooMosaicSlab: ItemType;
12010
+ static readonly bambooMosaicStairs: ItemType;
12011
+ static readonly bambooPlanks: ItemType;
12012
+ static readonly bambooPressurePlate: ItemType;
12013
+ static readonly bambooRaft: ItemType;
12014
+ static readonly bambooSign: ItemType;
12015
+ static readonly bambooSlab: ItemType;
12016
+ static readonly bambooStairs: ItemType;
12017
+ static readonly bambooTrapdoor: ItemType;
11963
12018
  static readonly banner: ItemType;
11964
12019
  static readonly bannerPattern: ItemType;
11965
12020
  /**
@@ -12064,6 +12119,7 @@ export class MinecraftItemTypes {
12064
12119
  *
12065
12120
  */
12066
12121
  static readonly birchFenceGate: ItemType;
12122
+ static readonly birchHangingSign: ItemType;
12067
12123
  static readonly birchLog: ItemType;
12068
12124
  /**
12069
12125
  * @remarks
@@ -12137,6 +12193,7 @@ export class MinecraftItemTypes {
12137
12193
  */
12138
12194
  static readonly blackstoneWall: ItemType;
12139
12195
  static readonly blackWool: ItemType;
12196
+ static readonly bladePotteryShard: ItemType;
12140
12197
  /**
12141
12198
  * @remarks
12142
12199
  * Represents an item that can place a blast furnace within
@@ -12201,6 +12258,7 @@ export class MinecraftItemTypes {
12201
12258
  static readonly bowl: ItemType;
12202
12259
  static readonly brainCoral: ItemType;
12203
12260
  static readonly bread: ItemType;
12261
+ static readonly brewerPotteryShard: ItemType;
12204
12262
  /**
12205
12263
  * @remarks
12206
12264
  * Represents an item that can place a brewing stand within
@@ -12253,6 +12311,7 @@ export class MinecraftItemTypes {
12253
12311
  */
12254
12312
  static readonly brownMushroomBlock: ItemType;
12255
12313
  static readonly brownWool: ItemType;
12314
+ static readonly brush: ItemType;
12256
12315
  static readonly bubbleCoral: ItemType;
12257
12316
  static readonly bucket: ItemType;
12258
12317
  /**
@@ -12262,6 +12321,7 @@ export class MinecraftItemTypes {
12262
12321
  *
12263
12322
  */
12264
12323
  static readonly buddingAmethyst: ItemType;
12324
+ static readonly burnPotteryShard: ItemType;
12265
12325
  /**
12266
12326
  * @remarks
12267
12327
  * Represents an item that can place a cactus within Minecraft.
@@ -12281,6 +12341,8 @@ export class MinecraftItemTypes {
12281
12341
  *
12282
12342
  */
12283
12343
  static readonly calcite: ItemType;
12344
+ static readonly calibratedSculkSensor: ItemType;
12345
+ static readonly camelSpawnEgg: ItemType;
12284
12346
  /**
12285
12347
  * @remarks
12286
12348
  * Represents an item that can place a campfire within
@@ -12345,6 +12407,23 @@ export class MinecraftItemTypes {
12345
12407
  static readonly chainmailHelmet: ItemType;
12346
12408
  static readonly chainmailLeggings: ItemType;
12347
12409
  static readonly charcoal: ItemType;
12410
+ static readonly cherryBoat: ItemType;
12411
+ static readonly cherryButton: ItemType;
12412
+ static readonly cherryChestBoat: ItemType;
12413
+ static readonly cherryDoor: ItemType;
12414
+ static readonly cherryFence: ItemType;
12415
+ static readonly cherryFenceGate: ItemType;
12416
+ static readonly cherryHangingSign: ItemType;
12417
+ static readonly cherryLeaves: ItemType;
12418
+ static readonly cherryLog: ItemType;
12419
+ static readonly cherryPlanks: ItemType;
12420
+ static readonly cherryPressurePlate: ItemType;
12421
+ static readonly cherrySapling: ItemType;
12422
+ static readonly cherrySign: ItemType;
12423
+ static readonly cherrySlab: ItemType;
12424
+ static readonly cherryStairs: ItemType;
12425
+ static readonly cherryTrapdoor: ItemType;
12426
+ static readonly cherryWood: ItemType;
12348
12427
  /**
12349
12428
  * @remarks
12350
12429
  * Represents an item that can place a chest within Minecraft.
@@ -12355,6 +12434,7 @@ export class MinecraftItemTypes {
12355
12434
  static readonly chestMinecart: ItemType;
12356
12435
  static readonly chicken: ItemType;
12357
12436
  static readonly chickenSpawnEgg: ItemType;
12437
+ static readonly chiseledBookshelf: ItemType;
12358
12438
  /**
12359
12439
  * @remarks
12360
12440
  * Represents an item that can place a set of chiseled
@@ -12415,6 +12495,7 @@ export class MinecraftItemTypes {
12415
12495
  *
12416
12496
  */
12417
12497
  static readonly coalOre: ItemType;
12498
+ static readonly coastArmorTrimSmithingTemplate: ItemType;
12418
12499
  /**
12419
12500
  * @remarks
12420
12501
  * Represents an item that can place a block of cobbled
@@ -12614,6 +12695,7 @@ export class MinecraftItemTypes {
12614
12695
  *
12615
12696
  */
12616
12697
  static readonly crimsonFungus: ItemType;
12698
+ static readonly crimsonHangingSign: ItemType;
12617
12699
  /**
12618
12700
  * @remarks
12619
12701
  * Represents crimson hyphae within Minecraft.
@@ -12721,6 +12803,7 @@ export class MinecraftItemTypes {
12721
12803
  */
12722
12804
  static readonly cyanGlazedTerracotta: ItemType;
12723
12805
  static readonly cyanWool: ItemType;
12806
+ static readonly dangerPotteryShard: ItemType;
12724
12807
  static readonly darkOakBoat: ItemType;
12725
12808
  /**
12726
12809
  * @remarks
@@ -12745,6 +12828,7 @@ export class MinecraftItemTypes {
12745
12828
  *
12746
12829
  */
12747
12830
  static readonly darkOakFenceGate: ItemType;
12831
+ static readonly darkOakHangingSign: ItemType;
12748
12832
  static readonly darkOakLog: ItemType;
12749
12833
  /**
12750
12834
  * @remarks
@@ -12800,6 +12884,7 @@ export class MinecraftItemTypes {
12800
12884
  static readonly deadFireCoral: ItemType;
12801
12885
  static readonly deadHornCoral: ItemType;
12802
12886
  static readonly deadTubeCoral: ItemType;
12887
+ static readonly decoratedPot: ItemType;
12803
12888
  /**
12804
12889
  * @remarks
12805
12890
  * Represents an item that can place a block of deepslate
@@ -13027,6 +13112,7 @@ export class MinecraftItemTypes {
13027
13112
  */
13028
13113
  static readonly dropper: ItemType;
13029
13114
  static readonly drownedSpawnEgg: ItemType;
13115
+ static readonly duneArmorTrimSmithingTemplate: ItemType;
13030
13116
  static readonly dye: ItemType;
13031
13117
  static readonly echoShard: ItemType;
13032
13118
  static readonly egg: ItemType;
@@ -13107,6 +13193,7 @@ export class MinecraftItemTypes {
13107
13193
  static readonly endStone: ItemType;
13108
13194
  static readonly evokerSpawnEgg: ItemType;
13109
13195
  static readonly experienceBottle: ItemType;
13196
+ static readonly explorerPotteryShard: ItemType;
13110
13197
  /**
13111
13198
  * @remarks
13112
13199
  * Represents an item that can place a block of exposed copper
@@ -13135,6 +13222,7 @@ export class MinecraftItemTypes {
13135
13222
  *
13136
13223
  */
13137
13224
  static readonly exposedCutCopperStairs: ItemType;
13225
+ static readonly eyeArmorTrimSmithingTemplate: ItemType;
13138
13226
  /**
13139
13227
  * @remarks
13140
13228
  * Represents an item that can place a farmland block within
@@ -13195,6 +13283,7 @@ export class MinecraftItemTypes {
13195
13283
  *
13196
13284
  */
13197
13285
  static readonly frame: ItemType;
13286
+ static readonly friendPotteryShard: ItemType;
13198
13287
  static readonly frogSpawn: ItemType;
13199
13288
  static readonly frogSpawnEgg: ItemType;
13200
13289
  /**
@@ -13390,7 +13479,9 @@ export class MinecraftItemTypes {
13390
13479
  *
13391
13480
  */
13392
13481
  static readonly hayBlock: ItemType;
13482
+ static readonly heartbreakPotteryShard: ItemType;
13393
13483
  static readonly heartOfTheSea: ItemType;
13484
+ static readonly heartPotteryShard: ItemType;
13394
13485
  /**
13395
13486
  * @remarks
13396
13487
  * Represents an item that can place a heavy weighted pressure
@@ -13424,6 +13515,8 @@ export class MinecraftItemTypes {
13424
13515
  static readonly hopperMinecart: ItemType;
13425
13516
  static readonly hornCoral: ItemType;
13426
13517
  static readonly horseSpawnEgg: ItemType;
13518
+ static readonly hostArmorTrimSmithingTemplate: ItemType;
13519
+ static readonly howlPotteryShard: ItemType;
13427
13520
  static readonly huskSpawnEgg: ItemType;
13428
13521
  /**
13429
13522
  * @remarks
@@ -13523,6 +13616,7 @@ export class MinecraftItemTypes {
13523
13616
  *
13524
13617
  */
13525
13618
  static readonly jungleFenceGate: ItemType;
13619
+ static readonly jungleHangingSign: ItemType;
13526
13620
  static readonly jungleLog: ItemType;
13527
13621
  /**
13528
13622
  * @remarks
@@ -13761,6 +13855,7 @@ export class MinecraftItemTypes {
13761
13855
  static readonly mangroveDoor: ItemType;
13762
13856
  static readonly mangroveFence: ItemType;
13763
13857
  static readonly mangroveFenceGate: ItemType;
13858
+ static readonly mangroveHangingSign: ItemType;
13764
13859
  static readonly mangroveLeaves: ItemType;
13765
13860
  static readonly mangroveLog: ItemType;
13766
13861
  static readonly mangrovePlanks: ItemType;
@@ -13790,6 +13885,7 @@ export class MinecraftItemTypes {
13790
13885
  static readonly melonSlice: ItemType;
13791
13886
  static readonly milkBucket: ItemType;
13792
13887
  static readonly minecart: ItemType;
13888
+ static readonly minerPotteryShard: ItemType;
13793
13889
  /**
13794
13890
  * @remarks
13795
13891
  * Represents an item that can place a mob spawner within
@@ -13841,6 +13937,7 @@ export class MinecraftItemTypes {
13841
13937
  *
13842
13938
  */
13843
13939
  static readonly mossyStoneBrickStairs: ItemType;
13940
+ static readonly mournerPotteryShard: ItemType;
13844
13941
  static readonly mud: ItemType;
13845
13942
  static readonly mudBricks: ItemType;
13846
13943
  static readonly mudBrickSlab: ItemType;
@@ -13927,6 +14024,7 @@ export class MinecraftItemTypes {
13927
14024
  static readonly netheriteScrap: ItemType;
13928
14025
  static readonly netheriteShovel: ItemType;
13929
14026
  static readonly netheriteSword: ItemType;
14027
+ static readonly netheriteUpgradeSmithingTemplate: ItemType;
13930
14028
  /**
13931
14029
  * @remarks
13932
14030
  * Represents an item that can place a block of netherrack
@@ -13971,6 +14069,7 @@ export class MinecraftItemTypes {
13971
14069
  static readonly oakBoat: ItemType;
13972
14070
  static readonly oakChestBoat: ItemType;
13973
14071
  static readonly oakFence: ItemType;
14072
+ static readonly oakHangingSign: ItemType;
13974
14073
  static readonly oakLog: ItemType;
13975
14074
  static readonly oakSign: ItemType;
13976
14075
  /**
@@ -14077,6 +14176,7 @@ export class MinecraftItemTypes {
14077
14176
  *
14078
14177
  */
14079
14178
  static readonly pinkGlazedTerracotta: ItemType;
14179
+ static readonly pinkPetals: ItemType;
14080
14180
  static readonly pinkWool: ItemType;
14081
14181
  /**
14082
14182
  * @remarks
@@ -14093,6 +14193,7 @@ export class MinecraftItemTypes {
14093
14193
  *
14094
14194
  */
14095
14195
  static readonly planks: ItemType;
14196
+ static readonly plentyPotteryShard: ItemType;
14096
14197
  /**
14097
14198
  * @remarks
14098
14199
  * Represents podzol within Minecraft.
@@ -14261,6 +14362,7 @@ export class MinecraftItemTypes {
14261
14362
  *
14262
14363
  */
14263
14364
  static readonly prismarineStairs: ItemType;
14365
+ static readonly prizePotteryShard: ItemType;
14264
14366
  static readonly pufferfish: ItemType;
14265
14367
  static readonly pufferfishBucket: ItemType;
14266
14368
  static readonly pufferfishSpawnEgg: ItemType;
@@ -14345,6 +14447,7 @@ export class MinecraftItemTypes {
14345
14447
  *
14346
14448
  */
14347
14449
  static readonly rail: ItemType;
14450
+ static readonly raiserArmorTrimSmithingTemplate: ItemType;
14348
14451
  static readonly ravagerSpawnEgg: ItemType;
14349
14452
  static readonly rawCopper: ItemType;
14350
14453
  /**
@@ -14482,6 +14585,7 @@ export class MinecraftItemTypes {
14482
14585
  *
14483
14586
  */
14484
14587
  static readonly respawnAnchor: ItemType;
14588
+ static readonly ribArmorTrimSmithingTemplate: ItemType;
14485
14589
  static readonly rottenFlesh: ItemType;
14486
14590
  static readonly saddle: ItemType;
14487
14591
  static readonly salmon: ItemType;
@@ -14548,8 +14652,12 @@ export class MinecraftItemTypes {
14548
14652
  *
14549
14653
  */
14550
14654
  static readonly seaPickle: ItemType;
14655
+ static readonly sentryArmorTrimSmithingTemplate: ItemType;
14656
+ static readonly shaperArmorTrimSmithingTemplate: ItemType;
14657
+ static readonly sheafPotteryShard: ItemType;
14551
14658
  static readonly shears: ItemType;
14552
14659
  static readonly sheepSpawnEgg: ItemType;
14660
+ static readonly shelterPotteryShard: ItemType;
14553
14661
  static readonly shield: ItemType;
14554
14662
  /**
14555
14663
  * @remarks
@@ -14567,6 +14675,7 @@ export class MinecraftItemTypes {
14567
14675
  static readonly shulkerBox: ItemType;
14568
14676
  static readonly shulkerShell: ItemType;
14569
14677
  static readonly shulkerSpawnEgg: ItemType;
14678
+ static readonly silenceArmorTrimSmithingTemplate: ItemType;
14570
14679
  static readonly silverfishSpawnEgg: ItemType;
14571
14680
  /**
14572
14681
  * @remarks
@@ -14584,6 +14693,7 @@ export class MinecraftItemTypes {
14584
14693
  */
14585
14694
  static readonly skull: ItemType;
14586
14695
  static readonly skullBannerPattern: ItemType;
14696
+ static readonly skullPotteryShard: ItemType;
14587
14697
  /**
14588
14698
  * @remarks
14589
14699
  * Represents slime within Minecraft.
@@ -14656,6 +14766,8 @@ export class MinecraftItemTypes {
14656
14766
  static readonly smoothStone: ItemType;
14657
14767
  static readonly snifferEgg: ItemType;
14658
14768
  static readonly snifferSpawnEgg: ItemType;
14769
+ static readonly snortPotteryShard: ItemType;
14770
+ static readonly snoutArmorTrimSmithingTemplate: ItemType;
14659
14771
  /**
14660
14772
  * @remarks
14661
14773
  * Represents snow within Minecraft.
@@ -14708,6 +14820,7 @@ export class MinecraftItemTypes {
14708
14820
  static readonly spawnEgg: ItemType;
14709
14821
  static readonly spiderEye: ItemType;
14710
14822
  static readonly spiderSpawnEgg: ItemType;
14823
+ static readonly spireArmorTrimSmithingTemplate: ItemType;
14711
14824
  static readonly splashPotion: ItemType;
14712
14825
  /**
14713
14826
  * @remarks
@@ -14746,6 +14859,7 @@ export class MinecraftItemTypes {
14746
14859
  *
14747
14860
  */
14748
14861
  static readonly spruceFenceGate: ItemType;
14862
+ static readonly spruceHangingSign: ItemType;
14749
14863
  static readonly spruceLog: ItemType;
14750
14864
  /**
14751
14865
  * @remarks
@@ -14873,6 +14987,7 @@ export class MinecraftItemTypes {
14873
14987
  *
14874
14988
  */
14875
14989
  static readonly strippedAcaciaLog: ItemType;
14990
+ static readonly strippedBambooBlock: ItemType;
14876
14991
  /**
14877
14992
  * @remarks
14878
14993
  * Represents an item that can place a stripped birch log
@@ -14880,6 +14995,8 @@ export class MinecraftItemTypes {
14880
14995
  *
14881
14996
  */
14882
14997
  static readonly strippedBirchLog: ItemType;
14998
+ static readonly strippedCherryLog: ItemType;
14999
+ static readonly strippedCherryWood: ItemType;
14883
15000
  /**
14884
15001
  * @remarks
14885
15002
  * Represents stripped crimson hyphae within Minecraft.
@@ -14952,6 +15069,8 @@ export class MinecraftItemTypes {
14952
15069
  static readonly structureVoid: ItemType;
14953
15070
  static readonly sugar: ItemType;
14954
15071
  static readonly sugarCane: ItemType;
15072
+ static readonly suspiciousGravel: ItemType;
15073
+ static readonly suspiciousSand: ItemType;
14955
15074
  static readonly suspiciousStew: ItemType;
14956
15075
  static readonly sweetBerries: ItemType;
14957
15076
  static readonly tadpoleBucket: ItemType;
@@ -14968,6 +15087,7 @@ export class MinecraftItemTypes {
14968
15087
  *
14969
15088
  */
14970
15089
  static readonly target: ItemType;
15090
+ static readonly tideArmorTrimSmithingTemplate: ItemType;
14971
15091
  /**
14972
15092
  * @remarks
14973
15093
  * Represents tinted glass within Minecraft.
@@ -15049,6 +15169,7 @@ export class MinecraftItemTypes {
15049
15169
  */
15050
15170
  static readonly undyedShulkerBox: ItemType;
15051
15171
  static readonly verdantFroglight: ItemType;
15172
+ static readonly vexArmorTrimSmithingTemplate: ItemType;
15052
15173
  static readonly vexSpawnEgg: ItemType;
15053
15174
  static readonly villagerSpawnEgg: ItemType;
15054
15175
  static readonly vindicatorSpawnEgg: ItemType;
@@ -15060,6 +15181,7 @@ export class MinecraftItemTypes {
15060
15181
  */
15061
15182
  static readonly vine: ItemType;
15062
15183
  static readonly wanderingTraderSpawnEgg: ItemType;
15184
+ static readonly wardArmorTrimSmithingTemplate: ItemType;
15063
15185
  static readonly wardenSpawnEgg: ItemType;
15064
15186
  /**
15065
15187
  * @remarks
@@ -15096,6 +15218,7 @@ export class MinecraftItemTypes {
15096
15218
  */
15097
15219
  static readonly warpedFungus: ItemType;
15098
15220
  static readonly warpedFungusOnAStick: ItemType;
15221
+ static readonly warpedHangingSign: ItemType;
15099
15222
  /**
15100
15223
  * @remarks
15101
15224
  * Represents warped hyphae within Minecraft.
@@ -15284,6 +15407,7 @@ export class MinecraftItemTypes {
15284
15407
  *
15285
15408
  */
15286
15409
  static readonly waxedWeatheredCutCopperStairs: ItemType;
15410
+ static readonly wayfinderArmorTrimSmithingTemplate: ItemType;
15287
15411
  /**
15288
15412
  * @remarks
15289
15413
  * Represents an item that can place a block of weathered
@@ -15349,6 +15473,7 @@ export class MinecraftItemTypes {
15349
15473
  */
15350
15474
  static readonly whiteGlazedTerracotta: ItemType;
15351
15475
  static readonly whiteWool: ItemType;
15476
+ static readonly wildArmorTrimSmithingTemplate: ItemType;
15352
15477
  static readonly witchSpawnEgg: ItemType;
15353
15478
  /**
15354
15479
  * @remarks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@minecraft/server",
3
- "version": "1.2.0-beta.1.20.0-preview.20",
3
+ "version": "1.3.0-beta.1.20.0-preview.21",
4
4
  "description": "",
5
5
  "contributors": [
6
6
  {