Jump to content

DaMuffin

Members
  • Posts

    1
  • Joined

  • Last visited

DaMuffin's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I am new to creating a forge mod and was curious on how I could create a custom command that simply gets the position of every player in the server. I have already created the block of code necessary to do that, I just don't know how to create a command in the forge mod. Player p = (Player) sender; List<Location> locations = Bukkit.getOnlinePlayers().stream().map(Entity::getLocation).collect(Collectors.toList()); p.chat(locations.toString());
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.