Jump to content

Recommended Posts

Posted

Hello, I would like help to add a slot to my custom crafting machine, I searched for more than 3 hours without stopping but I didn't find anything. When I add a slot to the tile entity and the container, I crash, apparently there is a need to increase the size of the container but I can't. Thank you in advance for your help.

main.zip

Posted
6 minutes ago, Nosios said:

main.zip

Dont post your code as a download, use the built in code format(<>), or an online code site(github, bit bucket, etc.).

9 minutes ago, Nosios said:

When I add a slot to the tile entity and the container, I crash, apparently there is a need to increase the size of the container but I can't. Thank you in advance for your help.

There is a method in the Container class called addSlot use that.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.