I imagine we are all pretty excited about the overhaul and technical changes being made to enchantments. In the latest snapshot, it is possible to create custom enchantments which give the user various buffs. I was curious to see if this would allow for enchantments which grant status effects, and much to my delight, it does. Unfortunately, there is no way to hide the visual effects or the status effect using this method. I think that within the "effect": object, there should be a field called "show_icon": and "show_particles": which each may specified as true or false. Example code show below:
"effects": {
"minecraft:tick": [
{
"effect": {
"type": "minecraft:apply_mob_effect",
"to_apply": "minecraft:haste",
"show_icon": false,
"show_particles": false,
"min_duration": 1,
"max_duration": 1,
"min_amplifier": 0,
"max_amplifier": 0
}
}
]
}
I think that since you are able to do this with commands, it is fair to assume you can do it with data packs as well. There are some work arounds of course, but it would be nice to specify these properties within the enchantment file without doing any additional work.
Please sign in to leave a comment.
1 Comments