Started by
KingOfTheVolt
on
Topic category: Help with Minecraft modding (Java Edition)
So I am making part of my mod give an item to all players when a button is pressed. I already have the thing that knows what item to give, but I don't really know how to change it from "Event/target entity" into "all players". I am pretty new to modding and I'm not familiar with all of the features yet.
Just run a command instead
The problem with a command is that the item is gotten from an insert slot. The goal of the button is to give @a whatever item is placed into that slot. I don't exactly know how a command would be able to grab that data from the menu.