{
  "$id": "blockception.minecraft.behavior.items.minecraft:max_stack_size",
  "title": "Max Stack Size",
  "description": "The max stack size component determines how many of the item can be stacked together.",
  "default": 64,
  "examples": [1, { "value": 1 }],
  "oneOf": [
    {
      "type": "number",
      "minimum": 1,
      "maximum": 64
    },
    {
      "type": "object",
      "additionalProperties": false,
      "required": ["value"],
      "properties": {
        "value": {
          "title": "Value",
          "description": "How many of the item that can be stacked.",
          "type": "number",
          "default": 64,
          "minimum": 1,
          "maximum": 64
        }
      }
    }
  ]
}
