Started by
ThePiXeL
on
Topic category: Help with Minecraft modding (Java Edition)
I know how to make a chest already but I want to know how can I make a "locked" one that can be opened with a certain key. Let's say an "Iron key" that can open an "Iron lock" on a chest. Obviously with different tiers iron,gold,diamond for each specific lock.
Make the GUI open if item in mainhand = key.