Class RegionImpl
java.lang.Object
sawfowl.regionguard.implementsapi.data.RegionImpl
- All Implemented Interfaces:
org.spongepowered.api.data.persistence.DataSerializable,Region
-
Nested Class Summary
Nested classes/interfaces inherited from interface sawfowl.regionguard.api.data.Region
Region.Builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdding a child region.builder()booleanChecking if there are child regions in the region.booleancontainsFlag(String flagName) Checking if a flag is set in the region.booleancontainsFlag(Flags flagName) Checking if a flag is set in the region.intcopy()Create a copy of the current region.booleanbooleanequalsOwners(Region region) Checking for matching region owners.<T extends AdditionalData>
Optional<T>getAdditionalData(org.spongepowered.plugin.PluginContainer container, String dataName, Class<T> clazz) Getting additional data that is created by other plugins.
After getting the data, they must be converted to the desired type.
Exemple: YourDataClass yourDataClass = (YourDataClass) additionalData;Getting a copy of the entire collection of the region's supplementary data.Recursive search and making a list of all child regions.List<org.spongepowered.api.block.entity.BlockEntity>Getting a list of block entities in the region.
This operation can work overload the server.List<org.spongepowered.api.block.BlockState>Getting a list of blocks in the region.
This operation can work overload the server.getChild(org.spongepowered.math.vector.Vector3i position) Searching for a child region.
If no region is found, it will return the current region.Getting a list of child regions.Getting a list of the chunk numbers that the region occupies.longGet the region creation time in unix format.Getting the region cuboid.Recursive search and enumeration of flagValues with parameters from the current region to the oldest parent.List<org.spongepowered.api.entity.Entity>Getting a list of entities in the region.
This list will not contain players.
This operation can work overload the server.Optional<net.kyori.adventure.text.Component>getExitMessage(Locale locale) Getting region exit message.
If the specified localization is not found, the default localization will be checked.
If no default localization is found, the first value found will be returned or an empty optional value if the list is empty.Getting a collection of localized messages reporting region exits.
The key is the localization tag.org.spongepowered.api.util.TristategetFlagResult(String flag, String source, String target) Getting the value of the flag in the region.org.spongepowered.api.util.TristategetFlagResult(Flags flag, String source, String target) Getting the value of the flag in the region.org.spongepowered.api.util.TristategetFlagResultWhithoutParrents(String flag, String source, String target) Getting the value of the flag if there is one.org.spongepowered.api.util.TristategetFlagResultWhithoutParrents(Flags flag, String source, String target) Getting the value of the flag if there is one.getFlags()Recursively search and list flagValues from the current region to the oldest parent.getFlagValues(String flagName) Getting the values of the flag in the region.getFlagValues(Flags flagName) Getting the values of the flag in the region.Optional<net.kyori.adventure.text.Component>getJoinMessage(Locale locale) Getting region join message.
If the specified localization is not found, the default localization will be checked.
If no default localization is found, the first value found will be returned or an empty optional value if the list is empty.Getting a collection of localized messages reporting entry into a region..
The key is the localization tag.List<org.spongepowered.api.world.chunk.WorldChunk>Getting a list of loaded chunks.
This operation can work overload the server.getMemberData(UUID uuid) Getting the data of the region member.getMemberData(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Getting the data of the region member.Getting a collection of the region's members.net.kyori.adventure.text.ComponentGetting the region name as kyori component.getNames()Optional<org.spongepowered.api.entity.living.player.server.ServerPlayer>getOwner()Getting the player-owner of the region, if the owner of the region is a player and he is online.Getting the data of the region ownerGetting the name of the region owner.Getting the UUID of the region owner.Getting a parent region if it is available.getPlainName(Locale locale) Getting the region name.List<org.spongepowered.api.entity.living.player.server.ServerPlayer>Getting a list of players in the region.
This operation can work overload the server.Getting the primary parent region.Optional<org.spongepowered.api.world.schematic.Schematic>getSchematic(String schematicName, String altAuthor) Create a Schematic from the region.
This operation can work overload the server.intTotal number of members of the region.getTrustType(UUID uuid) Gaining the trust of a player or entitygetTrustType(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Getting a player's type of trust.getType()Getting the region type.Getting the UUID of a region.Optional<org.spongepowered.api.world.server.ServerWorld>getWorld()Getting the region world if it is loaded.org.spongepowered.api.ResourceKeyGetting the world key.inthashCode()booleanisAdmin()Check whether the region is an admin region.booleanisArena()Check if the region is an arena.booleanCheck if the region is basic.booleanisCurrentTrustType(UUID uuid, TrustTypes level) Checking the type of trust in the region.booleanisCurrentTrustType(org.spongepowered.api.entity.living.player.server.ServerPlayer player, TrustTypes level) Checking the type of trust in the region.booleanisGlobal()Check if the region is global.booleanisIntersectsWith(org.spongepowered.api.ResourceKey worldkey, org.spongepowered.math.vector.Vector3i vector3i) Checking whether the position belongs to the region.booleanisIntersectsWith(org.spongepowered.api.world.server.ServerWorld serverWorld, org.spongepowered.math.vector.Vector3i vector3i) Checking whether the position belongs to the region.booleanisIntersectsWith(org.spongepowered.math.vector.Vector3i vector3i) Checking whether the position belongs to the region.booleanCheck if the region is subdivision.booleanChecking whether a entity is a member of a region.booleanisTrusted(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Checking whether a player is a member of a region.booleanputSchematic(org.spongepowered.api.world.schematic.Schematic schematic, int heigt) Insert Schematic into the region.
This operation can work overload the server.booleanputSchematic(org.spongepowered.api.world.schematic.Schematic schematic, org.spongepowered.math.vector.Vector3i vector3i) Insert Schematic into the region.
This operation can work overload the server.booleanregen(boolean async, int delay) Territory regeneration in the region.removeAdditionalData(org.spongepowered.plugin.PluginContainer container, String dataName) Deleting additional data created by another plugin.removeChild(Region region) Removing a child region.removeFlag(String flagName) Removing the flag from the region.removeFlag(String flagName, String source, String target) Removing the flag from the region.removeFlag(String flagName, FlagValue flagValue) Removing the flag from the region.removeFlag(Flags flagName) Removing the flag from the region.removeFlag(Flags flagName, String source, String target) Removing the flag from the region.removeFlag(Flags flagName, FlagValue flagValue) Removing the flag from the region.removeTempFlag(String flagName, String source, String target) Removing a temporary flag from a region.removeTempFlag(Flags flagName, String source, String target) Removing a temporary flag from a region.<T extends AdditionalData>
RegionsetAdditionalData(org.spongepowered.plugin.PluginContainer container, String dataName, T additionalData) Write additional data created by another plugin.setCuboid(org.spongepowered.math.vector.Vector3i first, org.spongepowered.math.vector.Vector3i second, SelectorTypes selectorType) Setting new boundaries for the region.Setting new boundaries for the region.setExitMessage(net.kyori.adventure.text.Component message, Locale locale) Setting region exit message.Setting the value of the flag.Setting the value of the flag.Setting the value of the flag.Setting the value of the flag.Set the values of a set of flags.setJoinMessage(net.kyori.adventure.text.Component message, Locale locale) Setting region join message.Set region name.setOwner(org.spongepowered.api.entity.living.player.server.ServerPlayer owner) Make the player the new owner of the region.setOwner(org.spongepowered.api.profile.GameProfile owner) Make the player the new owner of the region.setParrent(Region region) Specifying the parent region.booleansetRegionType(RegionTypes type) Changing the type of region.setTempFlag(String flagName, boolean value, String source, String target) Setting the value of the flag.
The flag set via this method will not be saved to disk.setTempFlag(Flags flagName, boolean value, String source, String target) Setting the value of the flag.
The flag set via this method will not be saved to disk.setTrustType(UUID uuid, TrustTypes type) Adding a entity to a region.setTrustType(org.spongepowered.api.entity.living.player.server.ServerPlayer player, TrustTypes type) Adding a player to a region.setTrustType(org.spongepowered.api.profile.GameProfile player, TrustTypes type) Adding a player to a region.org.spongepowered.api.data.persistence.DataContainertoString()voidRemoving a player or entity from a region.voiduntrust(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Removing a player from a region.
-
Constructor Details
-
RegionImpl
public RegionImpl()
-
-
Method Details
-
builder
-
getPlainName
Description copied from interface:RegionGetting the region name.- Specified by:
getPlainNamein interfaceRegion- Parameters:
locale- - language to be checked
-
getName
Description copied from interface:RegionGetting the region name as kyori component. -
setName
Description copied from interface:RegionSet region name. -
getNames
-
getOwner
Description copied from interface:RegionGetting the player-owner of the region, if the owner of the region is a player and he is online. -
getOwnerUUID
Description copied from interface:RegionGetting the UUID of the region owner.- Specified by:
getOwnerUUIDin interfaceRegion
-
getOwnerName
Description copied from interface:RegionGetting the name of the region owner.- Specified by:
getOwnerNamein interfaceRegion
-
setOwner
Description copied from interface:RegionMake the player the new owner of the region. -
setOwner
Description copied from interface:RegionMake the player the new owner of the region. -
setTrustType
public Region setTrustType(org.spongepowered.api.entity.living.player.server.ServerPlayer player, TrustTypes type) Description copied from interface:RegionAdding a player to a region.- Specified by:
setTrustTypein interfaceRegion- Parameters:
player- - addable playertype- - assignable trust type
-
setTrustType
Description copied from interface:RegionAdding a player to a region.- Specified by:
setTrustTypein interfaceRegion- Parameters:
player- - addable playertype- - assignable trust type
-
setTrustType
Description copied from interface:RegionAdding a entity to a region.- Specified by:
setTrustTypein interfaceRegion- Parameters:
uuid- - addable entitytype- - assignable trust type
-
getOwnerData
Description copied from interface:RegionGetting the data of the region owner- Specified by:
getOwnerDatain interfaceRegion
-
getMembers
Description copied from interface:RegionGetting a collection of the region's members.- Specified by:
getMembersin interfaceRegion
-
getMemberData
public Optional<MemberData> getMemberData(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionGetting the data of the region member.- Specified by:
getMemberDatain interfaceRegion- Parameters:
player- - checked player.
-
getMemberData
Description copied from interface:RegionGetting the data of the region member.- Specified by:
getMemberDatain interfaceRegion- Parameters:
uuid- - checked player or entity.
-
getTotalMembers
public int getTotalMembers()Description copied from interface:RegionTotal number of members of the region.- Specified by:
getTotalMembersin interfaceRegion
-
isCurrentTrustType
public boolean isCurrentTrustType(org.spongepowered.api.entity.living.player.server.ServerPlayer player, TrustTypes level) Description copied from interface:RegionChecking the type of trust in the region.- Specified by:
isCurrentTrustTypein interfaceRegion- Parameters:
player- - checked playerlevel- - checked trust type- Returns:
- true - if the player has the trust type specified in the check
false - if the player or entity does not have the type of trust specified in the check, or region is global, or region is admin
-
isCurrentTrustType
Description copied from interface:RegionChecking the type of trust in the region.- Specified by:
isCurrentTrustTypein interfaceRegion- Parameters:
uuid- - player uuidlevel- - checked trust type- Returns:
- true - if the player or entity has the trust type specified in the check
false - if the player or entity does not have the type of trust specified in the check, or region is global, or region is admin
-
getTrustType
public TrustTypes getTrustType(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionGetting a player's type of trust.- Specified by:
getTrustTypein interfaceRegion- Parameters:
player- - checked player- Returns:
- the type without trust(TrustTypes.WITHOUT_TRUST) if the player is not a member of the region
-
getTrustType
Description copied from interface:RegionGaining the trust of a player or entity- Specified by:
getTrustTypein interfaceRegion- Parameters:
uuid- - checked entity- Returns:
- the type without trust(TrustTypes.WITHOUT_TRUST) if the entity is not a member of the region
-
untrust
public void untrust(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionRemoving a player from a region. -
untrust
Description copied from interface:RegionRemoving a player or entity from a region. -
isTrusted
public boolean isTrusted(org.spongepowered.api.entity.living.player.server.ServerPlayer player) Description copied from interface:RegionChecking whether a player is a member of a region. -
isTrusted
Description copied from interface:RegionChecking whether a entity is a member of a region. -
getUniqueId
Description copied from interface:RegionGetting the UUID of a region.- Specified by:
getUniqueIdin interfaceRegion
-
getWorld
Description copied from interface:RegionGetting the region world if it is loaded. -
getWorldKey
public org.spongepowered.api.ResourceKey getWorldKey()Description copied from interface:RegionGetting the world key.- Specified by:
getWorldKeyin interfaceRegion
-
getCuboid
Description copied from interface:RegionGetting the region cuboid. -
getType
Description copied from interface:RegionGetting the region type. -
setRegionType
Description copied from interface:RegionChanging the type of region.
Depending on the specified type, some parameters may change.- Specified by:
setRegionTypein interfaceRegion- Parameters:
type- - assignable type
-
isGlobal
public boolean isGlobal()Description copied from interface:RegionCheck if the region is global. -
isAdmin
public boolean isAdmin()Description copied from interface:RegionCheck whether the region is an admin region. -
isArena
public boolean isArena()Description copied from interface:RegionCheck if the region is an arena. -
isBasicClaim
public boolean isBasicClaim()Description copied from interface:RegionCheck if the region is basic.- Specified by:
isBasicClaimin interfaceRegion
-
isSubdivision
public boolean isSubdivision()Description copied from interface:RegionCheck if the region is subdivision.- Specified by:
isSubdivisionin interfaceRegion
-
setCuboid
public Region setCuboid(org.spongepowered.math.vector.Vector3i first, org.spongepowered.math.vector.Vector3i second, SelectorTypes selectorType) Description copied from interface:RegionSetting new boundaries for the region. -
setCuboid
Description copied from interface:RegionSetting new boundaries for the region. -
getParrent
Description copied from interface:RegionGetting a parent region if it is available.- Specified by:
getParrentin interfaceRegion
-
getPrimaryParent
Description copied from interface:RegionGetting the primary parent region.- Specified by:
getPrimaryParentin interfaceRegion- Returns:
- the primary parent region if it exists, or the current region if the region has no parent
-
setParrent
Description copied from interface:RegionSpecifying the parent region.- Specified by:
setParrentin interfaceRegion
-
containsChilds
public boolean containsChilds()Description copied from interface:RegionChecking if there are child regions in the region.- Specified by:
containsChildsin interfaceRegion
-
getChild
Description copied from interface:RegionSearching for a child region.
If no region is found, it will return the current region. -
addChild
Description copied from interface:RegionAdding a child region. -
removeChild
Description copied from interface:RegionRemoving a child region.- Specified by:
removeChildin interfaceRegion
-
getAllChilds
Description copied from interface:RegionRecursive search and making a list of all child regions.- Specified by:
getAllChildsin interfaceRegion
-
getChilds
Description copied from interface:RegionGetting a list of child regions. -
getFlags
Description copied from interface:RegionRecursively search and list flagValues from the current region to the oldest parent. -
getCustomFlags
Description copied from interface:RegionRecursive search and enumeration of flagValues with parameters from the current region to the oldest parent.- Specified by:
getCustomFlagsin interfaceRegion
-
getFlagValues
Description copied from interface:RegionGetting the values of the flag in the region.
If there is no flag, an attempt will be made to check it in the parent region.- Specified by:
getFlagValuesin interfaceRegion
-
getFlagValues
Description copied from interface:RegionGetting the values of the flag in the region.
If there is no flag, an attempt will be made to check it in the parent region.- Specified by:
getFlagValuesin interfaceRegion
-
containsFlag
Description copied from interface:RegionChecking if a flag is set in the region.- Specified by:
containsFlagin interfaceRegion
-
containsFlag
Description copied from interface:RegionChecking if a flag is set in the region.- Specified by:
containsFlagin interfaceRegion
-
getFlagResult
Description copied from interface:RegionGetting the value of the flag in the region.
If there is no flag, an attempt will be made to check it in the parent region.- Specified by:
getFlagResultin interfaceRegion
-
getFlagResult
Description copied from interface:RegionGetting the value of the flag in the region.
If there is no flag, an attempt will be made to check it in the parent region.- Specified by:
getFlagResultin interfaceRegion
-
getFlagResultWhithoutParrents
public org.spongepowered.api.util.Tristate getFlagResultWhithoutParrents(Flags flag, String source, String target) Description copied from interface:RegionGetting the value of the flag if there is one.- Specified by:
getFlagResultWhithoutParrentsin interfaceRegion
-
getFlagResultWhithoutParrents
public org.spongepowered.api.util.Tristate getFlagResultWhithoutParrents(String flag, String source, String target) Description copied from interface:RegionGetting the value of the flag if there is one.- Specified by:
getFlagResultWhithoutParrentsin interfaceRegion
-
setFlag
Description copied from interface:RegionSetting the value of the flag. -
setFlag
Description copied from interface:RegionSetting the value of the flag. -
setFlag
Description copied from interface:RegionSetting the value of the flag. -
setTempFlag
Description copied from interface:RegionSetting the value of the flag.
The flag set via this method will not be saved to disk.- Specified by:
setTempFlagin interfaceRegion
-
setTempFlag
Description copied from interface:RegionSetting the value of the flag.
The flag set via this method will not be saved to disk.- Specified by:
setTempFlagin interfaceRegion
-
setFlag
Description copied from interface:RegionSetting the value of the flag. -
setFlags
Description copied from interface:RegionSet the values of a set of flags. -
removeFlag
Description copied from interface:RegionRemoving the flag from the region.- Specified by:
removeFlagin interfaceRegion
-
removeFlag
Description copied from interface:RegionRemoving the flag from the region.- Specified by:
removeFlagin interfaceRegion
-
removeFlag
Description copied from interface:RegionRemoving the flag from the region.- Specified by:
removeFlagin interfaceRegion
-
removeFlag
Description copied from interface:RegionRemoving the flag from the region.- Specified by:
removeFlagin interfaceRegion
-
removeTempFlag
Description copied from interface:RegionRemoving a temporary flag from a region.- Specified by:
removeTempFlagin interfaceRegion
-
removeTempFlag
Description copied from interface:RegionRemoving a temporary flag from a region.- Specified by:
removeTempFlagin interfaceRegion
-
removeFlag
Description copied from interface:RegionRemoving the flag from the region.- Specified by:
removeFlagin interfaceRegion
-
removeFlag
Description copied from interface:RegionRemoving the flag from the region.- Specified by:
removeFlagin interfaceRegion
-
getCreationTime
public long getCreationTime()Description copied from interface:RegionGet the region creation time in unix format.- Specified by:
getCreationTimein interfaceRegion
-
getJoinMessage
Description copied from interface:RegionGetting region join message.
If the specified localization is not found, the default localization will be checked.
If no default localization is found, the first value found will be returned or an empty optional value if the list is empty.- Specified by:
getJoinMessagein interfaceRegion- Parameters:
locale- - checking locale
-
setJoinMessage
Description copied from interface:RegionSetting region join message.- Specified by:
setJoinMessagein interfaceRegion- Parameters:
message- - setting messagelocale- - setting locale
-
getJoinMessages
Description copied from interface:RegionGetting a collection of localized messages reporting entry into a region..
The key is the localization tag.- Specified by:
getJoinMessagesin interfaceRegion
-
getExitMessage
Description copied from interface:RegionGetting region exit message.
If the specified localization is not found, the default localization will be checked.
If no default localization is found, the first value found will be returned or an empty optional value if the list is empty.- Specified by:
getExitMessagein interfaceRegion- Parameters:
locale- - checking locale
-
setExitMessage
Description copied from interface:RegionSetting region exit message.- Specified by:
setExitMessagein interfaceRegion- Parameters:
message- - setting messagelocale- - setting locale
-
getExitMessages
Description copied from interface:RegionGetting a collection of localized messages reporting region exits.
The key is the localization tag.- Specified by:
getExitMessagesin interfaceRegion
-
getAdditionalData
public <T extends AdditionalData> Optional<T> getAdditionalData(org.spongepowered.plugin.PluginContainer container, String dataName, Class<T> clazz) Description copied from interface:RegionGetting additional data that is created by other plugins.
After getting the data, they must be converted to the desired type.
Exemple: YourDataClass yourDataClass = (YourDataClass) additionalData;- Specified by:
getAdditionalDatain interfaceRegion
-
setAdditionalData
public <T extends AdditionalData> Region setAdditionalData(org.spongepowered.plugin.PluginContainer container, String dataName, T additionalData) Description copied from interface:RegionWrite additional data created by another plugin.- Specified by:
setAdditionalDatain interfaceRegion
-
removeAdditionalData
public Region removeAdditionalData(org.spongepowered.plugin.PluginContainer container, String dataName) Description copied from interface:RegionDeleting additional data created by another plugin.- Specified by:
removeAdditionalDatain interfaceRegion
-
getAllAdditionalData
Description copied from interface:RegionGetting a copy of the entire collection of the region's supplementary data.- Specified by:
getAllAdditionalDatain interfaceRegion
-
isIntersectsWith
public boolean isIntersectsWith(org.spongepowered.api.world.server.ServerWorld serverWorld, org.spongepowered.math.vector.Vector3i vector3i) Description copied from interface:RegionChecking whether the position belongs to the region.- Specified by:
isIntersectsWithin interfaceRegion- Parameters:
serverWorld- - checkable Worldvector3i- - checkable position
-
isIntersectsWith
public boolean isIntersectsWith(org.spongepowered.api.ResourceKey worldkey, org.spongepowered.math.vector.Vector3i vector3i) Description copied from interface:RegionChecking whether the position belongs to the region.- Specified by:
isIntersectsWithin interfaceRegion- Parameters:
worldkey- - checkable Worldvector3i- - checkable position
-
isIntersectsWith
public boolean isIntersectsWith(org.spongepowered.math.vector.Vector3i vector3i) Description copied from interface:RegionChecking whether the position belongs to the region. This method should only be applied to child regions, as it does not perform a world matching check.- Specified by:
isIntersectsWithin interfaceRegion- Parameters:
vector3i- - checkable position
-
getLoadedChunks
Description copied from interface:RegionGetting a list of loaded chunks.
This operation can work overload the server. It is recommended to use in asynchronous mode.- Specified by:
getLoadedChunksin interfaceRegion
-
getBlocks
Description copied from interface:RegionGetting a list of blocks in the region.
This operation can work overload the server. It is recommended to use in asynchronous mode. -
getBlockEntities
Description copied from interface:RegionGetting a list of block entities in the region.
This operation can work overload the server. It is recommended to use in asynchronous mode.- Specified by:
getBlockEntitiesin interfaceRegion
-
getEntities
Description copied from interface:RegionGetting a list of entities in the region.
This list will not contain players.
This operation can work overload the server. It is recommended to use in asynchronous mode.- Specified by:
getEntitiesin interfaceRegion
-
getPlayers
Description copied from interface:RegionGetting a list of players in the region.
This operation can work overload the server. It is recommended to use in asynchronous mode.- Specified by:
getPlayersin interfaceRegion
-
getChunkNumbers
Description copied from interface:RegionGetting a list of the chunk numbers that the region occupies.- Specified by:
getChunkNumbersin interfaceRegion
-
getSchematic
public Optional<org.spongepowered.api.world.schematic.Schematic> getSchematic(String schematicName, String altAuthor) Description copied from interface:RegionCreate a Schematic from the region.
This operation can work overload the server. It is recommended to use in asynchronous mode.- Specified by:
getSchematicin interfaceRegion
-
putSchematic
public boolean putSchematic(org.spongepowered.api.world.schematic.Schematic schematic, int heigt) Description copied from interface:RegionInsert Schematic into the region.
This operation can work overload the server.- Specified by:
putSchematicin interfaceRegionheigt- - the height at which the insertion will be made
-
putSchematic
public boolean putSchematic(org.spongepowered.api.world.schematic.Schematic schematic, org.spongepowered.math.vector.Vector3i vector3i) Description copied from interface:RegionInsert Schematic into the region.
This operation can work overload the server.- Specified by:
putSchematicin interfaceRegionvector3i- - central position
-
regen
public boolean regen(boolean async, int delay) Description copied from interface:RegionTerritory regeneration in the region. -
equals
-
equalsOwners
Description copied from interface:RegionChecking for matching region owners.- Specified by:
equalsOwnersin interfaceRegion
-
copy
Description copied from interface:RegionCreate a copy of the current region. -
hashCode
public int hashCode() -
toString
-
contentVersion
public int contentVersion()- Specified by:
contentVersionin interfaceorg.spongepowered.api.data.persistence.DataSerializable
-
toContainer
public org.spongepowered.api.data.persistence.DataContainer toContainer()- Specified by:
toContainerin interfaceorg.spongepowered.api.data.persistence.DataSerializable
-