RealMegaMinds / ActionInventoryMod

A fabric Minecraft mod that allows the creation of special inventories that can do certain things when items are clicked.
MIT License
17 stars 3 forks source link

Stacks don't work for specifying items #17

Closed ShockerAttack01 closed 1 month ago

ShockerAttack01 commented 1 month ago

Hello I have recently discovered this mod and I have been trying to use it by learning it from the example datapack and the wiki but I've hit a roadblock where I am unable to make a specific item open the menu currently I am trying to make an compass with the name menu colored blue open it. So far I have made it open with regular compass and custom compass but it seems like the stacks do nothing.

here is the code for the item opener: { "tags": [ "minecraft:compasses" ], "stacks": { "item": "minecraft:compass", "customName": {"text":"Menu","color":"blue"} }, "tagOption": "EXACT", "guiName": "example:furnace_gui", "type": "Item" }

It would be useful if the example datapack showed how to make item stacks work

ShockerAttack01 commented 1 month ago

Never mind I just found the solution I had an extra s in stack so it was stacks instead of stack it works now