Started by
MemerTeamerYT
on
Topic category: Help with MCreator software
In my mod, there is an enchantment for digging tools called "excavation." It breaks a 9x9 area when you mine a block. As it would be overpowered on it's own, I added the cooldown block to the procedure but when i test it and i use the enchanted tools, the cooldown effect appears over the item for the right amount of time, but it still allows me to use the enchant even during the cooldown rendering it useless. Am I missing something?
Oh, you poor, poor individual. I'm sure it was so annoying to manually break every block in the area. For the future, MCreator has a procedure preset that can do just that with some minor tweaks. It's called "Search for block in 6x6x6 box" and you can easily modify it to break those blocks instead.
Now, as for your problem, cooldowns don't apply to left-click. It's just how Minecraft works. If you want to add this cooldown functionality, then I would set this procedure to fire when the item is right-clicked instead, as cooldowns do affect that.
Alternatively, you can make the cooldown an entity NBT variable that's applied to the player using the tool, using the "On Player Tick Update" procedure trigger.
Indeed :D I felt kinda bad for the user and his time when I saw this huge procedure XD
thanks!
rmsandegs I have the same problem than MemerTeamerYT, but with a hoe. I whant to give a cooldown with the right-click, but instead of cooling the enchantment, it cools the tool and i can still use the enchantment efect.