{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/TeamLapen/Vampirism/refs/heads/dev/schemas/item_blood.schema.json", "title": "Vampirism Item Blood data map", "description": "NeoForge data map `vampirism:item_blood` (de.teamlapen.vampirism.common.datamaps.ItemBlood). File location: data//data_maps/item/item_blood.json. Sets how much impure blood (mB) the Blood Grinder produces from an item; 0 = not grindable.", "type": "object", "additionalProperties": false, "required": ["values"], "properties": { "replace": { "type": "boolean", "default": false, "description": "If true, clears all previously loaded entries before applying `values`." }, "values": { "type": "object", "description": "Maps an item id (or a `#item_tag`) to a blood entry.", "propertyNames": { "$ref": "#/$defs/idOrTag" }, "additionalProperties": { "$ref": "#/$defs/entry" } }, "remove": { "type": "array", "description": "Item ids (or `#item_tags`) to remove from the merged map.", "items": { "$ref": "#/$defs/idOrTag" } } }, "$defs": { "idOrTag": { "type": "string", "description": "A namespaced id, or a tag reference prefixed with `#`.", "pattern": "^#?([a-z0-9_.-]+:)?[a-z0-9_./-]+$" }, "entry": { "description": "mB of impure blood produced per item. Bare integer or an object.", "oneOf": [ { "type": "integer", "minimum": 0 }, { "type": "object", "additionalProperties": false, "required": ["blood"], "properties": { "blood": { "type": "integer", "minimum": 0, "description": "mB of impure blood produced per item. 0 = not grindable." }, "neoforge:conditions": { "type": "array", "description": "Load conditions for this entry." } } } ] } } }