How would I make a safe? (With a Key!)

Started by LogguhNogguh on

Topic category: Help with modding (Java Edition)

Last seen on 16:00, 24. Jul 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How would I make a safe? (With a Key!)

It doesn't matter the recipe, I can do that stuff. I just need to know how to make a safe, and a key that is somehow bound to the players name? If not then how would I create a code?

 Thanks in advance!

Last seen on 19:28, 16. Aug 2023
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could probably create a…
Wed, 07/20/2022 - 09:53

You could probably create a something like a chest block and is only accessed when you right click it with the key item 

As for the key- I'm not sure if soulbound kinda items are possible yet but when you click a fresh safe with a fresh key it could open a gui where you input your fresh key and assign a tag on it after that you receive the key and you can unlock it only with that key