Package net.citizensnpcs.util
Class Anchor
java.lang.Object
net.citizensnpcs.util.Anchor
A named 
Location.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleangetName()String[]Returns a String[] of the 'world_name, x, y, z' information needed to create the Location that is associated with the Anchor, in that order.inthashCode()booleanisLoaded()booleanload()Attempts to load the unloaded value of the storedLocation.toString()
- 
Constructor Details- 
Anchor
- 
Anchor
 
- 
- 
Method Details- 
equals
- 
getLocation
- 
getName
- 
getUnloadedValueReturns a String[] of the 'world_name, x, y, z' information needed to create the Location that is associated with the Anchor, in that order.- Returns:
- a String array of the anchor's location data
 
- 
hashCodepublic int hashCode()
- 
isLoadedpublic boolean isLoaded()
- 
loadpublic boolean load()Attempts to load the unloaded value of the storedLocation.- Returns:
- whether the unloaded value could be loaded
- See Also:
 
- 
stringValue- Returns:
- A string representation for use in saves.yml
 
- 
toString
 
-