block event to put renamed item inside grindstone

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

comonier

New Member
Jun 24, 2019
8
0
0
45
```
on rightclick holding diamond axe:
if name of tool of player is "&cred_colored" or "&ablue_color" or "&aiamgreener":
if targeted block is log or plank:
cancel event
send "&cyou cant do that"
stop
```
Hi everyone, I found this script on google to prevent a player from using an edited diamond axe to shell out a tree log or planks, because if he did, there would be a bug that would dupe that axe. (So that script works very well!)
I'd like to know if anyone could and would do a free script similarly to prevent someone from putting a renamed enchanted_book (just like that axe on the example) into a grindstone (new minecraft container to remove book enchants). It is possible but I do not know the code in skript for this. Would someone help me please?
 
Last edited: