- Some misc tweaks (#301)

* - Remove molang examples
* - Update has damage because apparently not every value is accepted
* - Add materials enum and adjust entity/attachable accordingly
* - Update damage source list
* - Change to example

---------

Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
This commit is contained in:
Xterionix
2024-08-17 14:04:11 +05:00
committed by GitHub
parent 61ee5f0a2b
commit a84820d612
9 changed files with 324 additions and 63 deletions

View File

@@ -9,6 +9,35 @@
"test": { "type": "string", "title": "Test Property", "description": "Returns true when the subject entity receives the named damage type." },
"operator": { "$ref": "./types/operator.json" },
"subject": { "$ref": "./types/subject.json" },
"value": { "type": "string", "description": "The Damage type to test.", "$ref": "../../../../general/entity/damage_source.json", "title": "Value" }
"value": { "type": "string", "description": "The Damage type to test.", "title": "Value", "enum": [
"anvil",
"attack",
"block_explosion",
"contact",
"drowning",
"entity_explosion",
"fall",
"falling_block",
"fatal",
"fire",
"fire_tick",
"fly_into_wall",
"lava",
"magic",
"none",
"override",
"piston",
"projectile",
"self_destruct",
"sonic_boom",
"stalactite",
"stalagmite",
"starve",
"suffocation",
"thorns",
"void",
"wither"
]
}
}
}
}