Uses of Class
me.fami6xx.rpuniverse.core.jobs.Position
Packages that use Position
Package
Description
-
Uses of Position in me.fami6xx.rpuniverse.core.jobs
Methods in me.fami6xx.rpuniverse.core.jobs that return PositionModifier and TypeMethodDescriptionstatic PositionPosition.fromString(String s)Constructs a Position object from a string representation.Job.getPlayerPosition(UUID playerUUID)Retrieves the position of a player identified by their UUID.Job.getPositionByName(String name)Retrieves a Position object from the jobPositions list based on the provided position name.Methods in me.fami6xx.rpuniverse.core.jobs that return types with arguments of type PositionModifier and TypeMethodDescriptionJob.getAllPositionsPlayerCanAssign(UUID playerUUID)Returns a list of all positions that a player can assign to.Job.getPositions()Retrieves the list of positions associated with the job.Methods in me.fami6xx.rpuniverse.core.jobs with parameters of type PositionModifier and TypeMethodDescriptionvoidJob.addPlayerToJob(UUID playerUUID, Position position)Adds a player to a job by associating their UUID with a position.voidJob.addPosition(Position position)Adds a position to the jobPositions list.voidJob.changePlayerPosition(UUID playerUUID, Position newPosition)Changes the position of a player by updating the player's UUID and the new position in the playerPositions map.voidJob.editPosition(String positionName, Position updatedPosition)Edits the details of a position in the job.Method parameters in me.fami6xx.rpuniverse.core.jobs with type arguments of type PositionModifier and TypeMethodDescriptionbooleanJob.checkPositions(List<Position> positions)Checks if a list of positions contains at least one default position and at least one boss position.Constructor parameters in me.fami6xx.rpuniverse.core.jobs with type arguments of type PositionModifierConstructorDescriptionJob(String jobName, int jobBank, org.bukkit.Location bossMenuLocation, List<Position> jobPositions)Creates a new AJob instance with the given parameters.Job(String jobName, int jobBank, org.bukkit.Location bossMenuLocation, List<Position> jobPositions, Map<UUID,Position> playerPositions)Creates a new AJob instance with the given parameters.Job(String jobName, int jobBank, org.bukkit.Location bossMenuLocation, List<Position> jobPositions, Map<UUID,Position> playerPositions)Creates a new AJob instance with the given parameters.