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 ModPlayerGameplayManager.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 voidGameplayManager.addPlayerToTeam(ModPlayer player, Team newTeam) Adds a player to a specified team, handling their removal from any previous team.static voidGameplayManager.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 TypeMethodDescriptionvoidAdds a player to the team if there's available space.voidTeam.removePlayer(ModPlayer player) Removes a player from the team.static voidSpawn.spawnPlayerAt(ModPlayer modPlayer, double x, double y, double z) Spawns a player at the given location, clears inventory, and gives class items.