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

Started by AlexRandall on

Topic category: Advanced modding

Active 1 year ago
Joined Jan 2019
Points:
699

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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.

Active 6 days ago
Joined Feb 2016
Points:
910

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 261
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.

Active 6 days ago
Joined Feb 2016
Points:
910

User statistics:

  • Modifications: 2
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 261
**Yet**
Tue, 02/12/2019 - 13:40

**Yet**

Active 3 years ago
Joined Jul 2018
Points:
698

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 6
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.

Active 6 days ago
Joined Feb 2016
Points:
910

User statistics:

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

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

My bad.