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

Started by AlexRandall on Wed, 01/09/2019 - 11:32

Topic category: Advanced modding

Last seen on 15:39, 3. May 2020
Joined Jan 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to use the same GUI as a real chest for a custom chest
Wed, 01/09/2019 - 11:32

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.

Last seen on 16:57, 25. Oct 2020
Joined Feb 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 16:57, 25. Oct 2020
Joined Feb 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
**Yet**
Tue, 02/12/2019 - 13:40

**Yet**

Last seen on 20:35, 28. Aug 2019
Joined Jul 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.

Last seen on 16:57, 25. Oct 2020
Joined Feb 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.