import type { Registry } from 'sandstone/arguments/generated/registry.ts' import type { SlottedItem } from 'sandstone/arguments/generated/util/slot.ts' import type { BlockEntity, Lockable, Nameable } from 'sandstone/arguments/generated/world/block.ts' import type { LootTableClass, NBTByte, NBTInt, NBTList, NBTLong } from 'sandstone' export type Container27 = (ContainerBase & { /** * Slots from 0 to 26. * * Value: * List length range: 0..27 */ Items?: NBTList>, { leftExclusive: false, rightExclusive: false, min: 0, max: 27, }>, }) export type Container9 = (ContainerBase & { /** * Slots from 0 to 8. * * Value: * List length range: 0..9 */ Items?: NBTList>, { leftExclusive: false, rightExclusive: false, min: 0, max: 9, }>, }) export type ContainerBase = (BlockEntity & Nameable & Lockable & { /** * Loot table that will populate this container. */ LootTable?: (Registry['minecraft:loot_table'] | '' | LootTableClass), /** * Seed of the loot table. */ LootTableSeed?: NBTLong, }) export type Hopper = (ContainerBase & { /** * Slots from 0 to 4. * * Value: * List length range: 0..5 */ Items?: NBTList>, { leftExclusive: false, rightExclusive: false, min: 0, max: 5, }>, /** * Ticks until an item can be transferred. */ TransferCooldown?: NBTInt, }) export type Shelf = (ContainerBase & { /** * Slots from 0 to 2. * * Value: * List length range: 0..3 */ Items?: NBTList>, { leftExclusive: false, rightExclusive: false, min: 0, max: 3, }>, /** * Defaults to `false`. */ align_items_to_bottom?: boolean, })