How to use the same GUI as a real chest for a custom chest

Started by AlexRandall on

Topic category: Advanced modding

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to use the same GUI as a real chest for a custom chest

Hi I have been trying to create a chest that is hidden by a wood plank texture and have got the block created but when I try and make the GUI slots you have to move in one by one. Is it possible to use the same GUI as the real chest has from Minecraft? If so how could I do this without having to move a slot one by one making it very difficult.

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That isn't possible because…
Tue, 02/12/2019 - 13:40

That isn't possible because you'd need to make another class for the chest inventory function which MCreator doesn't allow you to do.

Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can manually edit the…
Tue, 02/19/2019 - 20:50

You can manually edit the code to make it extend the block chest and override any functions that need to be.

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, true as well, didn't…
Tue, 02/19/2019 - 23:59

Well, true as well, didn't think of it :(

My bad.