Jump to content

Anyone else having this issue?


Graphick2
 Share

Recommended Posts

While I was working on a custom item I was using if click type is right mouse button however it seems to be returning an error anytime I try it. I just wanted to know if this was just an issue with my server or if anyone else is having this issue.

Example Code

 

command /testytest:
    trigger:
        open virtual chest inventory with size 1 named "" to player
        wait 2 tick
        format gui slot 1 of player with diamond named "Left Click" to run:
            if click type is left mouse button:
                send "Left Clicked"
                close player's inventory
        format gui slot 3 of player with emerald named "Right Click" to run:
            if click type is right mouse button:
                send "Right Clicked"
                close player's inventory
        format gui slot 5 of player with iron ingot named "Middle Click" to run:
            if click type is middle mouse button:
                send "Middle Clicked"
                close player's inventory

 

Edited by Graphick2
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...