@@ -60,7 +60,7 @@ export interface BlastFurnaceRecipesUsed {
60
60
export interface BrewingStand extends BlockEntityLike < BlockEntityResource . brewing_stand > , CustomNameableLike {
61
61
BrewTime : ShortTag ;
62
62
Fuel : ByteTag < BrewingStandFuelLevel > ;
63
- Items : Item [ ] ; // 0-4, with slot tag
63
+ Items : [ Item ? , Item ? , Item ? , Item ? , Item ? ] ; // 0-4, with slot tag
64
64
Lock ?: StringTag ;
65
65
}
66
66
@@ -79,7 +79,7 @@ export interface Campfire extends BlockEntityLike<BlockEntityResource.campfire>,
79
79
export interface Chest extends BlockEntityLike < BlockEntityResource . chest > , CustomNameableLike , LootTableLike , ChestLike { }
80
80
81
81
export interface ChiseledBookshelf extends BlockEntityLike < BlockEntityResource . chiseled_bookshelf > {
82
- Items : Item [ ] ; // 0-5, with slot tag
82
+ Items : [ Item ? , Item ? , Item ? , Item ? , Item ? , Item ? ] ; // 0-5, with slot tag
83
83
last_interacted_slot : IntTag < ChiseledBookshelfLastInteractedSlot > ;
84
84
}
85
85
@@ -130,7 +130,7 @@ export interface FurnaceRecipesUsed {
130
130
export interface HangingSign extends BlockEntityLike < BlockEntityResource . hanging_sign > , SignLike { }
131
131
132
132
export interface Hopper extends BlockEntityLike < BlockEntityResource . hopper > , CustomNameableLike , LootTableLike {
133
- Items : Item [ ] ; // 0-4, with slot tag
133
+ Items : [ Item ? , Item ? , Item ? , Item ? , Item ? ] ; // 0-4, with slot tag
134
134
Lock ?: StringTag ;
135
135
TransferCooldown : IntTag < HopperTransferCooldown > ;
136
136
}
@@ -323,8 +323,7 @@ export interface CampfireLike {
323
323
// `IntArrayTag<[number, number, number, number]>`
324
324
CookingTimes : IntArrayTag ;
325
325
CookingTotalTimes : IntArrayTag ;
326
- // Should be `[Item,Item,Item,Item]`, but I want the values to be optional. They're not always present there!
327
- Items : Item [ ] ; // 0-3, with slot tag
326
+ Items : [ Item ?, Item ?, Item ?, Item ?] ; // 0-3, with slot tag
328
327
}
329
328
330
329
export interface ChestLike {
@@ -345,8 +344,7 @@ export interface FurnaceLike {
345
344
BurnTime : ShortTag ;
346
345
CookTime : ShortTag ;
347
346
CookTimeTotal : ShortTag ;
348
- // `[Item,Item,Item]`
349
- Items : Item [ ] ; // 0-2, with slot tag
347
+ Items : [ Item ?, Item ?, Item ?] ; // 0-2, with slot tag
350
348
Lock ?: StringTag ;
351
349
}
352
350
0 commit comments