Uses of Class
at.setup_studios.mc_milsim.gameplay.player.ModPlayer
Packages that use ModPlayer
-
Uses of ModPlayer in at.setup_studios.mc_milsim.gameplay
Methods in at.setup_studios.mc_milsim.gameplay that return ModPlayerModifier and TypeMethodDescriptionstatic ModPlayer
GameplayManager.getPlayerObject
(net.minecraft.server.level.ServerPlayer player) Retrieves the ModPlayers object associated with a ServerPlayer.Methods in at.setup_studios.mc_milsim.gameplay with parameters of type ModPlayerModifier and TypeMethodDescriptionstatic void
GameplayManager.addPlayerToTeam
(ModPlayer player, Team newTeam) Adds a player to a specified team, handling their removal from any previous team.static void
GameplayManager.removePlayerFromTeam
(ModPlayer player) Removes a player from their current team. -
Uses of ModPlayer in at.setup_studios.mc_milsim.gameplay.player
Methods in at.setup_studios.mc_milsim.gameplay.player that return types with arguments of type ModPlayerMethods in at.setup_studios.mc_milsim.gameplay.player with parameters of type ModPlayerModifier and TypeMethodDescriptionvoid
Adds a player to the team if there's available space.void
Team.removePlayer
(ModPlayer player) Removes a player from the team.static void
Spawn.spawnPlayerAt
(ModPlayer modPlayer, double x, double y, double z) Spawns a player at the given location, clears inventory, and gives class items.