How to do all players

Started by KingOfTheVolt on

Topic category: Help with Minecraft modding (Java Edition)

Active 8 months ago
Joined Dec 2022
Points:
394

User statistics:

  • Modifications: 2
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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.

Active 1 year ago
Joined Nov 2023
Points:
201

User statistics:

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

Just run a command instead

Active 8 months ago
Joined Dec 2022
Points:
394

User statistics:

  • Modifications: 2
  • Forum topics: 4
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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.