- 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

@@ -3,42 +3,41 @@
"description": "The types of damage an entity can receive.",
"type": "string",
"enum": [
"all",
"anvil",
"block_explosion",
"campfire",
"charging",
"contact",
"drowning",
"entity_attack",
"entity_explosion",
"fall",
"falling_block",
"fatal",
"fire",
"fire_tick",
"fireworks",
"fly_into_wall",
"freezing",
"lava",
"lightning",
"magic",
"magma",
"none",
"override",
"piston",
"projectile",
"ram_attack",
"sonic_boom",
"soul_campfire",
"stalactite",
"stalagmite",
"starve",
"suffocation",
"suicide",
"temperature",
"thorns",
"void",
"all",
"anvil",
"block_explosion",
"campfire",
"charging",
"contact",
"drowning",
"entity_attack",
"entity_explosion",
"fall",
"falling_block",
"fire",
"fire_tick",
"fireworks",
"fly_into_wall",
"freezing",
"lava",
"lightning",
"magic",
"magma",
"none",
"override",
"piston",
"projectile",
"ram_attack",
"self_destruct",
"sonic_boom",
"soul_campfire",
"stalactite",
"stalagmite",
"starve",
"suffocation",
"temperature",
"thorns",
"void",
"wither"
]
}