Started by
ItzYaBoiMyth
on
Topic category: Help with MCreator software
Is there any way to add multiple items to the stack input limit of a gui slot?
Im making a storage container that is meant to hold different kinds of dust (gunpowder, redstone, etc.) and im trying to make it so that ONLY those items can go in the container.
https://cdn.discordapp.com/attachments/694682184782577685/8106802251759…
EDIT: Better yet, is there a way to make it so a tag can be the stack input limit? For example, i have a item tag set as Dust, which includes Redstone, Gunpowder, Glowstone, and my custom dust.
Edited by ItzYaBoiMyth on Mon, 02/15/2021 - 02:09
Still looking for a solution for this..
Hello,
I did a tutorial in French here:
https://www.youtube.com/watch?v=Fe3OAiD2vHw&ab_channel=CreaDoo89
Hey thanks, i dont know french myself, but you should consider making an english version :)
My english is horrible ;-)
oh lol
i was able to somewhat translate what you were doing, but im pretty sure i did it wrong as the gui gets a long error every time
thanks for tutorial :)
Another useful way of doing this is adding the items you want to a tag and just replace the limited item input to this piece of code:
"(ItemTags.getAllTags().getTagOrEmpty(new ResourceLocation("forge:tagname")).contains(stack.getItem()))"