Can someone please tell me how I make a system where when the player drags 1 item to a specific slot, another item appears.
EX: I dragged 1 stone to the slot, then another item appears on the side
Version 1.8.8
command /menuferreiro2:
trigger:
open chest with 6 row named "&7Afiados" to player
format slot 12 of player with red stained glass pane named "&r" to run "d"
format slot 13 of player with red stained glass pane named "&r" to run "d"
format slot 14 of player with red stained glass pane named "&r" to run "d"
format slot 21 of player with red stained glass pane named "&r" to run "d"
format slot 23 of player with green stained glass pane named "&eClique aqui para mostrar os atributos compátiveis com sua ferramenta" to run "d"
format slot 30 of player with red stained glass pane named "&r" to run "d"
format slot 31 of player with red stained glass pane named "&r" to run "d"
format slot 32 of player with red stained glass pane named "&r" to run "d"
on inventory click:
if inventory name of player's current inventory is "&7Afiados":
clicked slot is 22:
if item is any sword named "":
format slot 1 of player with chest named "Afiação" to run ""
format slot 23 of player with green stained glass pane named "" to run ""
EX: I dragged 1 stone to the slot, then another item appears on the side
Version 1.8.8
command /menuferreiro2:
trigger:
open chest with 6 row named "&7Afiados" to player
format slot 12 of player with red stained glass pane named "&r" to run "d"
format slot 13 of player with red stained glass pane named "&r" to run "d"
format slot 14 of player with red stained glass pane named "&r" to run "d"
format slot 21 of player with red stained glass pane named "&r" to run "d"
format slot 23 of player with green stained glass pane named "&eClique aqui para mostrar os atributos compátiveis com sua ferramenta" to run "d"
format slot 30 of player with red stained glass pane named "&r" to run "d"
format slot 31 of player with red stained glass pane named "&r" to run "d"
format slot 32 of player with red stained glass pane named "&r" to run "d"
on inventory click:
if inventory name of player's current inventory is "&7Afiados":
clicked slot is 22:
if item is any sword named "":
format slot 1 of player with chest named "Afiação" to run ""
format slot 23 of player with green stained glass pane named "" to run ""
Last edited: