-
Notifications
You must be signed in to change notification settings - Fork 0
examples
4tubborn edited this page Jul 21, 2026
·
4 revisions
Some built-in features are powered by API. Check them out in the data/block-morph-demo folder in the datapack branch.
Let player say "Hello, world!" while morphed.
{
"criteria": {
"0": {
"trigger": "tick",
"conditions": {
"player": [
{
"condition": "reference",
"name": "block-morph:is_in_morph"
}
]
}
}
},
"rewards": {
"function": "example:tick"
}
}advancement revoke @s only example:tick
say Hello, world!