RightClick Function On Custom Block

  • 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 community!

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

WHXY

Member
Jul 22, 2020
1
0
1
I wanna make a factory block but dont know how to make it work i have the rest of the code working but i cant get the function right
on rightclick on polished diorite:
if clicked block name is "&7Factory Tier 1":
open virtual chest inventory with size 3 named "&7Factory Tier 1"
info about the block:
lore: &7Place This Down!
name: &7Factory Tier 1
block: Polished Diorite
 
Im sure TuSKe uses right-click instead of right click, like SkQuery does, I suggest you switch to SkQuery as its a LOT easier in terms of memorizing commands and stuff
 
Status
Not open for further replies.