Class SquaremapOnlineResident
java.lang.Object
io.github.emcw.common.Entity
io.github.emcw.squaremap.entities.SquaremapOnlinePlayer
io.github.emcw.squaremap.entities.SquaremapOnlineResident
- All Implemented Interfaces:
 IGsonSerializable,ILocatable<SquaremapOnlinePlayer>
- 
Field Summary
Fields inherited from interface io.github.emcw.interfaces.ILocatable
INT_ARRAY_X, INT_ARRAY_Z - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether this resident has more permissions than a regular resident.booleanbooleanisMayor()booleanMethods inherited from class io.github.emcw.squaremap.entities.SquaremapOnlinePlayer
facingDirection, hasCustomName, isInOverworldMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.emcw.interfaces.IGsonSerializable
asStringMethods inherited from interface io.github.emcw.interfaces.ILocatable
getNearbyEntities, getNearbyEntities 
- 
Constructor Details
- 
SquaremapOnlineResident
 
 - 
 - 
Method Details
- 
isMayor
public boolean isMayor() - 
isNationLeader
public boolean isNationLeader() - 
isCouncillor
public boolean isCouncillor() - 
hasAuthority
public boolean hasAuthority()Checks whether this resident has more permissions than a regular resident.
- Returns:
 - true if 
rankis aMayor,Nation LeaderorCouncillor- false otherwise. 
 
 -