• Hey! Register here to create your account, engage with the community, and talk about what is new!

How do I make it so that you can't move a specific item in your inventory

Swirrl

New member
Joined
Jun 23, 2021
Messages
8
Reaction score
5
So I've been stuck on this for a while an I know you can most likely do this easier with emperor rank, but I can't afford it, and I really need to know some other way to make sure you can't move a specific item in your inventory
1624925972527.png
Example above:
I want it to be so that you cannot move that item
but you can move any other item that you have, ex: Netherite Sword


I'm looking forward to seeing what answers you guys can help me with
Thank you
 
Solution
i dont see how emperor would make it easier
Code:
Player Event: Click Item in Own Inventory:
    If Var: Event Item Equals ( Game Value: Event Item, [insert item here] ) {
        Game Action: Cancel Event;
    }

stinkey

Forum adept
Joined
Sep 8, 2020
Messages
225
Reaction score
74
i dont see how emperor would make it easier
Code:
Player Event: Click Item in Own Inventory:
    If Var: Event Item Equals ( Game Value: Event Item, [insert item here] ) {
        Game Action: Cancel Event;
    }
 
Solution

lony

New member
Joined
Feb 18, 2021
Messages
11
Reaction score
0
event block: event block( if player click inventory slot event) ,then game block(cancel event)
 
Top Bottom