Block_DispenserAndDropper: {
    type: "compound";
    value: {
        Items: {
            type: "list";
            value: {
                type: "compound";
                value: { Slot: { type: "byte"; value: number } }[];
            };
        };
        LootTable?: { type: "string"; value: string };
        LootTableSeed?: { type: "int"; value: number };
    };
}

Additional fields for dispenser and dropper.

Type declaration

  • type: "compound"
  • value: {
        Items: {
            type: "list";
            value: {
                type: "compound";
                value: { Slot: { type: "byte"; value: number } }[];
            };
        };
        LootTable?: { type: "string"; value: string };
        LootTableSeed?: { type: "int"; value: number };
    }
    • Items: {
          type: "list";
          value: {
              type: "compound";
              value: { Slot: { type: "byte"; value: number } }[];
          };
      }

      List of items in this container.

    • OptionalLootTable?: { type: "string"; value: string }

      (May not exist) Loot table to be used to fill the chest when it is next opened, or the items are otherwise interacted with.

    • OptionalLootTableSeed?: { type: "int"; value: number }

      (May not exist) Seed for generating the loot table. 0 or omitted use a random seed.