How do I make locked chests that can be opened with a Key?

Started by ThePiXeL on

Topic category: Help with modding (Java Edition)

Last seen on 08:16, 30. Apr 2022
Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make locked chests that can be opened with a Key?

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. 

Last seen on 14:43, 2. Aug 2022
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make the GUI open if item in…
Sat, 09/19/2020 - 12:57

Make the GUI open if item in mainhand = key.