{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/TeamLapen/Vampirism/refs/heads/dev/schemas/entity_blood.schema.json", "title": "Vampirism Entity Blood data map", "description": "NeoForge data map `vampirism:entity_blood` (de.teamlapen.vampirism.common.datamaps.EntityBloodEntry). File location: data//data_maps/entity_type/entity_blood.json. Sets how much blood a creature holds when bitten and whether it can be converted; 0 = not biteable.", "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 entity type id (or a `#entity_type_tag`) to a blood entry.", "propertyNames": { "$ref": "#/$defs/idOrTag" }, "additionalProperties": { "$ref": "#/$defs/entry" } }, "remove": { "type": "array", "description": "Entity type ids (or `#entity_type_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": { "type": "object", "additionalProperties": false, "required": ["blood"], "properties": { "blood": { "type": "integer", "minimum": 0, "description": "Blood units the creature holds. 0 = not biteable / not convertible." }, "neoforge:conditions": { "type": "array", "description": "Load conditions for this entry." } } } } }