How to do all players

Started by KingOfTheVolt on

Topic category: Help with modding (Java Edition)

Last seen on 00:13, 25. Aug 2024
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.

Last seen on 18:04, 23. Apr 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just run a command instead
Sat, 02/03/2024 - 15:10

Just run a command instead

Last seen on 00:13, 25. Aug 2024
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.