Package com.booksaw.betterTeams.team
Class ChestClaimComponent
java.lang.Object
com.booksaw.betterTeams.team.SetTeamComponent<org.bukkit.Location>
com.booksaw.betterTeams.team.LocationSetComponent
com.booksaw.betterTeams.team.ChestClaimComponent
- All Implemented Interfaces:
TeamComponent<Set<org.bukkit.Location>>
-
Field Summary
Fields inherited from class com.booksaw.betterTeams.team.SetTeamComponent
set -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidUsed to add a component to this component listvoidclear()Clears all values from the list.voidload(TeamStorage section) Load the value stored in the config into this componentvoidUsed to remove a component from this component listvoidsave(TeamStorage storage) Store the loaded value to the configuration sectionMethods inherited from class com.booksaw.betterTeams.team.LocationSetComponent
contains, fromString, getLocation, getString, normalise, toStringMethods inherited from class com.booksaw.betterTeams.team.SetTeamComponent
get, getClone, getConvertedList, isEmpty, load, set, size
-
Constructor Details
-
ChestClaimComponent
public ChestClaimComponent()
-
-
Method Details
-
getSectionHeading
- Specified by:
getSectionHeadingin classSetTeamComponent<org.bukkit.Location>- Returns:
- The reference within the team storage where the data is stored
-
load
Description copied from interface:TeamComponentLoad the value stored in the config into this component- Parameters:
section- The configuration section where all the team data is stored
-
save
Description copied from interface:TeamComponentStore the loaded value to the configuration section- Parameters:
storage- The storage class where all team storage takes place
-
add
Description copied from class:SetTeamComponentUsed to add a component to this component list- Overrides:
addin classSetTeamComponent<org.bukkit.Location>- Parameters:
team- the player's teamcomponent- The component to add
-
remove
Description copied from class:SetTeamComponentUsed to remove a component from this component list- Overrides:
removein classLocationSetComponent- Parameters:
team- The playe's teamcomponent- The component to remove
-
clear
public void clear()Description copied from class:SetTeamComponentClears all values from the list.- Overrides:
clearin classSetTeamComponent<org.bukkit.Location>
-