Skip to content

Stack JSON Syntax

Richard Freimer edited this page Jul 10, 2020 · 4 revisions

Item Stack

count is an optional key for specifying the size of the stack, defaults to one, must be at least one.

nbt is an optional key for specifying any NBT the Item Stack has.

{
  "item": REGISTRY_NAME,
  "count": int,
  "nbt": string
}

Fluid Stack

nbt is an optional key for specifying any NBT the Fluid Stack has.

{
  "fluid": REGISTRY_NAME,
  "amount": int,
  "nbt": string
}

Gas Stack

{
  "gas": REGISTRY_NAME,
  "amount": long
}

Infusion Stack

{
  "infuse_type": REGISTRY_NAME,
  "amount": long
}

Slurry Stack

{
  "slurry": REGISTRY_NAME,
  "amount": long
}

Pigment Stack

Currently Pigment's are not added by anything in Mekanism, but we mention them here anyways.

{
  "pigment": REGISTRY_NAME,
  "amount": long
}
Clone this wiki locally