Add multiple "limit stack input to"

Started by Usko on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add multiple "limit stack input to"

I want to make it so my fuel slot in my custom furnace GUI only takes fuel items like lava, coal, wood, etc..

The reason being that I don't want the player to put non-fuel items in the slot, and so that the players can also just shift-click on an item without it being put in the fuel slot

Yes, there are multiple posts asking for this, but none of them have a single answer that I'm looking for.

I have this big tag set up listing every single fuel source in the game, and I also want to know if it is possible to add a tag to "limit stack input to" to the GUI slot.
I'd happily edit the code, but sadly I don't know what to put in it. What I wouldn't wanna do is when I put the item in the slot, that it gets teleported back into the player's inventory because that would look weird.