How to do all players

Started by KingOfTheVolt on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to do all players

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.

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The problem with a command…
Sat, 02/24/2024 - 19:47

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.