Started by
Game_Log
on
Topic category: Help with Minecraft modding (Java Edition)
Essentially I have an idea where I eat an item in my mod, and upon doing so it gives me a potion effect called Vigor. This Vigor effect should then allow me to break bedrock when using a pickaxe (with varying speeds depending on the type). As soon as the effect expires, I want to revert back to not breaking bedrock, including if I am currently breaking a block.
Is such an effect possible? If so, how would I go about implementing that?
It's pretty easy (Ignore potionbang, its just a random potion effect name
https://imgur.com/HCDRu7S