i cant make a chest block

Started by kubakuba007 on

Topic category: Help with MCreator software

Last seen on 06:00, 15. Feb 2020
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i cant make a chest block

i cant make an openable chest. well, i can, but i cant find a way to include spaces that you can put items to. i cant find the button that is used to insert that space, even though i have made a block with an inventory. does anyone know what i may be doing wrong?

Last seen on 00:30, 24. Aug 2023
Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When you make the block…
Wed, 11/06/2019 - 21:21

When you make the block itself, be sure to give it slots (on the second-to-last page, I believe). MCreator calls this a tile entity.

Next, you need to make a GUI for the block to show you when you right-click it. By default, MCreator will make an inventory that other blocks such as Hoppers can interact with, but not a GUI for the player to see. Unfortunately, you'll have to make every slot in the GUI yourself. Just make sure they're all input slots.

Finally, you need to make a procedure that will open the GUI using the Open GUI for the provided (entity)player procedure. You can make this trigger whenever you'd like, but you'll probably want to make it trigger when you right-click the block (so, edit the block in MCreator. On the 5th page is where you define when to show the player the GUI).

You can also use the procedure to play any sounds you want to play for when the player opens the container.

Last seen on 06:00, 15. Feb 2020
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
problem solved. when you…
Thu, 11/07/2019 - 14:05

problem solved. when you have the mcreator window too small, you cant see the add imput slot button XD. i think this should be fixed to prevent stuff like this happening to someone else.

Last seen on 06:00, 15. Feb 2020
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
when i tested the gui, the…
Thu, 11/07/2019 - 14:22

when i tested the gui, the game crashed. what to do now?