belac136 Posted August 1, 2022 Share Posted August 1, 2022 So I was trying to figure out how to stop block breaking animations with certain blocks. I'm using skript-gui and I found a rather strange solution to this problem. on block damage: if event-block is spruce planks: create a gui with virtual chest inventory with 1 rows open the last gui for the player close player's inventory For some reason this works perfectly and I am yet to find any bugs or issues with this piece of code. It doesn't stop sprint or flash a gui or anything. Plus I haven't seen any other way to do this. So, you're welcome I guess... Link to comment Share on other sites More sharing options...
_Mr_Puppy_ Posted August 2, 2022 Share Posted August 2, 2022 can't you just do: on block damage: cancel event ? Link to comment Share on other sites More sharing options...
belac136 Posted August 29, 2022 Author Share Posted August 29, 2022 Sorry for really bad necro post, but for some reason, this doesn't reset the block breaking process, so it only resets it the one time, still allowing you to break blocks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now