Started by
KabiKabi
on
Topic category: Help with Minecraft modding (Java Edition)
I've made an armor that is supposed to break fast, and I do not want it to be able to have mending. I can't seem to figure it out. Help please?
Topic category: Help with Minecraft modding (Java Edition)
I've made an armor that is supposed to break fast, and I do not want it to be able to have mending. I can't seem to figure it out. Help please?
Perhaps set the enchantability to 0? Although this will make it impossible to enchant at all.
You could possibly have a procedure that is:
[if][does [provided itemstack] haven enchantment of type {mending}]
do: [remove specific enchantment from [provided itemstack] type {mending}]
I forgot the exact names of the procedure blocks, but something like that could work, then you would just have to set it to run on item in inventory tick, or on helmet/chestplate/leggings/boots equiped tick.
That should be a way to remove mending, although it could technically still be put on the equipment, it would just be removed whenever you go to use the equipment.
That worked. Thanks.