@@ -25,10 +25,10 @@ public class BlockMetadataStore extends MetadataStoreBase<Block> implements Meta
|
||||
|
||||
/**
|
||||
* Generates a unique metadata key for a {@link Block} object based on its coordinates in the world.
|
||||
* @see MetadataStoreBase#disambiguate(Object, String)
|
||||
* @param block the block
|
||||
* @param metadataKey The name identifying the metadata value
|
||||
* @return a unique metadata key
|
||||
* @see MetadataStoreBase#disambiguate(Object, String)
|
||||
*/
|
||||
@Override
|
||||
protected String disambiguate(Block block, String metadataKey) {
|
||||
|
||||
@@ -11,10 +11,10 @@ public class EntityMetadataStore extends MetadataStoreBase<Entity> implements Me
|
||||
/**
|
||||
* Generates a unique metadata key for an {@link Entity} UUID.
|
||||
*
|
||||
* @see MetadataStoreBase#disambiguate(Object, String)
|
||||
* @param entity the entity
|
||||
* @param metadataKey The name identifying the metadata value
|
||||
* @return a unique metadata key
|
||||
* @see MetadataStoreBase#disambiguate(Object, String)
|
||||
*/
|
||||
@Override
|
||||
protected String disambiguate(Entity entity, String metadataKey) {
|
||||
|
||||
@@ -11,10 +11,10 @@ public class PlayerMetadataStore extends MetadataStoreBase<OfflinePlayer> implem
|
||||
/**
|
||||
* Generates a unique metadata key for {@link org.bukkit.entity.Player} and {@link OfflinePlayer} using the player
|
||||
* UUID.
|
||||
* @see MetadataStoreBase#disambiguate(Object, String)
|
||||
* @param player the player
|
||||
* @param metadataKey The name identifying the metadata value
|
||||
* @return a unique metadata key
|
||||
* @see MetadataStoreBase#disambiguate(Object, String)
|
||||
*/
|
||||
@Override
|
||||
protected String disambiguate(OfflinePlayer player, String metadataKey) {
|
||||
|
||||
@@ -10,10 +10,10 @@ import org.bukkit.metadata.MetadataStoreBase;
|
||||
public class WorldMetadataStore extends MetadataStoreBase<World> implements MetadataStore<World> {
|
||||
/**
|
||||
* Generates a unique metadata key for a {@link World} object based on the world UID.
|
||||
* @see WorldMetadataStore#disambiguate(Object, String)
|
||||
* @param world the world
|
||||
* @param metadataKey The name identifying the metadata value
|
||||
* @return a unique metadata key
|
||||
* @see WorldMetadataStore#disambiguate(Object, String)
|
||||
*/
|
||||
@Override
|
||||
protected String disambiguate(World world, String metadataKey) {
|
||||
|
||||
Reference in New Issue
Block a user