diff --git a/.gitignore b/.gitignore index b120f74d..3cffec74 100644 --- a/.gitignore +++ b/.gitignore @@ -34,6 +34,8 @@ #personal /test-in-spigot.bat +/update-docs-now.bat + /PlayerHeads-api/target/ /PlayerHeads-craftbukkit-1.16-support/target/ diff --git a/PlayerHeads-api/dependency-reduced-pom.xml b/PlayerHeads-api/dependency-reduced-pom.xml index ed21723f..a4fcd285 100644 --- a/PlayerHeads-api/dependency-reduced-pom.xml +++ b/PlayerHeads-api/dependency-reduced-pom.xml @@ -3,7 +3,7 @@ PlayerHeads org.shininet.bukkit - 5.2.13-SNAPSHOT + 5.2.14-SNAPSHOT 4.0.0 PlayerHeads-api @@ -43,18 +43,22 @@ - true + false true https://hub.spigotmc.org/javadocs/bukkit/ - https://hub.spigotmc.org/javadocs/spigot + https://hub.spigotmc.org/javadocs/spigot/ https://javadoc.io/doc/org.jetbrains/annotations-java5/15.0.0/ true + + org.shininet.bukkit:PlayerHeads-compatibility + org.shininet.bukkit:PlayerHeads-compatibility-api + - org.shininet.bukkit:* - com.github.crashdemons:* + org.shininet.bukkit:PlayerHeads-base-api + 7 @@ -76,21 +80,6 @@ - - maven-jar-plugin - 3.0.2 - - - - Maven - ${project.name} - ${project.version} - ${project.groupId} - ${project.organization.name} - - - - maven-antrun-plugin 1.8 @@ -131,21 +120,11 @@ - - - crashdemons-repo - https://meme.tips/java-repos/ - - - spigot-repo - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - - - org.spigotmc - spigot-api - 1.16.1-R0.1-SNAPSHOT + org.shininet.bukkit + PlayerHeads-compatibility-api + 5.2.14-SNAPSHOT compile @@ -155,10 +134,76 @@ compile - org.shininet.bukkit - PlayerHeads-compatibility-api - 5.2.13-SNAPSHOT - compile + junit + junit + 4.13.1 + test + + + hamcrest-core + org.hamcrest + + + + + org.powermock + powermock-module-junit4 + 2.0.7 + test + + + powermock-module-junit4-common + org.powermock + + + hamcrest-core + org.hamcrest + + + + + org.powermock + powermock-api-mockito2 + 2.0.7 + test + + + powermock-api-support + org.powermock + + + + + org.mockito + mockito-core + 3.5.11 + test + + + byte-buddy + net.bytebuddy + + + byte-buddy-agent + net.bytebuddy + + + objenesis + org.objenesis + + + + + org.powermock + powermock-api-mockito-common + 1.7.4 + test + + + powermock-api-support + org.powermock + + @@ -173,8 +218,4 @@ - - 1.7 - 1.7 - diff --git a/PlayerHeads-api/docs/allclasses-index.html b/PlayerHeads-api/docs/allclasses-index.html index 93288901..c0b5067e 100644 --- a/PlayerHeads-api/docs/allclasses-index.html +++ b/PlayerHeads-api/docs/allclasses-index.html @@ -3,7 +3,7 @@ -All Classes (PlayerHeads-api 5.2.13-SNAPSHOT API) +All Classes (PlayerHeads-api 5.2.14-SNAPSHOT API) @@ -15,8 +15,8 @@ - - - - - - - - -
- -
-
- -
- -

Class Compatibility

-
-
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.Compatibility
-
-
-
-
public final class Compatibility
-extends java.lang.Object
-
Compatibility class controlling implementation and version support. -

- This class forms the basis of most plugin access to the compatibility package - methods through chaining. -

- - Note: some methods of this class may not be thread-safe. Generally you should only change provider registrations on the main thread during plugin load or enable, - then only afterwards use isProviderAvailable / getProvider methods freely.

-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    static CompatibilityProvidergetProvider() -
    Gets the currently registered compatibility provider for the session.
    -
    static java.lang.StringgetRecommendedProviderType() -
    Gets the current recommended implementation type name for your server - based on the supported implementations.
    -
    static java.lang.StringgetRecommendedProviderVersion() -
    Gets the current recommended bukkit-specific implementation version - string for your server based on the supported implementations.
    -
    static booleaninit() -
    Initialize compatibility support.
    -
    static booleanisProviderAvailable() -
    Determine if a compatibility implementation has been registered yet.
    -
    static voidregisterProvider​(CompatibilityProvider obj) -
    Registers an compatibility provider (a bukkit-version-specific - implementation) for the session with the compatibility class.
    -
    static booleanunregisterProvider() -
    Deprecated. -
    registering an unregistering multiple providers is not recommended since it means loading unnecessary classes into memory and changing the state of compatibility.
    -
    -
    -
    -
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      init

      - -
      Initialize compatibility support. -

      - This method initializes server version-detection and selects - compatibility providers (specific Bukkit implementations) for use later. - This method also makes a determination as to what the recommended - implementation version is. -

      - The "recommended" version is the highest implementation version available - (for your server's type) that is under or equal to your server version. - If no provider with a matching type can be found, this method will - look for one with the 'fallback' server type (which at this time defaults - to "craftbukkit"). -

      - Provider implementations are expected to exist in the same package as the compatibility library (com.github.crashdemons.playerheads.compatibility by default). - followed by the server type name and major/minor version. For example: com.github.crashdemons.playerheads.compatibility.craftbukkit_1_16 - the class in this package must be named "Provider" and must not be abstract.

      -
      -
      Returns:
      -
      Whether the recommended implementation version was used. True: - the best implementation version for your server that was supported was - loaded. False: a fallback implementation was used - possibly because you - loaded a backport implementation onto a newer server improperly.
      -
      Throws:
      -
      UnknownVersionException - If the server version string could not be - understood during detection.
      -
      CompatibilityUnsupportedException - If the server version was lower - than is supported by the compatibility package (minimum 1.8)
      -
      CompatibilityUnavailableException - If no implementation could be - found that is compatible with your server. This may happen if all - available providers (of a compatible type) are newer than your server - version, or no matches can be found for your server type or fallback type.
      -
      CompatibilityConflictException - If an implementation provider was - already registered - this happens when there is more than one call to - init and registerProvider.
      -
      CompatibilityMisconfiguredException - If the compatibility library - was not properly built (with supported versions finalized).
      -
      -
      -
    • -
    • -
      -

      isProviderAvailable

      -
      public static boolean isProviderAvailable()
      -
      Determine if a compatibility implementation has been registered yet.
      -
      -
      Returns:
      -
      whether a provider is available yet
      -
      -
      -
    • -
    • -
      -

      registerProvider

      -
      public static void registerProvider​(CompatibilityProvider obj) - throws CompatibilityConflictException
      -
      Registers an compatibility provider (a bukkit-version-specific - implementation) for the session with the compatibility class. -

      - You should either use this or init(), but not both and not more than once - - providers cannot be unregistered at this time.

      -
      -
      Parameters:
      -
      obj - The implementation to register
      -
      Throws:
      -
      CompatibilityConflictException - If an implementation is already - registered when you called this function.
      -
      See Also:
      -
      CompatibilityProvider, -init()
      -
      -
      -
    • -
    • -
      -

      unregisterProvider

      -
      @Deprecated -public static boolean unregisterProvider()
      -
      Deprecated. -
      registering an unregistering multiple providers is not recommended since it means loading unnecessary classes into memory and changing the state of compatibility.
      -
      -
      Unregisters the currently registered Compatibility Provider for the - session.
      -
      -
      Returns:
      -
      whether there was a provider to unregister (same result as isProviderAvailable())
      -
      -
      -
    • -
    • -
      -

      getProvider

      -
      public static CompatibilityProvider getProvider() - throws CompatibilityUnregisteredException
      -
      Gets the currently registered compatibility provider for the session. - (bukkit-version-specific implementation of required methods)
      -
      -
      Returns:
      -
      the class object implementing the compatibility-provider methods.
      -
      Throws:
      -
      CompatibilityUnregisteredException - If this method was called - before registering an implementation (eg: with init() or - registerProvider() )
      -
      See Also:
      -
      CompatibilityProvider, -init(), -registerProvider(com.github.crashdemons.playerheads.compatibility.CompatibilityProvider)
      -
      -
      -
    • -
    • -
      -

      getRecommendedProviderType

      -
      public static java.lang.String getRecommendedProviderType()
      -
      Gets the current recommended implementation type name for your server - based on the supported implementations. -

      - If you call this before init(), it will always return an empty string.

      -
      -
      Returns:
      -
      the implementation type name, or an empty string if it is not yet - available.
      -
      -
      -
    • -
    • -
      -

      getRecommendedProviderVersion

      -
      public static java.lang.String getRecommendedProviderVersion()
      -
      Gets the current recommended bukkit-specific implementation version - string for your server based on the supported implementations. -

      - If you call this before init(), it will always return an empty string.

      -
      -
      Returns:
      -
      The version string, or an empty string if it is not yet - available.
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibilityProvider.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibilityProvider.html deleted file mode 100644 index 0720fe41..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibilityProvider.html +++ /dev/null @@ -1,1251 +0,0 @@ - - - - - -CompatibilityProvider (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Interface CompatibilityProvider

-
-
-
-
public interface CompatibilityProvider
-
An interface specifying all of the methods we need for our plugin that require differing Bukkit-specific implementations which we wish to abstract from our plugin code. - CompatibilityProviders not only must implement this interface, but in order to be automatically selected by the Compatibility class, - they must exist in a specific package name. - - Providers (or a class extending them) are expected to exist in the same package as the compatibility library (com.github.crashdemons.playerheads.compatibility by default). - followed by the server type name and major/minor version. For example: com.github.crashdemons.playerheads.compatibility.craftbukkit_1_16 - the class in this package must be named "Provider" and must not be abstract. - - Secondly, to be automatically selected by the Compatibility class, the server type and version must be listed in the CompatibilitySupport class' VERSIONS map. - This is typically accomplished by replacing it in the compatibility-library module when shading in all relevant support classes (ie: the original is excluded from shading).
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    CompatibleProfilecreateCompatibleProfile​(java.lang.String name, -java.util.UUID id, -java.lang.String texture) -
    Create a compatible profile object with the provided parameters.
    -
    ItemStackgetCompatibleHeadItem​(CompatibleSkullMaterial material, -int amount) -
    Gets the head used as a base for a displaying a given vanilla skull type.
    -
    java.lang.StringgetCompatibleNameFromEntity​(Entity e) -
    Gets a forward-portable name of an entity.
    -
    CompatibleProfilegetCompatibleProfile​(java.lang.Object skull) -
    Gets a profile on a block or item.
    -
    EntityTypegetEntityTypeFromTypename​(java.lang.String ename) -
    Gets an entity type from the Typename of an entity.
    -
    ItemStackgetItemInMainHand​(LivingEntity p) 
    ItemStackgetItemInMainHand​(Player p) -
    Gets the itemstack in the [main] hand of a player
    -
    booleangetKeepInventory​(World world) -
    Checks whether the keepinventory gamerule is enabled for a given world
    -
    OfflinePlayergetOfflinePlayerByName​(java.lang.String username) -
    Gets a player by their username
    -
    java.util.Optional<java.lang.Object>getOptionalProfile​(Skull skullState) -
    Gets the Optional Profile object for a head.
    -
    java.util.Optional<java.lang.Object>getOptionalProfile​(ItemMeta skullMeta) -
    Gets the Optional Profile object for a head.
    -
    java.lang.StringgetOwner​(Skull skullBlockState) -
    Gets the owner username of a skull by any means necessary.
    -
    java.lang.StringgetOwner​(SkullMeta skullItemMeta) -
    Gets the owner username of a skull by any means necessary.
    -
    java.lang.StringgetOwnerDirect​(Skull skullBlockState) -
    Deprecated. -
    This method does not include extended checking, you probably dont want the direct method.
    -
    -
    java.lang.StringgetOwnerDirect​(SkullMeta skullItemMeta) -
    Deprecated. -
    This method does not include extended checking, you probably dont want the direct method.
    -
    -
    OfflinePlayergetOwningPlayer​(Skull skullBlockState) -
    Gets the owning player of a skull, with an additional attempt to derive the player from Profile uuid.
    -
    OfflinePlayergetOwningPlayer​(SkullMeta skullItemMeta) -
    Gets the owning player of a skull, with an additional attempt to derive the player from Profile uuid.
    -
    OfflinePlayergetOwningPlayerDirect​(Skull skullBlockState) -
    Deprecated. -
    This method does not include extended checking, you probably dont want the direct method.
    -
    -
    OfflinePlayergetOwningPlayerDirect​(SkullMeta skullItemMeta) -
    Deprecated. -
    This method does not include extended checking, you probably dont want the direct method.
    -
    -
    java.lang.ObjectgetProfile​(Skull headBlockState) -
    Deprecated. -
    This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
    -
    -
    java.lang.ObjectgetProfile​(ItemMeta headMeta) -
    Deprecated. -
    This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
    -
    -
    SkullDetailsgetSkullDetails​(SkullType type) -
    Gets a class describing implementation-specific details about a vanilla skull type
    -
    SkullTypegetSkullType​(BlockState s) -
    Gets the vanilla skulltype best associated with the BlockState provided.
    -
    SkullTypegetSkullType​(ItemStack s) -
    Gets the vanilla skulltype best associated with the ItemStack provided.
    -
    java.lang.StringgetType() -
    Retrieve the server type the provider implements code for.
    -
    java.lang.StringgetVersion() -
    Retrieve the version string associated with the specific Compatibility Provider implementation.
    -
    booleanisHead​(BlockState s) -
    Checks whether the blockstate corresponds a vanilla head or skull of some type.
    -
    booleanisHead​(ItemStack s) -
    Checks whether the itemstack corresponds a vanilla head or skull of some type.
    -
    booleanisMobhead​(BlockState s) -
    Checks whether the blockstate corresponds to a vanilla head or skull and is not a player-head type
    -
    booleanisMobhead​(ItemStack s) -
    Checks whether the itemstack corresponds to a vanilla head or skull and is not a player-head type
    -
    booleanisPlayerhead​(BlockState s) -
    Checks whether the blockstate corresponds to a vanilla player-head type
    -
    booleanisPlayerhead​(ItemStack s) -
    Checks whether the itemstack corresponds to a vanilla player-head type
    -
    booleansetCompatibleProfile​(java.lang.Object skull, -CompatibleProfile profile) -
    Sets a profile on a block or item.
    -
    voidsetItemInMainHand​(Player p, -ItemStack s) -
    Sets the itemstack in the [main] hand of a player
    -
    booleansetOptionalProfile​(Skull skullState, -java.util.Optional<java.lang.Object> profile) -
    Sets the Optional Profile object for a head.
    -
    booleansetOptionalProfile​(ItemMeta skullMeta, -java.util.Optional<java.lang.Object> profile) -
    Sets the Optional Profile object for a head.
    -
    booleansetOwner​(Skull skullBlockState, -java.lang.String owner) -
    Sets the owner username of a skull
    -
    booleansetOwner​(SkullMeta skullItemMeta, -java.lang.String owner) -
    Sets the owner username of a skull
    -
    voidsetOwningPlayer​(Skull skullBlockState, -OfflinePlayer op) -
    Sets the player owning a skull
    -
    booleansetOwningPlayer​(SkullMeta skullItemMeta, -OfflinePlayer op) -
    Sets the player owning a skull
    -
    booleansetProfile​(Skull headBlockState, -java.lang.Object profile) -
    Deprecated. -
    This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
    -
    -
    booleansetProfile​(Skull headBlockState, -java.util.UUID uuid, -java.lang.String texture) -
    Set a profile field in the supplied block state using a UUID and Texture string
    -
    booleansetProfile​(ItemMeta headMeta, -java.lang.Object profile) -
    Deprecated. -
    This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
    -
    -
    booleansetProfile​(ItemMeta headMeta, -java.util.UUID uuid, -java.lang.String texture) -
    Set a profile field in the supplied item meta using a UUID and Texture string
    -
    -
    -
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      getType

      -
      java.lang.String getType()
      -
      Retrieve the server type the provider implements code for.
      -
      -
      Returns:
      -
      the server type string
      -
      -
      -
    • -
    • -
      -

      getVersion

      -
      java.lang.String getVersion()
      -
      Retrieve the version string associated with the specific Compatibility Provider implementation.
      -
      -
      Returns:
      -
      the version string
      -
      -
      -
    • -
    • -
      -

      getOwningPlayerDirect

      -
      @Deprecated -OfflinePlayer getOwningPlayerDirect​(SkullMeta skullItemMeta)
      -
      Deprecated. -
      This method does not include extended checking, you probably dont want the direct method.
      -
      -
      Gets the owning player of a skull as direct as possible from the relevant API - this may not always reliably get the player. - - This method may not result in the same information as getOwner, you should check both.
      -
      -
      Parameters:
      -
      skullItemMeta - the ItemMeta of the skull
      -
      Returns:
      -
      the player owning the skull, or null if none could be retrieved.
      -
      -
      -
    • -
    • -
      -

      getOwningPlayerDirect

      -
      @Deprecated -OfflinePlayer getOwningPlayerDirect​(Skull skullBlockState)
      -
      Deprecated. -
      This method does not include extended checking, you probably dont want the direct method.
      -
      -
      Gets the owning player of a skull as direct as possible from the relevant API - this may not always reliably get the player. - - This method may not result in the same information as getOwner, you should check both.
      -
      -
      Parameters:
      -
      skullBlockState - the BlockState of the skull
      -
      Returns:
      -
      the player owning the skull, or null if none could be retrieved.
      -
      -
      -
    • -
    • -
      -

      getOwningPlayer

      -
      OfflinePlayer getOwningPlayer​(SkullMeta skullItemMeta)
      -
      Gets the owning player of a skull, with an additional attempt to derive the player from Profile uuid. - - This method may not result in the same information as getOwner, you should check both. - This method does not exhaustively attempt to derive players from usernames.
      -
      -
      Parameters:
      -
      skullItemMeta - the ItemMeta of the skull
      -
      Returns:
      -
      the player owning the skull, or null if none could be retrieved.
      -
      -
      -
    • -
    • -
      -

      getOwningPlayer

      -
      OfflinePlayer getOwningPlayer​(Skull skullBlockState)
      -
      Gets the owning player of a skull, with an additional attempt to derive the player from Profile uuid. - - This method may not result in the same information as getOwner, you should check both. - This method does not exhaustively attempt to derive players from usernames.
      -
      -
      Parameters:
      -
      skullBlockState - the BlockState of the skull
      -
      Returns:
      -
      the player owning the skull, or null if none could be retrieved.
      -
      -
      -
    • -
    • -
      -

      getOwnerDirect

      -
      @Deprecated -java.lang.String getOwnerDirect​(SkullMeta skullItemMeta)
      -
      Deprecated. -
      This method does not include extended checking, you probably dont want the direct method.
      -
      -
      Gets the owner username of a skull as direct as possible from the relevant API - this may not always reliably get the username. - - This method may not result in the same information as getOwningPlayerDirect, you should check both.
      -
      -
      Parameters:
      -
      skullItemMeta - the ItemMeta of the skull
      -
      Returns:
      -
      the owner name
      -
      -
      -
    • -
    • -
      -

      getOwnerDirect

      -
      @Deprecated -java.lang.String getOwnerDirect​(Skull skullBlockState)
      -
      Deprecated. -
      This method does not include extended checking, you probably dont want the direct method.
      -
      -
      Gets the owner username of a skull as direct as possible from the relevant API - this may not always reliably get the username. - - This method may not result in the same information as getOwningPlayerDirect, you should check both.
      -
      -
      Parameters:
      -
      skullBlockState - the BlockState of the skull
      -
      Returns:
      -
      the owner name
      -
      -
      -
    • -
    • -
      -

      getOwner

      -
      java.lang.String getOwner​(SkullMeta skullItemMeta)
      -
      Gets the owner username of a skull by any means necessary. - - Because of differing results between getOwningPlayer().getName() and getOwnerDirect(), it may be necessary to use both or check the profile field, which this method should do. - This method must be implemented with the following defined order: getOwningPlayer and getProfilePlayer if necessary to check name, then getOwner to check name.
      -
      -
      Parameters:
      -
      skullItemMeta - the itemmeta of the skull to check
      -
      Returns:
      -
      the owner name or null if none could be found.
      -
      -
      -
    • -
    • -
      -

      getOwner

      -
      java.lang.String getOwner​(Skull skullBlockState)
      -
      Gets the owner username of a skull by any means necessary. - - Because of differing results between getOwningPlayer().getName() and getOwnerDirect(), it may be necessary to use both or check the profile field, which this method should do. - This method must be implemented with the following defined order: getOwningPlayer and getProfilePlayer if necessary to check name, then getOwner to check name.
      -
      -
      Parameters:
      -
      skullBlockState - the blockstate of the skull to check
      -
      Returns:
      -
      the owner name or null if none could be found.
      -
      -
      -
    • -
    • -
      -

      setOwningPlayer

      -
      boolean setOwningPlayer​(SkullMeta skullItemMeta, -OfflinePlayer op)
      -
      Sets the player owning a skull
      -
      -
      Parameters:
      -
      skullItemMeta - the ItemMeta of a skull
      -
      op - the owning player
      -
      Returns:
      -
      whether the process succeeded
      -
      -
      -
    • -
    • -
      -

      setOwningPlayer

      -
      void setOwningPlayer​(Skull skullBlockState, -OfflinePlayer op)
      -
      Sets the player owning a skull
      -
      -
      Parameters:
      -
      skullBlockState - the BlockState of a skull
      -
      op - the owning player
      -
      -
      -
    • -
    • -
      -

      setOwner

      -
      boolean setOwner​(SkullMeta skullItemMeta, -java.lang.String owner)
      -
      Sets the owner username of a skull
      -
      -
      Parameters:
      -
      skullItemMeta - the ItemMeta of a skull
      -
      owner - the owner username to set
      -
      Returns:
      -
      whether the process succeeded
      -
      -
      -
    • -
    • -
      -

      setOwner

      -
      boolean setOwner​(Skull skullBlockState, -java.lang.String owner)
      -
      Sets the owner username of a skull
      -
      -
      Parameters:
      -
      skullBlockState - the BlockState of a skull
      -
      owner - the owner username to set
      -
      Returns:
      -
      whether the process succeeded
      -
      -
      -
    • -
    • -
      -

      getItemInMainHand

      -
      ItemStack getItemInMainHand​(Player p)
      -
      Gets the itemstack in the [main] hand of a player
      -
      -
      Parameters:
      -
      p - the player to check
      -
      Returns:
      -
      The ItemStack if found, or null
      -
      -
      -
    • -
    • -
      -

      setItemInMainHand

      -
      void setItemInMainHand​(Player p, -ItemStack s)
      -
      Sets the itemstack in the [main] hand of a player
      -
      -
      Parameters:
      -
      p - the player to change
      -
      s - the itemstack to set in their hand
      -
      -
      -
    • -
    • -
      -

      getSkullDetails

      -
      SkullDetails getSkullDetails​(SkullType type)
      -
      Gets a class describing implementation-specific details about a vanilla skull type
      -
      -
      Parameters:
      -
      type - the type of vanilla head or skull to check
      -
      Returns:
      -
      the object containing details about the skull type
      -
      See Also:
      -
      SkullType
      -
      -
      -
    • -
    • -
      -

      getKeepInventory

      -
      boolean getKeepInventory​(World world)
      -
      Checks whether the keepinventory gamerule is enabled for a given world
      -
      -
      Parameters:
      -
      world - the world to check in
      -
      Returns:
      -
      whether the gamerule is enabled
      -
      -
      -
    • -
    • -
      -

      getSkullType

      -
      SkullType getSkullType​(ItemStack s)
      -
      Gets the vanilla skulltype best associated with the ItemStack provided. - - Note: this method does not perform any username, UUID, or texture checks, so any skull that is not directly supported in the current server (such as a dragon head in 1.8) will return SkullType.PLAYER instead. - It only determines what skulltype is associated with the vanilla types available.
      -
      -
      Parameters:
      -
      s - The itemstack to check
      -
      Returns:
      -
      the skulltype associated with the object.
      -
      -
      -
    • -
    • -
      -

      getSkullType

      -
      SkullType getSkullType​(BlockState s)
      -
      Gets the vanilla skulltype best associated with the BlockState provided. - - Note: this method does not perform any username, UUID, or texture checks, so any skull that is not directly supported in the current server (such as a dragon head in 1.8) will return SkullType.PLAYER instead. - It only determines what skulltype is associated with the vanilla types available.
      -
      -
      Parameters:
      -
      s - The blockstate to check
      -
      Returns:
      -
      the skulltype associated with the object.
      -
      -
      -
    • -
    • -
      -

      isHead

      -
      boolean isHead​(ItemStack s)
      -
      Checks whether the itemstack corresponds a vanilla head or skull of some type.
      -
      -
      Parameters:
      -
      s - the itemstack to check
      -
      Returns:
      -
      whether the object is a head
      -
      -
      -
    • -
    • -
      -

      isHead

      -
      boolean isHead​(BlockState s)
      -
      Checks whether the blockstate corresponds a vanilla head or skull of some type.
      -
      -
      Parameters:
      -
      s - the blockstate to check
      -
      Returns:
      -
      whether the object is a head
      -
      -
      -
    • -
    • -
      -

      isPlayerhead

      -
      boolean isPlayerhead​(ItemStack s)
      -
      Checks whether the itemstack corresponds to a vanilla player-head type
      -
      -
      Parameters:
      -
      s - the itemstack to check
      -
      Returns:
      -
      whether the object is a playerhead
      -
      -
      -
    • -
    • -
      -

      isPlayerhead

      -
      boolean isPlayerhead​(BlockState s)
      -
      Checks whether the blockstate corresponds to a vanilla player-head type
      -
      -
      Parameters:
      -
      s - the blockstate to check
      -
      Returns:
      -
      whether the object is a playerhead
      -
      -
      -
    • -
    • -
      -

      isMobhead

      -
      boolean isMobhead​(ItemStack s)
      -
      Checks whether the itemstack corresponds to a vanilla head or skull and is not a player-head type
      -
      -
      Parameters:
      -
      s - the itemstack to check
      -
      Returns:
      -
      whether the object is a mobhead
      -
      -
      -
    • -
    • -
      -

      isMobhead

      -
      boolean isMobhead​(BlockState s)
      -
      Checks whether the blockstate corresponds to a vanilla head or skull and is not a player-head type
      -
      -
      Parameters:
      -
      s - the blockstate to check
      -
      Returns:
      -
      whether the object is a mobhead
      -
      -
      -
    • -
    • -
      -

      getCompatibleNameFromEntity

      -
      java.lang.String getCompatibleNameFromEntity​(Entity e)
      -
      Gets a forward-portable name of an entity. - - This gets the name of the entity as it appears in the EntityType enum of newer bukkit versions, even if the mob is a variant in the current version. - This value can be used to correspond entities to their heads.
      -
      -
      Parameters:
      -
      e - the entity to check
      -
      Returns:
      -
      the portable name of the string.
      -
      See Also:
      -
      EntityType
      -
      -
      -
    • -
    • -
      -

      getEntityTypeFromTypename

      -
      EntityType getEntityTypeFromTypename​(java.lang.String ename)
      -
      Gets an entity type from the Typename of an entity. - This exists because EntityType names can change between Spigot-API versions.
      -
      -
      Parameters:
      -
      ename - the entity-type name requested.
      -
      Returns:
      -
      the corresponding entity-type, or null if it doesn't exist.
      -
      -
      -
    • -
    • -
      -

      setProfile

      -
      boolean setProfile​(ItemMeta headMeta, -java.util.UUID uuid, -java.lang.String texture)
      -
      Set a profile field in the supplied item meta using a UUID and Texture string
      -
      -
      Parameters:
      -
      headMeta - the item meta to apply the profile on
      -
      uuid - A UUID to be associated with this profile and texture
      -
      texture - The Base64-encoded Texture-URL tags.
      -
      Returns:
      -
      True: the profile was successfully set. False: the profile could not be set.
      -
      -
      -
    • -
    • -
      -

      setProfile

      -
      boolean setProfile​(Skull headBlockState, -java.util.UUID uuid, -java.lang.String texture)
      -
      Set a profile field in the supplied block state using a UUID and Texture string
      -
      -
      Parameters:
      -
      headBlockState - the block state to apply the profile on
      -
      uuid - A UUID to be associated with this profile and texture
      -
      texture - The Base64-encoded Texture-URL tags.
      -
      Returns:
      -
      True: the profile was successfully set. False: the profile could not be set.
      -
      -
      -
    • -
    • -
      -

      getOfflinePlayerByName

      -
      OfflinePlayer getOfflinePlayerByName​(java.lang.String username)
      -
      Gets a player by their username
      -
      -
      Parameters:
      -
      username - the username of the player
      -
      Returns:
      -
      the offline-player
      -
      -
      -
    • -
    • -
      -

      getItemInMainHand

      -
      ItemStack getItemInMainHand​(LivingEntity p)
      -
      -
    • -
    • -
      -

      getProfile

      -
      @Deprecated -@Nullable -java.lang.Object getProfile​(ItemMeta headMeta) - throws java.lang.IllegalStateException
      -
      Deprecated. -
      This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
      -
      -
      Gets the Profile object associated with a head, if possible. - The return type is offered as an Object to remove reliance on authlib. - NOTE: depending on server implementation, the Profile is not guaranteed to be a GameProfile - you should not act on this object directly, but only get/set it. - Providers that are not capable of retrieving this should throw an IllegalStateException.
      -
      -
      Parameters:
      -
      headMeta - the meta of the head item
      -
      Returns:
      -
      the Profile object object for the head, or null.
      -
      Throws:
      -
      java.lang.IllegalStateException - when the provider does not support GameProfiile access.
      -
      Since:
      -
      5.2.12
      -
      -
      -
    • -
    • -
      -

      getProfile

      -
      @Deprecated -@Nullable -java.lang.Object getProfile​(Skull headBlockState) - throws java.lang.IllegalStateException
      -
      Deprecated. -
      This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
      -
      -
      Gets the Profile object associated with a head, if possible. - The return type is offered as an Object to remove reliance on authlib. - NOTE: depending on server implementation, the Profile is not guaranteed to be a GameProfile - you should not act on this object directly, but only get/set it.
      -
      -
      Parameters:
      -
      headBlockState - the blockstate of the head block
      -
      Returns:
      -
      the Profile object object for the head, or null.
      -
      Throws:
      -
      java.lang.IllegalStateException - when the provider does not support GameProfiile access.
      -
      Since:
      -
      5.2.12
      -
      -
      -
    • -
    • -
      -

      setProfile

      -
      @Deprecated -boolean setProfile​(ItemMeta headMeta, -java.lang.Object profile) - throws java.lang.IllegalStateException, -java.lang.IllegalArgumentException
      -
      Deprecated. -
      This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
      -
      -
      Sets the Profile object on a head, if possible. - Providers that are not capable of retrieving this should throw an IllegalStateException. - IllegalArgumentException should be thrown if the input is not null and also not a Profile object type. - NOTE: depending on server implementation, the Profile is not guaranteed to be a GameProfile - you should not act on this object directly, but only get/set it.
      -
      -
      Parameters:
      -
      headMeta - the meta of the head item
      -
      profile - the Profile object object to set in the head
      -
      Returns:
      -
      whether setting the profile field succeeded
      -
      Throws:
      -
      java.lang.IllegalStateException - when the provider does not support GameProfiile access.
      -
      java.lang.IllegalArgumentException - when the the input profile was not am acceptable Profile object type and not null
      -
      Since:
      -
      5.2.12
      -
      -
      -
    • -
    • -
      -

      setProfile

      -
      @Deprecated -boolean setProfile​(Skull headBlockState, -java.lang.Object profile) - throws java.lang.IllegalStateException, -java.lang.IllegalArgumentException
      -
      Deprecated. -
      This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
      -
      -
      Sets the Profile object on a head, if possible. - Providers that are not capable of retrieving this should throw an IllegalStateException. - IllegalArgumentException should be thrown if the input is not null and also not a Profile object type. - NOTE: depending on server implementation, the Profile is not guaranteed to be a GameProfile - you should not act on this object directly, but only get/set it.
      -
      -
      Parameters:
      -
      headBlockState - the blockstate of the head block
      -
      profile - the Profile object object to set in the head
      -
      Returns:
      -
      whether setting the profile field succeeded
      -
      Throws:
      -
      java.lang.IllegalStateException - when the provider does not support GameProfiile access.
      -
      java.lang.IllegalArgumentException - when the the input profile was not am acceptable Profile object type and not null
      -
      Since:
      -
      5.2.12
      -
      -
      -
    • -
    • -
      -

      getOptionalProfile

      -
      java.util.Optional<java.lang.Object> getOptionalProfile​(ItemMeta skullMeta)
      -
      Gets the Optional Profile object for a head. - This method must return an Optional object which 'is present' if the profile has a retrievable value (including null). - Otherwise, the Optional must be 'empty'.
      -
      -
      Parameters:
      -
      skullMeta - the meta for a head item
      -
      Returns:
      -
      The optional profile object
      -
      -
      -
    • -
    • -
      -

      getOptionalProfile

      -
      java.util.Optional<java.lang.Object> getOptionalProfile​(Skull skullState)
      -
      Gets the Optional Profile object for a head. - This method must return an Optional object which 'is present' if the profile has a retrievable value (including null). - Otherwise, the Optional must be 'empty'. - NOTE: depending on server implementation, the Profile is not guaranteed to be a GameProfile or even present - you should not act on this object directly, but only get/set it.
      -
      -
      Parameters:
      -
      skullState - the blockstate for a head item
      -
      Returns:
      -
      The optional profile object
      -
      -
      -
    • -
    • -
      -

      setOptionalProfile

      -
      boolean setOptionalProfile​(Skull skullState, -java.util.Optional<java.lang.Object> profile)
      -
      Sets the Optional Profile object for a head. - If the Optional value is 'empty' (not present), then nothing happens. - If the Optional value is present, then it is set (even if it is null). - NOTE: depending on server implementation, the Profile is not guaranteed to be a GameProfile or even present - you should not act on this object directly, but only get/set it.
      -
      -
      Parameters:
      -
      skullState - the blockstate for a head item
      -
      profile - the Optional profile object to set
      -
      Returns:
      -
      whether setting the profile succeeded. (nothing happening is considered failure).
      -
      -
      -
    • -
    • -
      -

      setOptionalProfile

      -
      boolean setOptionalProfile​(ItemMeta skullMeta, -java.util.Optional<java.lang.Object> profile)
      -
      Sets the Optional Profile object for a head. - If the Optional value is 'empty' (not present), then nothing happens. - If the Optional value is present, then it is set (even if it is null). - NOTE: depending on server implementation, the Profile is not guaranteed to be a GameProfile or even present - you should not act on this object directly, but only get/set it.
      -
      -
      Parameters:
      -
      skullMeta - the meta for a head item
      -
      profile - the Optional profile object to set
      -
      Returns:
      -
      whether setting the profile succeeded. (nothing happening is considered failure).
      -
      -
      -
    • -
    • -
      -

      setCompatibleProfile

      -
      boolean setCompatibleProfile​(java.lang.Object skull, -CompatibleProfile profile) - throws java.lang.IllegalArgumentException
      -
      Sets a profile on a block or item. - If the skull parameter is not the proper type, an except may be thrown.
      -
      -
      Parameters:
      -
      skull - an object of type Skull (BlockState) or SkullMeta
      -
      profile - the compatible profile object, or specific implementation child object.
      -
      Returns:
      -
      whether setting a profile succeeded.
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if the skull parameter was not the specified type
      -
      Since:
      -
      5.2.13-SNAPSHOT
      -
      -
      -
    • -
    • -
      -

      getCompatibleProfile

      -
      CompatibleProfile getCompatibleProfile​(java.lang.Object skull) - throws java.lang.IllegalArgumentException
      -
      Gets a profile on a block or item. - If the skull parameter is not
      -
      -
      Parameters:
      -
      skull - an object of type Skull (BlockState) or SkullMeta
      -
      Returns:
      -
      the profile from the head if it exists, or null
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if the skull parameter was not the specified type
      -
      Since:
      -
      5.2.13-SNAPSHOT
      -
      -
      -
    • -
    • -
      -

      createCompatibleProfile

      -
      CompatibleProfile createCompatibleProfile​(@Nullable -java.lang.String name, -@Nullable -java.util.UUID id, -@Nullable -java.lang.String texture) - throws java.lang.IllegalArgumentException
      -
      Create a compatible profile object with the provided parameters. - Note: name and id cannot both be null, only one can be null.
      -
      -
      Parameters:
      -
      name - the owner username of the head (this should not be a custom name - use null instead)
      -
      id - A UUID to be associated with this profile and texture (this may be a custom/unique value that you manage - you are strongly recommended to choose a static but randomly-generated ID)
      -
      texture - The Base64-encoded Texture-URL tags. (this may be null to set no texture)
      -
      Returns:
      -
      the CompatibleProfile object
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if both the name and id are null.
      -
      Since:
      -
      5.2.13-SNAPSHOT
      -
      -
      -
    • -
    • -
      -

      getCompatibleHeadItem

      -
      @NotNull -ItemStack getCompatibleHeadItem​(@NotNull -CompatibleSkullMaterial material, -int amount)
      -
      Gets the head used as a base for a displaying a given vanilla skull type. - Note: if the particular skull-type is not supported in your server version, this will create a Player-type head - for you to use for skinning/placeholding. - If you want more control over head happens in these cases, consider using CompatibleSkullMaterial directly.
      -
      -
      Parameters:
      -
      material - the supported compatible skull material/type
      -
      amount - amount of items to create in the stack
      -
      Returns:
      -
      an ItemStack of the head
      -
      Since:
      -
      5.2.13-SNAPSHOT
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibilitySupport.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibilitySupport.html deleted file mode 100644 index edaba5af..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibilitySupport.html +++ /dev/null @@ -1,249 +0,0 @@ - - - - - -CompatibilitySupport (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class CompatibilitySupport

-
-
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.CompatibilitySupport
-
-
-
-
public final class CompatibilitySupport
-extends java.lang.Object
-
Class that holds supported compatibility implementations in this release. - By default, before shading, this is mostly empty and it is up to the - downstream projects to add support. - Downstream projects that shade the package into their project should exclude - or replace this class as needed.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Field Summary

    -
    - - - - - - - - - - - - - - - - -
    Fields
    Modifier and TypeFieldDescription
    static java.util.HashMap<java.lang.String,​java.lang.Integer[][]>VERSIONS -
    Map containing the supported server implementations and their supported - versions.
    -
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    static booleanisFinalized() -
    Specifies whether compatibility support has been added by a downstream - project yet.
    -
    -
    -
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Field Details

    -
      -
    • -
      -

      VERSIONS

      -
      public static final java.util.HashMap<java.lang.String,​java.lang.Integer[][]> VERSIONS
      -
      Map containing the supported server implementations and their supported - versions. - This list must be in order of descending version numbers for each type. - Types do not have to be in any specific order. - For example: VERSIONS.put("craftbukkit", new Integer[][]{ {1,16},{1,13},{1,8} });
      -
      -
    • -
    -
    -
  • - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      isFinalized

      -
      public static boolean isFinalized()
      -
      Specifies whether compatibility support has been added by a downstream - project yet. - If this is false, the project was not created properly.
      -
      -
      Returns:
      -
      whether support has been added
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatiblePlugins.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatiblePlugins.html deleted file mode 100644 index b4b90ec2..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatiblePlugins.html +++ /dev/null @@ -1,367 +0,0 @@ - - - - - -CompatiblePlugins (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class CompatiblePlugins

-
-
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.CompatiblePlugins
-
-
-
-
public final class CompatiblePlugins
-extends java.lang.Object
-
Class providing methods and information for inter-plugin compatibility. - - This class may attempt to load some present configuration values. - You can avoid this using your plugin's config directly by using the - init(plugin,config) method.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Field Summary

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Fields
    Modifier and TypeFieldDescription
    static HeadPluginCompatibilityheads -
    Generic head support class that determines handling of detected plugin-heads (eg: being able to ignore them)
    -
    static NoCheatPlusCompatibilitynocheatplus -
    NoCheatPlus compatibility class instance
    -
    static ProtectionPluginCompatibilityprotection -
    Generic protection-plugin compatibility class instance
    -
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    static voidinit​(Plugin parentPluginInstance) -
    Initialize plugin support classes.
    -
    static voidinit​(Plugin parentPluginInstance, -ConfigurationSection config) -
    Initialize plugin support classes.
    -
    static booleanisReady() -
    Checks whether the plugin compatibility classes are ready for use.
    -
    static voidreloadConfig() 
    static booleantestBlockBreak​(Block block, -Player player) -
    Test of a simulated block break succeeds (considering all applicable - plugin support classes).
    -
    -
    -
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Field Details

    - -
    -
  • - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      init

      -
      public static void init​(Plugin parentPluginInstance)
      -
      Initialize plugin support classes. - This should be done during plugin Enable or afterwards - you may need to - add a SoftDepend entry for the plugin to be detected in onEnable. -

      - Note: it's recommended to call this *after* Compatibility.init so that - supported plugin classes have access to other compatibility methods. -

      - If this method is used, the top level parent plugin config section is - used for plugin-support config entries.

      -
      -
      Parameters:
      -
      parentPluginInstance - the plugin requesting compatibility support
      -
      -
      -
    • -
    • -
      -

      init

      -
      public static void init​(Plugin parentPluginInstance, -ConfigurationSection config)
      -
      Initialize plugin support classes. - This should be done during plugin Enable or afterwards - you may need to - add a SoftDepend entry for the plugin to be detected in onEnable. -

      - Note: it's recommended to call this *after* Compatibility.init so that - supported plugin classes have access to other compatibility methods.

      -
      -
      Parameters:
      -
      parentPluginInstance - the plugin requesting compatibility support
      -
      config - the configuration section to use for plugin-support entries
      -
      -
      -
    • -
    • -
      -

      reloadConfig

      -
      public static void reloadConfig()
      -
      -
    • -
    • -
      -

      testBlockBreak

      -
      public static boolean testBlockBreak​(Block block, -Player player)
      -
      Test of a simulated block break succeeds (considering all applicable - plugin support classes). - This method includes exempting fastbreak in NCP before testing.
      -
      -
      Parameters:
      -
      block - the block being broken
      -
      player - the player doing the breaking
      -
      Returns:
      -
      whether the block break succeeded or failed (was cancelled).
      -
      -
      -
    • -
    • -
      -

      isReady

      -
      public static boolean isReady()
      -
      Checks whether the plugin compatibility classes are ready for use. - (whether the class init completed without exception)
      -
      -
      Returns:
      -
      whether the class is ready
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibleProfile.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibleProfile.html deleted file mode 100644 index 0588d050..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibleProfile.html +++ /dev/null @@ -1,630 +0,0 @@ - - - - - -CompatibleProfile (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class CompatibleProfile

-
-
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
-
-
public abstract class CompatibleProfile
-extends java.lang.Object
-
Utility class that may be used by compatibility providers to handle head profile information. - A profile is defined as a username,id, and optional properties such as a texture. - Using this class is currently optional except where required in CompatibilityProvider - Implementations should treat a null or empty value for any field as not existing/not present.
-
-
Since:
-
5.2.13-SNAPSHOT
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Field Summary

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Fields
    Modifier and TypeFieldDescription
    protected java.util.UUIDid 
    protected java.lang.Stringname 
    protected java.lang.Stringtextures 
    -
    -
    -
  • - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Constructors
    ModifierConstructorDescription
    protected CompatibleProfile() -
    Internal constructor only be used for blank objects by child classes.
    -
     CompatibleProfile​(java.lang.Object internalProfile) -
    Constructs a profile object from some implementation-defined representation of profiles.
    -
     CompatibleProfile​(java.util.UUID id, -java.lang.String name) -
    Constructs an object containing information about a head.
    -
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    java.util.UUIDgetId() -
    Get the UUID associated with the head profile.
    -
    java.lang.StringgetName() -
    The username associated with the head profile.
    -
    java.lang.StringgetOwner() -
    Get the owner username.
    -
    OfflinePlayergetOwningPlayer() -
    Gets the OfflinePlayer associated with the profile.
    -
    java.lang.StringgetTextures() -
    Get the texture Base64 textures tag string associated with the profile.
    -
    static booleanhasField​(java.lang.String obj) 
    static booleanhasField​(java.util.UUID obj) 
    booleanhasId() -
    whether the id is present (not null)
    -
    booleanhasName() -
    whether the username is present (not null)
    -
    booleanhasOwner() -
    Whether the owner username is present - equivalent to hasName() but provided for Bukkit similarity.
    -
    static booleanhasRequiredFields​(java.util.UUID id, -java.lang.String name) 
    booleanhasTextures() -
    whether the texture string is present (not null)
    -
    abstract voidsetFromInternalObject​(java.lang.Object internalProfile) -
    Sets fields/values of the profile object from an implementation-defined representation of profiles.
    -
    voidsetId​(java.util.UUID id) -
    Set the UUID associated with the head profile.
    -
    voidsetName​(java.lang.String name) -
    Set the username associated with the head profile.
    -
    voidsetTextures​(java.lang.String texture) -
    Set the texture Base64 textures tag string associated with the profile.
    -
    abstract java.lang.ObjecttoInternalObject() -
    Gets an implementation-defined representation for the profile information.
    -
    -
    -
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Field Details

    -
      -
    • -
      -

      id

      -
      protected java.util.UUID id
      -
      -
    • -
    • -
      -

      name

      -
      protected java.lang.String name
      -
      -
    • -
    • -
      -

      textures

      -
      protected java.lang.String textures
      -
      -
    • -
    -
    -
  • - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      CompatibleProfile

      -
      protected CompatibleProfile()
      -
      Internal constructor only be used for blank objects by child classes.
      -
      -
    • -
    • -
      -

      CompatibleProfile

      -
      public CompatibleProfile​(@Nullable -java.util.UUID id, -@Nullable -java.lang.String name)
      -
      Constructs an object containing information about a head.
      -
      -
      Parameters:
      -
      id - the UUID of the head (either a player's or a unique one for each head type)
      -
      name - the username of the head (custom heads should be null)
      -
      -
      -
    • -
    • -
      -

      CompatibleProfile

      -
      public CompatibleProfile​(java.lang.Object internalProfile)
      -
      Constructs a profile object from some implementation-defined representation of profiles. - This method should be overridden to prevent exceptions
      -
      -
      Parameters:
      -
      internalProfile - the implementation-defined representation of a profile.
      -
      -
      -
    • -
    -
    -
  • - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      hasField

      -
      public static boolean hasField​(java.util.UUID obj)
      -
      -
    • -
    • -
      -

      hasField

      -
      public static boolean hasField​(java.lang.String obj)
      -
      -
    • -
    • -
      -

      hasRequiredFields

      -
      public static boolean hasRequiredFields​(java.util.UUID id, -java.lang.String name)
      -
      -
    • -
    • -
      -

      setFromInternalObject

      -
      public abstract void setFromInternalObject​(java.lang.Object internalProfile) - throws java.lang.IllegalArgumentException
      -
      Sets fields/values of the profile object from an implementation-defined representation of profiles. - This method is overridden by each implementation. - If no internal implementation is available, providers should take CompatibleProfile itself instead of an exception. - An IllegalArgumentException may be thrown if the object type is incorrect.
      -
      -
      Parameters:
      -
      internalProfile - implementation-defined profile representation.
      -
      Throws:
      -
      java.lang.IllegalArgumentException - when the parameter was not an internal type used by the current provider.
      -
      -
      -
    • -
    • -
      -

      toInternalObject

      -
      public abstract java.lang.Object toInternalObject()
      -
      Gets an implementation-defined representation for the profile information. - If no internal implementation is available, providers should return CompatibleProfile itself instead of null/exception
      -
      -
      Returns:
      -
      the implementation-defined profile object.
      -
      -
      -
    • -
    • -
      -

      hasId

      -
      public boolean hasId()
      -
      whether the id is present (not null)
      -
      -
      Returns:
      -
      whether the id is present (not null)
      -
      -
      -
    • -
    • -
      -

      hasName

      -
      public boolean hasName()
      -
      whether the username is present (not null)
      -
      -
      Returns:
      -
      whether the username is present (not null)
      -
      -
      -
    • -
    • -
      -

      hasTextures

      -
      public boolean hasTextures()
      -
      whether the texture string is present (not null)
      -
      -
      Returns:
      -
      whether the texture string is present (not null)
      -
      -
      -
    • -
    • -
      -

      getId

      -
      @Nullable -public java.util.UUID getId()
      -
      Get the UUID associated with the head profile.
      -
      -
      Returns:
      -
      the id
      -
      -
      -
    • -
    • -
      -

      setId

      -
      public void setId​(java.util.UUID id)
      -
      Set the UUID associated with the head profile. - This should be either the UUID of a player or a unique ID for each head type.
      -
      -
      Parameters:
      -
      id - the ID to set
      -
      -
      -
    • -
    • -
      -

      getName

      -
      @Nullable -public java.lang.String getName()
      -
      The username associated with the head profile.
      -
      -
      Returns:
      -
      the username
      -
      -
      -
    • -
    • -
      -

      setName

      -
      public void setName​(java.lang.String name)
      -
      Set the username associated with the head profile.
      -
      -
      Parameters:
      -
      name - the username
      -
      -
      -
    • -
    • -
      -

      getTextures

      -
      @Nullable -public java.lang.String getTextures()
      -
      Get the texture Base64 textures tag string associated with the profile.
      -
      -
      Returns:
      -
      textures string
      -
      -
      -
    • -
    • -
      -

      setTextures

      -
      public void setTextures​(@Nullable -java.lang.String texture)
      -
      Set the texture Base64 textures tag string associated with the profile.
      -
      -
      Parameters:
      -
      texture - textures string
      -
      -
      -
    • -
    • -
      -

      hasOwner

      -
      public boolean hasOwner()
      -
      Whether the owner username is present - equivalent to hasName() but provided for Bukkit similarity.
      -
      -
      Returns:
      -
      whether the owner username exists
      -
      -
      -
    • -
    • -
      -

      getOwner

      -
      public java.lang.String getOwner()
      -
      Get the owner username. - equivalent to getName() but provided for Bukkit similarity.
      -
      -
      Returns:
      -
      the owner username
      -
      -
      -
    • -
    • -
      -

      getOwningPlayer

      -
      public OfflinePlayer getOwningPlayer()
      -
      Gets the OfflinePlayer associated with the profile. - Uses the same logic order that bukkit does: returns the ID-based Player if a player exists, OR the name-based player if a username exists, but only one will be checked.
      -
      -
      Returns:
      -
      the player, or null
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibleSkullMaterial.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibleSkullMaterial.html deleted file mode 100644 index c3142e9a..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/CompatibleSkullMaterial.html +++ /dev/null @@ -1,461 +0,0 @@ - - - - - -CompatibleSkullMaterial (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Enum CompatibleSkullMaterial

-
-
java.lang.Object -
java.lang.Enum<CompatibleSkullMaterial> -
com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable, java.lang.Comparable<CompatibleSkullMaterial>, java.lang.constant.Constable
-
-
-
public enum CompatibleSkullMaterial
-extends java.lang.Enum<CompatibleSkullMaterial>
-
An enumeration of vanilla skull/head materials (items and blocks) that can - possibly be supported. -

- This abstracts both new materials and old materials+datavalues (skull - variants) into matching categories by enum along with their - implementation-specific details. -

- Entries from newer versions may appear here, but are backed by playerhead - materials if they are not supported - which can be checked with - isSupported(). - Generally this corresponds with an entry for each entry in SkullType

-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
See Also:
-
isSupported(), -SkullType
-
-
-
-
    - -
  • -
    -

    Nested Class Summary

    -
    -

    Nested classes/interfaces inherited from class java.lang.Enum

    -java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    -
    -
  • - -
  • -
    -

    Enum Constant Summary

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Enum Constants
    Enum ConstantDescription
    CREEPER 
    ENDER_DRAGON -
    1.9 dragon head
    -
    PLAYER 
    SKELETON 
    WITHER_SKELETON 
    ZOMBIE 
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    static CompatibleSkullMaterialget​(SkullType type) -
    Finds a skull material enum entry associated with the vanilla skull-type.
    -
    static CompatibleSkullMaterialget​(BlockState state) -
    Finds a skull material enum entry that best fits with the provided - BlockState.
    -
    static CompatibleSkullMaterialget​(ItemStack stack) -
    Finds a skull material enum entry that best fits with the provided - ItemStack.
    -
    SkullDetailsgetDetails() -
    Gets a class describing implementation-specific details about a vanilla - skull
    -
    booleanisSupported() -
    Whether this skull material is supported as a vanilla item/block type.
    -
    static CompatibleSkullMaterialvalueOf​(java.lang.String name) -
    Returns the enum constant of this type with the specified name.
    -
    static CompatibleSkullMaterial[]values() -
    Returns an array containing the constants of this enum type, in -the order they are declared.
    -
    -
    -
    -
    -

    Methods inherited from class java.lang.Enum

    -clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
    -
    -

    Methods inherited from class java.lang.Object

    -getClass, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Enum Constant Details

    - -
    -
  • - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      values

      -
      public static CompatibleSkullMaterial[] values()
      -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
      Returns:
      -
      an array containing the constants of this enum type, in the order they are declared
      -
      -
      -
    • -
    • -
      -

      valueOf

      -
      public static CompatibleSkullMaterial valueOf​(java.lang.String name)
      -
      Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
      -
      -
      Parameters:
      -
      name - the name of the enum constant to be returned.
      -
      Returns:
      -
      the enum constant with the specified name
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      -
      java.lang.NullPointerException - if the argument is null
      -
      -
      -
    • -
    • -
      -

      getDetails

      -
      public SkullDetails getDetails()
      -
      Gets a class describing implementation-specific details about a vanilla - skull
      -
      -
      Returns:
      -
      the object with details about the skull
      -
      -
      -
    • -
    • -
      -

      isSupported

      -
      public boolean isSupported()
      -
      Whether this skull material is supported as a vanilla item/block type. -

      - If this returns false, the skull is only supported as a playerhead (the - PLAYER type will return true however).

      -
      -
      Returns:
      -
      whether the skull is supported as a vanilla type
      -
      See Also:
      -
      SkullDetails.isBackedByPlayerhead()
      -
      -
      -
    • -
    • -
      -

      get

      -
      public static CompatibleSkullMaterial get​(SkullType type)
      -
      Finds a skull material enum entry associated with the vanilla skull-type.
      -
      -
      Parameters:
      -
      type - the vanilla skull type to reference
      -
      Returns:
      -
      the skull material enum entry
      -
      -
      -
    • -
    • -
      -

      get

      -
      public static CompatibleSkullMaterial get​(ItemStack stack)
      -
      Finds a skull material enum entry that best fits with the provided - ItemStack. -

      - Heads that are not supported in the current server version will return - PLAYER using this method, instead of their original enum entry.

      -
      -
      Parameters:
      -
      stack - the itemstack to check
      -
      Returns:
      -
      the skull material enum entry
      -
      See Also:
      -
      CompatibilityProvider.getSkullType(org.bukkit.inventory.ItemStack)
      -
      -
      -
    • -
    • -
      -

      get

      -
      public static CompatibleSkullMaterial get​(BlockState state)
      -
      Finds a skull material enum entry that best fits with the provided - BlockState. -

      - Heads that are not supported in the current server version will return - PLAYER using this method, instead of their original enum entry.

      -
      -
      Parameters:
      -
      state - the blockstate to check
      -
      Returns:
      -
      the skull material enum entry
      -
      See Also:
      -
      CompatibilityProvider.getSkullType(org.bukkit.block.BlockState)
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/RuntimeReferences.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/RuntimeReferences.html deleted file mode 100644 index d77a9d87..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/RuntimeReferences.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - -RuntimeReferences (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class RuntimeReferences

-
-
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.RuntimeReferences
-
-
-
-
public final class RuntimeReferences
-extends java.lang.Object
-
Provides methods to perform runtime lookups of values by name (eg: enums)
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    static java.lang.Class<?>getClass​(java.lang.String classname) 
    static CompatibleSkullMaterialgetCompatibleMaterialByName​(java.lang.String name) 
    static EntityTypegetEntityTypeByName​(java.lang.String name) 
    static MaterialgetMaterialByName​(java.lang.String name) 
    static java.lang.reflect.MethodgetMethod​(java.lang.Class<?> classobj, -java.lang.String methodname, -java.lang.Class<?>... parameterTypes) 
    static java.lang.reflect.MethodgetMethod​(java.lang.String classname, -java.lang.String methodname, -java.lang.Class<?>... parameterTypes) 
    static SkullTypegetSkullTypeByName​(java.lang.String name) 
    static booleanhasClass​(java.lang.String classname) 
    -
    -
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      getCompatibleMaterialByName

      -
      public static CompatibleSkullMaterial getCompatibleMaterialByName​(java.lang.String name)
      -
      -
    • -
    • -
      -

      getEntityTypeByName

      -
      public static EntityType getEntityTypeByName​(java.lang.String name)
      -
      -
    • -
    • -
      -

      getMaterialByName

      -
      public static Material getMaterialByName​(java.lang.String name)
      -
      -
    • -
    • -
      -

      getSkullTypeByName

      -
      public static SkullType getSkullTypeByName​(java.lang.String name)
      -
      -
    • -
    • -
      -

      getClass

      -
      public static java.lang.Class<?> getClass​(java.lang.String classname)
      -
      -
    • -
    • -
      -

      getMethod

      -
      public static java.lang.reflect.Method getMethod​(java.lang.Class<?> classobj, -java.lang.String methodname, -java.lang.Class<?>... parameterTypes)
      -
      -
    • -
    • -
      -

      getMethod

      -
      public static java.lang.reflect.Method getMethod​(java.lang.String classname, -java.lang.String methodname, -java.lang.Class<?>... parameterTypes)
      -
      -
    • -
    • -
      -

      hasClass

      -
      public static boolean hasClass​(java.lang.String classname)
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/SkullDetails.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/SkullDetails.html deleted file mode 100644 index a47c7bae..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/SkullDetails.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - -SkullDetails (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Interface SkullDetails

-
-
-
-
public interface SkullDetails
-
Defines an interface of implementation-specific details and methods relating - to a skull item/block. - - Generally, a set of Skull implementation details is available for each - vanilla skull type. - - Depending on implemnentation, some of the block and item materials returned - by methods here may be the same or different.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    ItemStackcreateItemStack​(int quantity) -
    Create an ItemStack of a given quantity for this specific skull - implementation.
    -
    MaterialgetFloorMaterial() -
    Gets the bukkit material corresponding to a block of this skull placed on - a floor (not against a wall)
    -
    MaterialgetItemMaterial() -
    Gets the bukkit material corresponding to an Item of this skull
    -
    MaterialgetWallMaterial() -
    Gets the bukkit material corresponding to a block of this skull placed - against a wall (not on a floor or other placement)
    -
    booleanisBackedByPlayerhead() -
    Gets whether the skull must be implemented with a playerhead
    -
    booleanisSkinnable() -
    Gets whether this skull, as implemented, is texturable or - username-skinnable.
    -
    booleanisVariant() -
    Gets whether the skull is a variant type (legacy heads based on skeleton - skull variants).
    -
    -
    -
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      isVariant

      -
      boolean isVariant()
      -
      Gets whether the skull is a variant type (legacy heads based on skeleton - skull variants).
      -
      -
      Returns:
      -
      whether the skull is a variant type
      -
      -
      -
    • -
    • -
      -

      isBackedByPlayerhead

      -
      boolean isBackedByPlayerhead()
      -
      Gets whether the skull must be implemented with a playerhead
      -
      -
      Returns:
      -
      whether the skull must be implemented with a playerhead
      -
      -
      -
    • -
    • -
      -

      isSkinnable

      -
      boolean isSkinnable()
      -
      Gets whether this skull, as implemented, is texturable or - username-skinnable.
      -
      -
      Returns:
      -
      whether this skull, as implemented, is texturable or - username-skinnable.
      -
      -
      -
    • -
    • -
      -

      createItemStack

      -
      ItemStack createItemStack​(int quantity)
      -
      Create an ItemStack of a given quantity for this specific skull - implementation.
      -
      -
      Parameters:
      -
      quantity - the number of skulls to create in the stack
      -
      Returns:
      -
      the itemstack that was created
      -
      -
      -
    • -
    • -
      -

      getItemMaterial

      -
      Material getItemMaterial()
      -
      Gets the bukkit material corresponding to an Item of this skull
      -
      -
      Returns:
      -
      the material requested
      -
      -
      -
    • -
    • -
      -

      getFloorMaterial

      -
      Material getFloorMaterial()
      -
      Gets the bukkit material corresponding to a block of this skull placed on - a floor (not against a wall)
      -
      -
      Returns:
      -
      the material requested
      -
      -
      -
    • -
    • -
      -

      getWallMaterial

      -
      Material getWallMaterial()
      -
      Gets the bukkit material corresponding to a block of this skull placed - against a wall (not on a floor or other placement)
      -
      -
      Returns:
      -
      the material requested
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/SkullType.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/SkullType.html deleted file mode 100644 index a539652b..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/SkullType.html +++ /dev/null @@ -1,384 +0,0 @@ - - - - - -SkullType (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- - -
java.lang.Object -
java.lang.Enum<SkullType> -
com.github.crashdemons.playerheads.compatibility.SkullType
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable, java.lang.Comparable<SkullType>, java.lang.constant.Constable
-
-
-
public enum SkullType
-extends java.lang.Enum<SkullType>
-
An enumeration of skulls and heads that are supported in vanilla servers. -

- This enum corresponds in ordinal value to entries of the deprecated Bukkit - SkullType enum, - however the names here instead generally correspond to the vanilla item name - (Material). -

- This enum adds information to entries about whether each type is a proper - skull or a head - which is relevant to specific implementation materials and - naming.

-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
See Also:
-
Material, -SkullType
-
-
-
-
    - -
  • -
    -

    Nested Class Summary

    -
    -

    Nested classes/interfaces inherited from class java.lang.Enum

    -java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    -
    -
  • - -
  • -
    -

    Enum Constant Summary

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Enum Constants
    Enum ConstantDescription
    CREEPER 
    DRAGON 
    PLAYER 
    SKELETON 
    WITHER_SKELETON 
    ZOMBIE 
    -
    -
    -
  • - -
  • -
    -

    Field Summary

    -
    - - - - - - - - - - - - - - - - -
    Fields
    Modifier and TypeFieldDescription
    booleanisSkull -
    A property specifying whether the skulltype entry is a proper skull (semantically - for types of skeletons, etc) or a - head.
    -
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    static SkullTypevalueOf​(java.lang.String name) -
    Returns the enum constant of this type with the specified name.
    -
    static SkullType[]values() -
    Returns an array containing the constants of this enum type, in -the order they are declared.
    -
    -
    -
    -
    -

    Methods inherited from class java.lang.Enum

    -clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
    -
    -

    Methods inherited from class java.lang.Object

    -getClass, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Enum Constant Details

    -
      -
    • -
      -

      SKELETON

      -
      public static final SkullType SKELETON
      -
      -
    • -
    • -
      -

      WITHER_SKELETON

      -
      public static final SkullType WITHER_SKELETON
      -
      -
    • -
    • -
      -

      ZOMBIE

      -
      public static final SkullType ZOMBIE
      -
      -
    • -
    • -
      -

      PLAYER

      -
      public static final SkullType PLAYER
      -
      -
    • -
    • -
      -

      CREEPER

      -
      public static final SkullType CREEPER
      -
      -
    • -
    • -
      -

      DRAGON

      -
      public static final SkullType DRAGON
      -
      -
    • -
    -
    -
  • - -
  • -
    -

    Field Details

    -
      -
    • -
      -

      isSkull

      -
      public final boolean isSkull
      -
      A property specifying whether the skulltype entry is a proper skull (semantically - for types of skeletons, etc) or a - head.
      -
      -
    • -
    -
    -
  • - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      values

      -
      public static SkullType[] values()
      -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
      Returns:
      -
      an array containing the constants of this enum type, in the order they are declared
      -
      -
      -
    • -
    • -
      -

      valueOf

      -
      public static SkullType valueOf​(java.lang.String name)
      -
      Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
      -
      -
      Parameters:
      -
      name - the name of the enum constant to be returned.
      -
      Returns:
      -
      the enum constant with the specified name
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      -
      java.lang.NullPointerException - if the argument is null
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/Version.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/Version.html deleted file mode 100644 index 2be808ec..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/Version.html +++ /dev/null @@ -1,369 +0,0 @@ - - - - - -Version (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- - -
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.Version
-
-
-
-
public final class Version
-extends java.lang.Object
-
A class providing methods related to the current server's version.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    static booleancheckAtLeast​(int major, -int minor) -
    Checks whether the current server version is at least the version supplied
    -
    static booleancheckEquals​(int major, -int minor) -
    Checks whether the current server version is exactly the version supplied
    -
    static booleancheckUnder​(int major, -int minor) -
    Checks whether the current server version is less than the version supplied
    -
    static java.lang.StringgetBukkitClassVersion() -
    Gets the raw version string for NMS and OBC class paths
    -
    static java.lang.StringgetRawServerVersion() -
    Gets the raw version string supplied by the server
    -
    static java.lang.StringgetString() -
    Gets the detected server version string in the format Major.Minor
    -
    static java.lang.StringgetType() -
    The type of server.
    -
    static voidinit() -
    Initialize the version class and detect the server version.
    -
    static voidsetDetectedServerVersion​(java.lang.String type, -int major, -int minor) -
    Deprecated. -
    internal use only
    -
    -
    -
    -
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      checkAtLeast

      -
      public static boolean checkAtLeast​(int major, -int minor)
      -
      Checks whether the current server version is at least the version supplied
      -
      -
      Parameters:
      -
      major - the major version number to check
      -
      minor - the minor version number to check
      -
      Returns:
      -
      whether the check is true
      -
      -
      -
    • -
    • -
      -

      checkUnder

      -
      public static boolean checkUnder​(int major, -int minor)
      -
      Checks whether the current server version is less than the version supplied
      -
      -
      Parameters:
      -
      major - the major version number to check
      -
      minor - the minor version number to check
      -
      Returns:
      -
      whether the check is true
      -
      -
      -
    • -
    • -
      -

      checkEquals

      -
      public static boolean checkEquals​(int major, -int minor)
      -
      Checks whether the current server version is exactly the version supplied
      -
      -
      Parameters:
      -
      major - the major version number to check
      -
      minor - the minor version number to check
      -
      Returns:
      -
      whether the check is true
      -
      -
      -
    • -
    • -
      -

      getRawServerVersion

      -
      public static java.lang.String getRawServerVersion()
      -
      Gets the raw version string supplied by the server
      -
      -
      Returns:
      -
      the version string
      -
      -
      -
    • -
    • -
      -

      getBukkitClassVersion

      -
      public static java.lang.String getBukkitClassVersion()
      -
      Gets the raw version string for NMS and OBC class paths
      -
      -
      Returns:
      -
      The version string of OBC and NMS packages
      -
      -
      -
    • -
    • -
      -

      getString

      -
      public static java.lang.String getString()
      -
      Gets the detected server version string in the format Major.Minor
      -
      -
      Returns:
      -
      the version string
      -
      -
      -
    • -
    • -
      -

      getType

      -
      public static java.lang.String getType()
      -
      The type of server.
      -
      -
      Returns:
      -
      the server type string
      -
      -
      -
    • -
    • -
      -

      init

      -
      public static void init() - throws UnknownVersionException, -CompatibilityUnsupportedException
      -
      Initialize the version class and detect the server version.
      -
      -
      Throws:
      -
      UnknownVersionException - If the version string supplied by the server could not be understood.
      -
      CompatibilityUnsupportedException - If the version supplied by the server is not supportable by this plugin
      -
      -
      -
    • -
    • -
      -

      setDetectedServerVersion

      -
      @Deprecated -public static void setDetectedServerVersion​(java.lang.String type, -int major, -int minor)
      -
      Deprecated. -
      internal use only
      -
      -
      Internal method used for testing only.
      -
      -
      Parameters:
      -
      type - server type string
      -
      major - major version number
      -
      minor - minor version number
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatibilityProvider.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatibilityProvider.html deleted file mode 100644 index 5a165007..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatibilityProvider.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - -Uses of Interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
com.github.crashdemons.playerheads.compatibility.CompatibilityProvider

-
-
- - - - - - - - - - - - - - - - - - -
Packages that use CompatibilityProvider
PackageDescription
com.github.crashdemons.playerheads.api -
Package containing the PlayerHeads API specification
-
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatiblePlugins.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatiblePlugins.html deleted file mode 100644 index 5375d765..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatiblePlugins.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.CompatiblePlugins (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.CompatiblePlugins

-
-No usage of com.github.crashdemons.playerheads.compatibility.CompatiblePlugins
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatibleProfile.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatibleProfile.html deleted file mode 100644 index efad489c..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatibleProfile.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.CompatibleProfile (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.CompatibleProfile

-
-
- - - - - - - - - - - - - - -
Packages that use CompatibleProfile
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatibleSkullMaterial.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatibleSkullMaterial.html deleted file mode 100644 index 6c9f57d0..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/CompatibleSkullMaterial.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial

-
-
- - - - - - - - - - - - - - -
Packages that use CompatibleSkullMaterial
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/RuntimeReferences.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/RuntimeReferences.html deleted file mode 100644 index 844815d8..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/RuntimeReferences.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.RuntimeReferences (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.RuntimeReferences

-
-No usage of com.github.crashdemons.playerheads.compatibility.RuntimeReferences
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/SkullDetails.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/SkullDetails.html deleted file mode 100644 index bda96625..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/SkullDetails.html +++ /dev/null @@ -1,172 +0,0 @@ - - - - - -Uses of Interface com.github.crashdemons.playerheads.compatibility.SkullDetails (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Interface
com.github.crashdemons.playerheads.compatibility.SkullDetails

-
-
- - - - - - - - - - - - - - - - - - -
Packages that use SkullDetails
PackageDescription
com.github.crashdemons.playerheads.api -
Package containing the PlayerHeads API specification
-
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/Version.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/Version.html deleted file mode 100644 index b4715f78..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/class-use/Version.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.Version (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.Version

-
-No usage of com.github.crashdemons.playerheads.compatibility.Version
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityConflictException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityConflictException.html deleted file mode 100644 index e4d075bd..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityConflictException.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - -CompatibilityConflictException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class CompatibilityConflictException

-
-
java.lang.Object -
java.lang.Throwable -
java.lang.Exception -
java.lang.RuntimeException -
java.lang.IllegalStateException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityConflictException
-
-
-
-
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable
-
-
-
public class CompatibilityConflictException
-extends CompatibilityException
-
Exception indicating that there is a conflict between multiple - compatibility-provider implementations. - This generally occurs when attempting to register a second provider for the - session or initialize the compatibility library twice, mistakenly.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
See Also:
-
Serialized Form
-
-
-
-
    - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    CompatibilityConflictException​(java.lang.String s) 
    CompatibilityConflictException​(java.lang.String s, -java.lang.Exception e) 
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -

    Methods inherited from class java.lang.Throwable

    -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      CompatibilityConflictException

      -
      public CompatibilityConflictException​(java.lang.String s, -java.lang.Exception e)
      -
      -
    • -
    • -
      -

      CompatibilityConflictException

      -
      public CompatibilityConflictException​(java.lang.String s)
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityException.html deleted file mode 100644 index 0abf5525..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityException.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - -CompatibilityException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class CompatibilityException

-
-
java.lang.Object -
java.lang.Throwable -
java.lang.Exception -
java.lang.RuntimeException -
java.lang.IllegalStateException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException
-
-
-
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable
-
-
-
Direct Known Subclasses:
-
CompatibilityConflictException, CompatibilityMisconfiguredException, CompatibilityUnavailableException, CompatibilityUnregisteredException, CompatibilityUnsupportedException
-
-
-
public abstract class CompatibilityException
-extends java.lang.IllegalStateException
-
Base for all compatibility exceptions
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
See Also:
-
Serialized Form
-
-
-
-
    - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    CompatibilityException​(java.lang.String s) 
    CompatibilityException​(java.lang.String s, -java.lang.Exception e) 
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -

    Methods inherited from class java.lang.Throwable

    -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      CompatibilityException

      -
      public CompatibilityException​(java.lang.String s, -java.lang.Exception e)
      -
      -
    • -
    • -
      -

      CompatibilityException

      -
      public CompatibilityException​(java.lang.String s)
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityMisconfiguredException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityMisconfiguredException.html deleted file mode 100644 index d927d98e..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityMisconfiguredException.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - -CompatibilityMisconfiguredException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class CompatibilityMisconfiguredException

-
-
java.lang.Object -
java.lang.Throwable -
java.lang.Exception -
java.lang.RuntimeException -
java.lang.IllegalStateException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityMisconfiguredException
-
-
-
-
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable
-
-
-
public class CompatibilityMisconfiguredException
-extends CompatibilityException
-
Exception indicating that the Compatibility library project was misconfigured - when it was built, not correctly finalizing support information. - - This generally means that support providers (CompatibilityProvider - implementations) were not indicated to have been added.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
See Also:
-
Serialized Form
-
-
-
-
    - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    CompatibilityMisconfiguredException​(java.lang.String s) 
    CompatibilityMisconfiguredException​(java.lang.String s, -java.lang.Exception e) 
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -

    Methods inherited from class java.lang.Throwable

    -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      CompatibilityMisconfiguredException

      -
      public CompatibilityMisconfiguredException​(java.lang.String s, -java.lang.Exception e)
      -
      -
    • -
    • -
      -

      CompatibilityMisconfiguredException

      -
      public CompatibilityMisconfiguredException​(java.lang.String s)
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityUnavailableException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityUnavailableException.html deleted file mode 100644 index 752ce640..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityUnavailableException.html +++ /dev/null @@ -1,224 +0,0 @@ - - - - - -CompatibilityUnavailableException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class CompatibilityUnavailableException

-
-
java.lang.Object -
java.lang.Throwable -
java.lang.Exception -
java.lang.RuntimeException -
java.lang.IllegalStateException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnavailableException
-
-
-
-
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable
-
-
-
public class CompatibilityUnavailableException
-extends CompatibilityException
-
Exception indicating that an implementation providing compatibility for the - current server couldn't be found or is otherwise unavailable. -

- This occurs when either Compatibility initialization has exhausted all - options or the current method cannot load the specified provider. -

- The second case may occur if version support was indicated to exist, but was - not shaded in - this was common in legacy backports that only supported - specifics versions, but modern builds usually have 1:1 representation in - CompatibilitySupport.

-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
See Also:
-
Serialized Form
-
-
-
-
    - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    CompatibilityUnavailableException​(java.lang.String s) 
    CompatibilityUnavailableException​(java.lang.String s, -java.lang.Exception e) 
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -

    Methods inherited from class java.lang.Throwable

    -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      CompatibilityUnavailableException

      -
      public CompatibilityUnavailableException​(java.lang.String s, -java.lang.Exception e)
      -
      -
    • -
    • -
      -

      CompatibilityUnavailableException

      -
      public CompatibilityUnavailableException​(java.lang.String s)
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityUnregisteredException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityUnregisteredException.html deleted file mode 100644 index 833f9578..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityUnregisteredException.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - -CompatibilityUnregisteredException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class CompatibilityUnregisteredException

-
-
java.lang.Object -
java.lang.Throwable -
java.lang.Exception -
java.lang.RuntimeException -
java.lang.IllegalStateException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnregisteredException
-
-
-
-
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable
-
-
-
public class CompatibilityUnregisteredException
-extends CompatibilityException
-
Exception indicating that a compatibility-provider implementation isn't - registered at a time when it is required. - - This occurs if you sttempt to use an implementation-specific compatibility - method such as getProvider() without a provider/implementation having been - made available by Compatibility.init() or registerProvider()
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
See Also:
-
Serialized Form
-
-
-
-
    - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    CompatibilityUnregisteredException​(java.lang.String s) 
    CompatibilityUnregisteredException​(java.lang.String s, -java.lang.Exception e) 
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -

    Methods inherited from class java.lang.Throwable

    -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      CompatibilityUnregisteredException

      -
      public CompatibilityUnregisteredException​(java.lang.String s, -java.lang.Exception e)
      -
      -
    • -
    • -
      -

      CompatibilityUnregisteredException

      -
      public CompatibilityUnregisteredException​(java.lang.String s)
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityUnsupportedException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityUnsupportedException.html deleted file mode 100644 index 0c2211b8..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/CompatibilityUnsupportedException.html +++ /dev/null @@ -1,220 +0,0 @@ - - - - - -CompatibilityUnsupportedException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class CompatibilityUnsupportedException

-
-
java.lang.Object -
java.lang.Throwable -
java.lang.Exception -
java.lang.RuntimeException -
java.lang.IllegalStateException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException -
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnsupportedException
-
-
-
-
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable
-
-
-
public class CompatibilityUnsupportedException
-extends CompatibilityException
-
Exception indicating a server version that is incompatible with the available - implementations. - - Unlike "Unavailable" exception, this is used for cases where support will not - be provided or even checked. By default this includes any server versions - below 1.8.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
See Also:
-
Serialized Form
-
-
-
-
    - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    CompatibilityUnsupportedException​(java.lang.String s) 
    CompatibilityUnsupportedException​(java.lang.String s, -java.lang.Exception e) 
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -

    Methods inherited from class java.lang.Throwable

    -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      CompatibilityUnsupportedException

      -
      public CompatibilityUnsupportedException​(java.lang.String s, -java.lang.Exception e)
      -
      -
    • -
    • -
      -

      CompatibilityUnsupportedException

      -
      public CompatibilityUnsupportedException​(java.lang.String s)
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/UnknownVersionException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/UnknownVersionException.html deleted file mode 100644 index e7075887..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/UnknownVersionException.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - -UnknownVersionException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class UnknownVersionException

-
-
java.lang.Object -
java.lang.Throwable -
java.lang.Exception -
java.lang.RuntimeException -
java.lang.IllegalStateException -
com.github.crashdemons.playerheads.compatibility.exceptions.VersionException -
com.github.crashdemons.playerheads.compatibility.exceptions.UnknownVersionException
-
-
-
-
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable
-
-
-
public class UnknownVersionException
-extends VersionException
-
Exception indicating a server version that could not be retrieved or - understood.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
See Also:
-
Serialized Form
-
-
-
-
    - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    UnknownVersionException​(java.lang.String s) 
    UnknownVersionException​(java.lang.String s, -java.lang.Exception e) 
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -

    Methods inherited from class java.lang.Throwable

    -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      UnknownVersionException

      -
      public UnknownVersionException​(java.lang.String s, -java.lang.Exception e)
      -
      -
    • -
    • -
      -

      UnknownVersionException

      -
      public UnknownVersionException​(java.lang.String s)
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/VersionException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/VersionException.html deleted file mode 100644 index 36be24e9..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/VersionException.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - -VersionException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- - -
java.lang.Object -
java.lang.Throwable -
java.lang.Exception -
java.lang.RuntimeException -
java.lang.IllegalStateException -
com.github.crashdemons.playerheads.compatibility.exceptions.VersionException
-
-
-
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable
-
-
-
Direct Known Subclasses:
-
UnknownVersionException
-
-
-
public abstract class VersionException
-extends java.lang.IllegalStateException
-
Base for all version exceptions
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
See Also:
-
Serialized Form
-
-
-
-
    - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    VersionException​(java.lang.String s) 
    VersionException​(java.lang.String s, -java.lang.Exception e) 
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -

    Methods inherited from class java.lang.Throwable

    -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      VersionException

      -
      public VersionException​(java.lang.String s, -java.lang.Exception e)
      -
      -
    • -
    • -
      -

      VersionException

      -
      public VersionException​(java.lang.String s)
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityConflictException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityConflictException.html deleted file mode 100644 index 990da482..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityConflictException.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityConflictException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityConflictException

-
-
- - - - - - - - - - - - - - -
Packages that use CompatibilityConflictException
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityException.html deleted file mode 100644 index 2c812946..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityException.html +++ /dev/null @@ -1,164 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException

-
-
- - - - - - - - - - - - - - -
Packages that use CompatibilityException
PackageDescription
com.github.crashdemons.playerheads.compatibility.exceptions -
Exceptions thrown by the compatibility package
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityMisconfiguredException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityMisconfiguredException.html deleted file mode 100644 index 7a93f05e..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityMisconfiguredException.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityMisconfiguredException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityMisconfiguredException

-
-No usage of com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityMisconfiguredException
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityUnavailableException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityUnavailableException.html deleted file mode 100644 index eb2d62e3..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityUnavailableException.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnavailableException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnavailableException

-
-
- - - - - - - - - - - - - - -
Packages that use CompatibilityUnavailableException
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityUnregisteredException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityUnregisteredException.html deleted file mode 100644 index ed262541..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityUnregisteredException.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnregisteredException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnregisteredException

-
-
- - - - - - - - - - - - - - -
Packages that use CompatibilityUnregisteredException
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityUnsupportedException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityUnsupportedException.html deleted file mode 100644 index 3040f0e6..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/CompatibilityUnsupportedException.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnsupportedException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnsupportedException

-
-
- - - - - - - - - - - - - - -
Packages that use CompatibilityUnsupportedException
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/UnknownVersionException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/UnknownVersionException.html deleted file mode 100644 index 220f446e..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/UnknownVersionException.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.exceptions.UnknownVersionException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.exceptions.UnknownVersionException

-
-
- - - - - - - - - - - - - - -
Packages that use UnknownVersionException
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/VersionException.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/VersionException.html deleted file mode 100644 index 8a91f520..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/class-use/VersionException.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.exceptions.VersionException (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.exceptions.VersionException

-
-
- - - - - - - - - - - - - - -
Packages that use VersionException
PackageDescription
com.github.crashdemons.playerheads.compatibility.exceptions -
Exceptions thrown by the compatibility package
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/package-summary.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/package-summary.html deleted file mode 100644 index 81279721..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/package-summary.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - -com.github.crashdemons.playerheads.compatibility.exceptions (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Package com.github.crashdemons.playerheads.compatibility.exceptions

-
-
-
Exceptions thrown by the compatibility package
-
-
-
    -
  • -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Exception Summary
    ExceptionDescription
    CompatibilityConflictException -
    Exception indicating that there is a conflict between multiple - compatibility-provider implementations.
    -
    CompatibilityException -
    Base for all compatibility exceptions
    -
    CompatibilityMisconfiguredException -
    Exception indicating that the Compatibility library project was misconfigured - when it was built, not correctly finalizing support information.
    -
    CompatibilityUnavailableException -
    Exception indicating that an implementation providing compatibility for the - current server couldn't be found or is otherwise unavailable.
    -
    CompatibilityUnregisteredException -
    Exception indicating that a compatibility-provider implementation isn't - registered at a time when it is required.
    -
    CompatibilityUnsupportedException -
    Exception indicating a server version that is incompatible with the available - implementations.
    -
    UnknownVersionException -
    Exception indicating a server version that could not be retrieved or - understood.
    -
    VersionException -
    Base for all version exceptions
    -
    -
    -
  • -
-
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/package-tree.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/package-tree.html deleted file mode 100644 index 7f91bab4..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/package-tree.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - -com.github.crashdemons.playerheads.compatibility.exceptions Class Hierarchy (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package com.github.crashdemons.playerheads.compatibility.exceptions

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/package-use.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/package-use.html deleted file mode 100644 index 1c73643a..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/exceptions/package-use.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - -Uses of Package com.github.crashdemons.playerheads.compatibility.exceptions (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
com.github.crashdemons.playerheads.compatibility.exceptions

-
-
- - - - - - - - - - - - - - - - - - -
Packages that use com.github.crashdemons.playerheads.compatibility.exceptions
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
com.github.crashdemons.playerheads.compatibility.exceptions -
Exceptions thrown by the compatibility package
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/package-summary.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/package-summary.html deleted file mode 100644 index 5b3925e1..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/package-summary.html +++ /dev/null @@ -1,199 +0,0 @@ - - - - - -com.github.crashdemons.playerheads.compatibility (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Package com.github.crashdemons.playerheads.compatibility

-
-
-
Package supplying cross-version compiling compatibility to the plugin. - - This functions by providing a common interface of required methods, with - differing implementations based on bukkit version.
-
-
-
    -
  • -
    - - - - - - - - - - - - - - - - - - -
    Interface Summary
    InterfaceDescription
    CompatibilityProvider -
    An interface specifying all of the methods we need for our plugin that require differing Bukkit-specific implementations which we wish to abstract from our plugin code.
    -
    SkullDetails -
    Defines an interface of implementation-specific details and methods relating - to a skull item/block.
    -
    -
    -
  • -
  • -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary
    ClassDescription
    Compatibility -
    Compatibility class controlling implementation and version support.
    -
    CompatibilitySupport -
    Class that holds supported compatibility implementations in this release.
    -
    CompatiblePlugins -
    Class providing methods and information for inter-plugin compatibility.
    -
    CompatibleProfile -
    Utility class that may be used by compatibility providers to handle head profile information.
    -
    RuntimeReferences -
    Provides methods to perform runtime lookups of values by name (eg: enums)
    -
    Version -
    A class providing methods related to the current server's version.
    -
    -
    -
  • -
  • -
    - - - - - - - - - - - - - - - - - - -
    Enum Summary
    EnumDescription
    CompatibleSkullMaterial -
    An enumeration of vanilla skull/head materials (items and blocks) that can - possibly be supported.
    -
    SkullType -
    An enumeration of skulls and heads that are supported in vanilla servers.
    -
    -
    -
  • -
-
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/package-tree.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/package-tree.html deleted file mode 100644 index 9868c871..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/package-tree.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - -com.github.crashdemons.playerheads.compatibility Class Hierarchy (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package com.github.crashdemons.playerheads.compatibility

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
-
-

Interface Hierarchy

- -
-
-

Enum Hierarchy

-
    -
  • java.lang.Object -
      -
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable) - -
    • -
    -
  • -
-
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/package-use.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/package-use.html deleted file mode 100644 index 7d4e8c27..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/package-use.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - -Uses of Package com.github.crashdemons.playerheads.compatibility (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
com.github.crashdemons.playerheads.compatibility

-
-
- - - - - - - - - - - - - - - - - - -
Packages that use com.github.crashdemons.playerheads.compatibility
PackageDescription
com.github.crashdemons.playerheads.api -
Package containing the PlayerHeads API specification
-
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/CompatiblePlugin.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/CompatiblePlugin.html deleted file mode 100644 index bd799cfd..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/CompatiblePlugin.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - -CompatiblePlugin (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- - -
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
-
-
-
-
Direct Known Subclasses:
-
HeadPluginCompatibility, NoCheatPlusCompatibility, ProtectionPluginCompatibility
-
-
-
public abstract class CompatiblePlugin
-extends java.lang.Object
-
Defines an abstract third-party-plugin compatibility class which can detect - and retrieves the plugin instance.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Field Summary

    -
    - - - - - - - - - - - - - - - - - - - - - -
    Fields
    Modifier and TypeFieldDescription
    protected ConfigurationSectionconfig 
    protected PluginparentPlugin 
    -
    -
    -
  • - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    CompatiblePlugin​(Plugin parentPlugin, -java.lang.String pluginName) -
    Construct the plugin-compatibility object
    -
    CompatiblePlugin​(Plugin parentPlugin, -java.lang.String pluginName, -ConfigurationSection config) -
    Construct the plugin-compatibility object
    -
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    Pluginget() -
    Get the plugin instance for the third-party plugin being supported.
    -
    java.lang.StringgetName() -
    Gets the proper name of the third-party plugin this class attempts to - support.
    -
    protected PlugingetPlugin() -
    Get the plugin instance for the third-party plugin being supported.
    -
    booleanisPresent() -
    Whether the supported third-party plugin was detected to be present on - the server.
    -
    booleanisReady() -
    Whether the plugin compatibility class is ready to be used.
    -
    voidreloadConfig() 
    -
    -
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Field Details

    - -
    -
  • - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      CompatiblePlugin

      -
      public CompatiblePlugin​(Plugin parentPlugin, -java.lang.String pluginName)
      -
      Construct the plugin-compatibility object
      -
      -
      Parameters:
      -
      parentPlugin - the current plugin requiring the compatibility (used - by child classes for events and logging)
      -
      pluginName - the name of the third-party plugin to support
      -
      -
      -
    • -
    • -
      -

      CompatiblePlugin

      -
      public CompatiblePlugin​(Plugin parentPlugin, -java.lang.String pluginName, -ConfigurationSection config)
      -
      Construct the plugin-compatibility object
      -
      -
      Parameters:
      -
      parentPlugin - the current plugin requiring the compatibility (used - by child classes for events and logging)
      -
      pluginName - the name of the third-party plugin to support
      -
      config - the configuration to use
      -
      -
      -
    • -
    -
    -
  • - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      getPlugin

      -
      protected final Plugin getPlugin()
      -
      Get the plugin instance for the third-party plugin being supported. - This method has Bukkit look-up the plugin name every time it is called, - unless the plugin name is blank - you should use get() instead.
      -
      -
      Returns:
      -
      the plugin instance, or null of the plugin name is blank
      -
      -
      -
    • -
    • -
      -

      isReady

      -
      public boolean isReady()
      -
      Whether the plugin compatibility class is ready to be used. - (By default this is true unless overridden)
      -
      -
      Returns:
      -
      whether the class is ready.
      -
      -
      -
    • -
    • -
      -

      isPresent

      -
      public boolean isPresent()
      -
      Whether the supported third-party plugin was detected to be present on - the server.
      -
      -
      Returns:
      -
      whether the plugin is present.
      -
      -
      -
    • -
    • -
      -

      getName

      -
      public java.lang.String getName()
      -
      Gets the proper name of the third-party plugin this class attempts to - support.
      -
      -
      Returns:
      -
      the plugin name
      -
      -
      -
    • -
    • -
      -

      reloadConfig

      -
      public void reloadConfig()
      -
      -
    • -
    • -
      -

      get

      -
      public Plugin get()
      -
      Get the plugin instance for the third-party plugin being supported. - This method only looks up the plugin name with Bukkit if it was initially - detected to be present.
      -
      -
      Returns:
      -
      the plugin instance, or null if the plugin was not present at - startup.
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/HeadPluginCompatibility.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/HeadPluginCompatibility.html deleted file mode 100644 index 2df21af7..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/HeadPluginCompatibility.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - -HeadPluginCompatibility (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class HeadPluginCompatibility

-
-
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin -
com.github.crashdemons.playerheads.compatibility.plugins.HeadPluginCompatibility
-
-
-
-
-
public class HeadPluginCompatibility
-extends CompatiblePlugin
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
- -
-
- -
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/NoCheatPlusCompatibility.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/NoCheatPlusCompatibility.html deleted file mode 100644 index 426ddc4b..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/NoCheatPlusCompatibility.html +++ /dev/null @@ -1,291 +0,0 @@ - - - - - -NoCheatPlusCompatibility (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class NoCheatPlusCompatibility

-
-
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin -
com.github.crashdemons.playerheads.compatibility.plugins.NoCheatPlusCompatibility
-
-
-
-
-
public class NoCheatPlusCompatibility
-extends CompatiblePlugin
-
Defines required operations performed with the NoCheatPlus plugin for compatibility reasons.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Field Summary

    -
    -

    Fields inherited from class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin

    -config, parentPlugin
    -
    -
  • - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    NoCheatPlusCompatibility​(Plugin parentPlugin) -
    Create the NCP plugin-compatibility class
    -
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    voidexemptFastbreak​(Player player) -
    Adds an exemption for a user from fast-break checks
    -
    booleanisExemptFastbreak​(Player player) -
    Checks if a user is exempt from fast-break checks
    -
    voidunexemptFastbreak​(Player player) -
    Removes exemptions for a user for fast-break checks
    -
    -
    -
    -
    -

    Methods inherited from class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin

    -get, getName, getPlugin, isPresent, isReady, reloadConfig
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      NoCheatPlusCompatibility

      -
      public NoCheatPlusCompatibility​(Plugin parentPlugin)
      -
      Create the NCP plugin-compatibility class
      -
      -
      Parameters:
      -
      parentPlugin - the plugin requesting the compatibility support (provides logging/events)
      -
      -
      -
    • -
    -
    -
  • - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      isExemptFastbreak

      -
      public boolean isExemptFastbreak​(Player player)
      -
      Checks if a user is exempt from fast-break checks
      -
      -
      Parameters:
      -
      player - the user
      -
      Returns:
      -
      whether the user is exempt
      -
      -
      -
    • -
    • -
      -

      exemptFastbreak

      -
      public void exemptFastbreak​(Player player)
      -
      Adds an exemption for a user from fast-break checks
      -
      -
      Parameters:
      -
      player - the user
      -
      -
      -
    • -
    • -
      -

      unexemptFastbreak

      -
      public void unexemptFastbreak​(Player player)
      -
      Removes exemptions for a user for fast-break checks
      -
      -
      Parameters:
      -
      player - the user
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/ProtectionPluginCompatibility.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/ProtectionPluginCompatibility.html deleted file mode 100644 index 79b9a454..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/ProtectionPluginCompatibility.html +++ /dev/null @@ -1,258 +0,0 @@ - - - - - -ProtectionPluginCompatibility (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class ProtectionPluginCompatibility

-
-
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin -
com.github.crashdemons.playerheads.compatibility.plugins.ProtectionPluginCompatibility
-
-
-
-
-
public class ProtectionPluginCompatibility
-extends CompatiblePlugin
-
Defines required operations performed for generic block/region protection plugins for compatibility reasons.
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Field Summary

    -
    -

    Fields inherited from class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin

    -config, parentPlugin
    -
    -
  • - -
  • -
    -

    Constructor Summary

    -
    - - - - - - - - - - - - - - -
    Constructors
    ConstructorDescription
    ProtectionPluginCompatibility​(Plugin parentPlugin) -
    Create the protection-plugin compatibility class
    -
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    booleantestBlockBreak​(Block block, -Player player) -
    Simulates a block-break event from a user in order to check if it would normally be blocked by a protection-plugin.
    -
    -
    -
    -
    -

    Methods inherited from class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin

    -get, getName, getPlugin, isPresent, isReady, reloadConfig
    -
    -

    Methods inherited from class java.lang.Object

    -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      ProtectionPluginCompatibility

      -
      public ProtectionPluginCompatibility​(Plugin parentPlugin)
      -
      Create the protection-plugin compatibility class
      -
      -
      Parameters:
      -
      parentPlugin - the plugin requesting the compatibility support (provides logging/events)
      -
      -
      -
    • -
    -
    -
  • - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      testBlockBreak

      -
      public boolean testBlockBreak​(Block block, -Player player)
      -
      Simulates a block-break event from a user in order to check if it would normally be blocked by a protection-plugin.
      -
      -
      Parameters:
      -
      block - the block allegedly being broken.
      -
      player - the player allegedly breaking the block.
      -
      Returns:
      -
      true: the block break event was allowed, false: the block-break event was blocked (cancelled).
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/SimulatedBlockBreakEvent.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/SimulatedBlockBreakEvent.html deleted file mode 100644 index a9fd1f4f..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/SimulatedBlockBreakEvent.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - -SimulatedBlockBreakEvent (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Class SimulatedBlockBreakEvent

-
- -
-
-
All Implemented Interfaces:
-
Cancellable
-
-
-
public class SimulatedBlockBreakEvent
-extends FakeBlockBreakEvent
-
Event used internally by the plugin to detect if a hypothetical BlockBreak - would be cancelled by another plugin. - - Used in determining whether drops should occur when heads might be broken by - a player. This is useful when using plugins such as WorldGuard that cancel - blockbreak in protected areas. - - This version of the class currently extends FakeBlockBreakEvent so that - external plugin compatibility is not broken, but this is intended to be the - new location of the class in the future. - - (Previously FakeBlockBreakEvent) - - Note: This documentation was inferred after the fact and may be - inaccurate.
-
-
Author:
-
meiskam
-
-
-
- -
-
-
    - -
  • -
    -

    Constructor Details

    -
      -
    • -
      -

      SimulatedBlockBreakEvent

      -
      public SimulatedBlockBreakEvent​(Block theBlock, -Player player)
      -
      Constructs a simulated block break event
      -
      -
      Parameters:
      -
      theBlock - the block to "break"
      -
      player - the player doing the breaking
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/CompatiblePlugin.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/CompatiblePlugin.html deleted file mode 100644 index b846285b..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/CompatiblePlugin.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin

-
-
- - - - - - - - - - - - - - -
Packages that use CompatiblePlugin
PackageDescription
com.github.crashdemons.playerheads.compatibility.plugins -
A collection of helper classes providing methods from other bukkit plugins, for use in CompatiblePlugins class to increase compatibility between plugins.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/HeadPluginCompatibility.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/HeadPluginCompatibility.html deleted file mode 100644 index 8385c6a4..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/HeadPluginCompatibility.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.plugins.HeadPluginCompatibility (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.plugins.HeadPluginCompatibility

-
-
- - - - - - - - - - - - - - -
Packages that use HeadPluginCompatibility
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/NoCheatPlusCompatibility.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/NoCheatPlusCompatibility.html deleted file mode 100644 index 1b828c6c..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/NoCheatPlusCompatibility.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.plugins.NoCheatPlusCompatibility (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.plugins.NoCheatPlusCompatibility

-
-
- - - - - - - - - - - - - - -
Packages that use NoCheatPlusCompatibility
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/ProtectionPluginCompatibility.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/ProtectionPluginCompatibility.html deleted file mode 100644 index 606db2e1..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/ProtectionPluginCompatibility.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.plugins.ProtectionPluginCompatibility (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.plugins.ProtectionPluginCompatibility

-
-
- - - - - - - - - - - - - - -
Packages that use ProtectionPluginCompatibility
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/SimulatedBlockBreakEvent.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/SimulatedBlockBreakEvent.html deleted file mode 100644 index 5221c677..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/class-use/SimulatedBlockBreakEvent.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.plugins.SimulatedBlockBreakEvent (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.plugins.SimulatedBlockBreakEvent

-
-No usage of com.github.crashdemons.playerheads.compatibility.plugins.SimulatedBlockBreakEvent
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/ExternalHeads.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/ExternalHeads.html deleted file mode 100644 index 6b009fba..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/ExternalHeads.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - -ExternalHeads (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- - -
java.lang.Object -
com.github.crashdemons.playerheads.compatibility.plugins.heads.ExternalHeads
-
-
-
-
public class ExternalHeads
-extends java.lang.Object
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
- -
-
- -
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/HeadModificationHandling.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/HeadModificationHandling.html deleted file mode 100644 index 8e0ae17a..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/HeadModificationHandling.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - -HeadModificationHandling (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
- -
- -

Enum HeadModificationHandling

-
-
java.lang.Object -
java.lang.Enum<HeadModificationHandling> -
com.github.crashdemons.playerheads.compatibility.plugins.heads.HeadModificationHandling
-
-
-
-
-
All Implemented Interfaces:
-
java.io.Serializable, java.lang.Comparable<HeadModificationHandling>, java.lang.constant.Constable
-
-
-
public enum HeadModificationHandling
-extends java.lang.Enum<HeadModificationHandling>
-
-
Author:
-
crashdemons (crashenator at gmail.com)
-
-
-
-
    - -
  • -
    -

    Nested Class Summary

    -
    -

    Nested classes/interfaces inherited from class java.lang.Enum

    -java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    -
    -
  • - -
  • -
    -

    Enum Constant Summary

    -
    - - - - - - - - - - - - - - - - - - -
    Enum Constants
    Enum ConstantDescription
    NO_INTERACTION 
    NORMAL 
    -
    -
    -
  • - -
  • -
    -

    Method Summary

    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - -
    Modifier and TypeMethodDescription
    static HeadModificationHandlingvalueOf​(java.lang.String name) -
    Returns the enum constant of this type with the specified name.
    -
    static HeadModificationHandling[]values() -
    Returns an array containing the constants of this enum type, in -the order they are declared.
    -
    -
    -
    -
    -

    Methods inherited from class java.lang.Enum

    -clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
    -
    -

    Methods inherited from class java.lang.Object

    -getClass, notify, notifyAll, wait, wait, wait
    -
    -
  • -
-
-
-
    - -
  • -
    -

    Enum Constant Details

    - -
    -
  • - -
  • -
    -

    Method Details

    -
      -
    • -
      -

      values

      -
      public static HeadModificationHandling[] values()
      -
      Returns an array containing the constants of this enum type, in -the order they are declared.
      -
      -
      Returns:
      -
      an array containing the constants of this enum type, in the order they are declared
      -
      -
      -
    • -
    • -
      -

      valueOf

      -
      public static HeadModificationHandling valueOf​(java.lang.String name)
      -
      Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
      -
      -
      Parameters:
      -
      name - the name of the enum constant to be returned.
      -
      Returns:
      -
      the enum constant with the specified name
      -
      Throws:
      -
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      -
      java.lang.NullPointerException - if the argument is null
      -
      -
      -
    • -
    -
    -
  • -
-
- -
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/class-use/ExternalHeads.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/class-use/ExternalHeads.html deleted file mode 100644 index 045e24bb..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/class-use/ExternalHeads.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.plugins.heads.ExternalHeads (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.plugins.heads.ExternalHeads

-
-No usage of com.github.crashdemons.playerheads.compatibility.plugins.heads.ExternalHeads
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/class-use/HeadModificationHandling.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/class-use/HeadModificationHandling.html deleted file mode 100644 index d25796ac..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/class-use/HeadModificationHandling.html +++ /dev/null @@ -1,218 +0,0 @@ - - - - - -Uses of Class com.github.crashdemons.playerheads.compatibility.plugins.heads.HeadModificationHandling (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Class
com.github.crashdemons.playerheads.compatibility.plugins.heads.HeadModificationHandling

-
-
- - - - - - - - - - - - - - - - - - -
Packages that use HeadModificationHandling
PackageDescription
com.github.crashdemons.playerheads.compatibility.plugins -
A collection of helper classes providing methods from other bukkit plugins, for use in CompatiblePlugins class to increase compatibility between plugins.
-
com.github.crashdemons.playerheads.compatibility.plugins.heads -
A collection of helper classes providing methods for third-party head support
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/package-summary.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/package-summary.html deleted file mode 100644 index d070072b..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/package-summary.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - -com.github.crashdemons.playerheads.compatibility.plugins.heads (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Package com.github.crashdemons.playerheads.compatibility.plugins.heads

-
-
-
A collection of helper classes providing methods for third-party head support
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/package-tree.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/package-tree.html deleted file mode 100644 index f0c2b1cc..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/package-tree.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - -com.github.crashdemons.playerheads.compatibility.plugins.heads Class Hierarchy (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package com.github.crashdemons.playerheads.compatibility.plugins.heads

-Package Hierarchies: - -
-
-

Class Hierarchy

-
    -
  • java.lang.Object -
      -
    • com.github.crashdemons.playerheads.compatibility.plugins.heads.ExternalHeads
    • -
    -
  • -
-
-
-

Enum Hierarchy

-
    -
  • java.lang.Object -
      -
    • java.lang.Enum<E> (implements java.lang.Comparable<T>, java.lang.constant.Constable, java.io.Serializable) - -
    • -
    -
  • -
-
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/package-use.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/package-use.html deleted file mode 100644 index b34f4091..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/heads/package-use.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - -Uses of Package com.github.crashdemons.playerheads.compatibility.plugins.heads (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
com.github.crashdemons.playerheads.compatibility.plugins.heads

-
-
- - - - - - - - - - - - - - - - - - -
Packages that use com.github.crashdemons.playerheads.compatibility.plugins.heads
PackageDescription
com.github.crashdemons.playerheads.compatibility.plugins -
A collection of helper classes providing methods from other bukkit plugins, for use in CompatiblePlugins class to increase compatibility between plugins.
-
com.github.crashdemons.playerheads.compatibility.plugins.heads -
A collection of helper classes providing methods for third-party head support
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/package-summary.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/package-summary.html deleted file mode 100644 index d78a6487..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/package-summary.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - -com.github.crashdemons.playerheads.compatibility.plugins (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Package com.github.crashdemons.playerheads.compatibility.plugins

-
-
-
A collection of helper classes providing methods from other bukkit plugins, for use in CompatiblePlugins class to increase compatibility between plugins.
-
-
-
    -
  • -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Class Summary
    ClassDescription
    CompatiblePlugin -
    Defines an abstract third-party-plugin compatibility class which can detect - and retrieves the plugin instance.
    -
    HeadPluginCompatibility 
    NoCheatPlusCompatibility -
    Defines required operations performed with the NoCheatPlus plugin for compatibility reasons.
    -
    ProtectionPluginCompatibility -
    Defines required operations performed for generic block/region protection plugins for compatibility reasons.
    -
    SimulatedBlockBreakEvent -
    Event used internally by the plugin to detect if a hypothetical BlockBreak - would be cancelled by another plugin.
    -
    -
    -
  • -
-
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/package-tree.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/package-tree.html deleted file mode 100644 index dee706e5..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/package-tree.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - -com.github.crashdemons.playerheads.compatibility.plugins Class Hierarchy (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Hierarchy For Package com.github.crashdemons.playerheads.compatibility.plugins

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/package-use.html b/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/package-use.html deleted file mode 100644 index 04a9ddf3..00000000 --- a/PlayerHeads-api/docs/com/github/crashdemons/playerheads/compatibility/plugins/package-use.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - -Uses of Package com.github.crashdemons.playerheads.compatibility.plugins (PlayerHeads-api 5.2.13-SNAPSHOT API) - - - - - - - - - - - - - -
- -
-
-
-

Uses of Package
com.github.crashdemons.playerheads.compatibility.plugins

-
-
- - - - - - - - - - - - - - - - - - -
Packages that use com.github.crashdemons.playerheads.compatibility.plugins
PackageDescription
com.github.crashdemons.playerheads.compatibility -
Package supplying cross-version compiling compatibility to the plugin.
-
com.github.crashdemons.playerheads.compatibility.plugins -
A collection of helper classes providing methods from other bukkit plugins, for use in CompatiblePlugins class to increase compatibility between plugins.
-
-
-
- -
-
- -
-
- - diff --git a/PlayerHeads-api/docs/constant-values.html b/PlayerHeads-api/docs/constant-values.html index decb8388..05e540d8 100644 --- a/PlayerHeads-api/docs/constant-values.html +++ b/PlayerHeads-api/docs/constant-values.html @@ -3,7 +3,7 @@ -Constant Field Values (PlayerHeads-api 5.2.13-SNAPSHOT API) +Constant Field Values (PlayerHeads-api 5.2.14-SNAPSHOT API) diff --git a/PlayerHeads-api/docs/deprecated-list.html b/PlayerHeads-api/docs/deprecated-list.html index 742dda04..6bc93ccf 100644 --- a/PlayerHeads-api/docs/deprecated-list.html +++ b/PlayerHeads-api/docs/deprecated-list.html @@ -3,7 +3,7 @@ -Deprecated List (PlayerHeads-api 5.2.13-SNAPSHOT API) +Deprecated List (PlayerHeads-api 5.2.14-SNAPSHOT API) @@ -118,66 +118,6 @@

Contents

getHeadFrom(Entity) instead. - -com.github.crashdemons.playerheads.compatibility.Compatibility.unregisterProvider() - -
registering an unregistering multiple providers is not recommended since it means loading unnecessary classes into memory and changing the state of compatibility.
- - - -com.github.crashdemons.playerheads.compatibility.CompatibilityProvider.getOwnerDirect​(Skull) - -
This method does not include extended checking, you probably dont want the direct method.
- - - -com.github.crashdemons.playerheads.compatibility.CompatibilityProvider.getOwnerDirect​(SkullMeta) - -
This method does not include extended checking, you probably dont want the direct method.
- - - -com.github.crashdemons.playerheads.compatibility.CompatibilityProvider.getOwningPlayerDirect​(Skull) - -
This method does not include extended checking, you probably dont want the direct method.
- - - -com.github.crashdemons.playerheads.compatibility.CompatibilityProvider.getOwningPlayerDirect​(SkullMeta) - -
This method does not include extended checking, you probably dont want the direct method.
- - - -com.github.crashdemons.playerheads.compatibility.CompatibilityProvider.getProfile​(Skull) - -
This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
- - - -com.github.crashdemons.playerheads.compatibility.CompatibilityProvider.getProfile​(ItemMeta) - -
This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
- - - -com.github.crashdemons.playerheads.compatibility.CompatibilityProvider.setProfile​(Skull, Object) - -
This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
- - - -com.github.crashdemons.playerheads.compatibility.CompatibilityProvider.setProfile​(ItemMeta, Object) - -
This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
- - - -com.github.crashdemons.playerheads.compatibility.Version.setDetectedServerVersion​(String, int, int) - -
internal use only
- - diff --git a/PlayerHeads-api/docs/element-list b/PlayerHeads-api/docs/element-list index 4cf34c6a..42efeb8e 100644 --- a/PlayerHeads-api/docs/element-list +++ b/PlayerHeads-api/docs/element-list @@ -1,7 +1,3 @@ com.github.crashdemons.playerheads.api -com.github.crashdemons.playerheads.compatibility -com.github.crashdemons.playerheads.compatibility.exceptions -com.github.crashdemons.playerheads.compatibility.plugins -com.github.crashdemons.playerheads.compatibility.plugins.heads org.shininet.bukkit.playerheads org.shininet.bukkit.playerheads.events diff --git a/PlayerHeads-api/docs/help-doc.html b/PlayerHeads-api/docs/help-doc.html index e741398b..5835ee4c 100644 --- a/PlayerHeads-api/docs/help-doc.html +++ b/PlayerHeads-api/docs/help-doc.html @@ -3,7 +3,7 @@ -API Help (PlayerHeads-api 5.2.13-SNAPSHOT API) +API Help (PlayerHeads-api 5.2.14-SNAPSHOT API) diff --git a/PlayerHeads-api/docs/index-all.html b/PlayerHeads-api/docs/index-all.html index 93330415..07a7c934 100644 --- a/PlayerHeads-api/docs/index-all.html +++ b/PlayerHeads-api/docs/index-all.html @@ -3,7 +3,7 @@ -Index (PlayerHeads-api 5.2.13-SNAPSHOT API) +Index (PlayerHeads-api 5.2.14-SNAPSHOT API) @@ -53,7 +53,7 @@

Index

-B C D E F G H I L M N O P R S T U V W Z 
All Classes|All Packages +B C D E F G H I L M O P S T V 
All Classes|All Packages

B

BlockDropHeadEvent - Class in org.shininet.bukkit.playerheads.events
@@ -68,161 +68,13 @@

B

C

-
checkAtLeast(int, int) - Static method in class com.github.crashdemons.playerheads.compatibility.Version
-
-
Checks whether the current server version is at least the version supplied
-
-
checkEquals(int, int) - Static method in class com.github.crashdemons.playerheads.compatibility.Version
-
-
Checks whether the current server version is exactly the version supplied
-
-
checkUnder(int, int) - Static method in class com.github.crashdemons.playerheads.compatibility.Version
-
-
Checks whether the current server version is less than the version supplied
-
com.github.crashdemons.playerheads.api - package com.github.crashdemons.playerheads.api
Package containing the PlayerHeads API specification
-
com.github.crashdemons.playerheads.compatibility - package com.github.crashdemons.playerheads.compatibility
-
-
Package supplying cross-version compiling compatibility to the plugin.
-
-
com.github.crashdemons.playerheads.compatibility.exceptions - package com.github.crashdemons.playerheads.compatibility.exceptions
-
-
Exceptions thrown by the compatibility package
-
-
com.github.crashdemons.playerheads.compatibility.plugins - package com.github.crashdemons.playerheads.compatibility.plugins
-
-
A collection of helper classes providing methods from other bukkit plugins, for use in CompatiblePlugins class to increase compatibility between plugins.
-
-
com.github.crashdemons.playerheads.compatibility.plugins.heads - package com.github.crashdemons.playerheads.compatibility.plugins.heads
-
-
A collection of helper classes providing methods for third-party head support
-
-
Compatibility - Class in com.github.crashdemons.playerheads.compatibility
-
-
Compatibility class controlling implementation and version support.
-
-
CompatibilityConflictException - Exception in com.github.crashdemons.playerheads.compatibility.exceptions
-
-
Exception indicating that there is a conflict between multiple - compatibility-provider implementations.
-
-
CompatibilityConflictException(String) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityConflictException
-
 
-
CompatibilityConflictException(String, Exception) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityConflictException
-
 
-
CompatibilityException - Exception in com.github.crashdemons.playerheads.compatibility.exceptions
-
-
Base for all compatibility exceptions
-
-
CompatibilityException(String) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException
-
 
-
CompatibilityException(String, Exception) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityException
-
 
-
CompatibilityMisconfiguredException - Exception in com.github.crashdemons.playerheads.compatibility.exceptions
-
-
Exception indicating that the Compatibility library project was misconfigured - when it was built, not correctly finalizing support information.
-
-
CompatibilityMisconfiguredException(String) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityMisconfiguredException
-
 
-
CompatibilityMisconfiguredException(String, Exception) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityMisconfiguredException
-
 
-
CompatibilityProvider - Interface in com.github.crashdemons.playerheads.compatibility
-
-
An interface specifying all of the methods we need for our plugin that require differing Bukkit-specific implementations which we wish to abstract from our plugin code.
-
-
CompatibilitySupport - Class in com.github.crashdemons.playerheads.compatibility
-
-
Class that holds supported compatibility implementations in this release.
-
-
CompatibilityUnavailableException - Exception in com.github.crashdemons.playerheads.compatibility.exceptions
-
-
Exception indicating that an implementation providing compatibility for the - current server couldn't be found or is otherwise unavailable.
-
-
CompatibilityUnavailableException(String) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnavailableException
-
 
-
CompatibilityUnavailableException(String, Exception) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnavailableException
-
 
-
CompatibilityUnregisteredException - Exception in com.github.crashdemons.playerheads.compatibility.exceptions
-
-
Exception indicating that a compatibility-provider implementation isn't - registered at a time when it is required.
-
-
CompatibilityUnregisteredException(String) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnregisteredException
-
 
-
CompatibilityUnregisteredException(String, Exception) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnregisteredException
-
 
-
CompatibilityUnsupportedException - Exception in com.github.crashdemons.playerheads.compatibility.exceptions
-
-
Exception indicating a server version that is incompatible with the available - implementations.
-
-
CompatibilityUnsupportedException(String) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnsupportedException
-
 
-
CompatibilityUnsupportedException(String, Exception) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.CompatibilityUnsupportedException
-
 
-
CompatiblePlugin - Class in com.github.crashdemons.playerheads.compatibility.plugins
-
-
Defines an abstract third-party-plugin compatibility class which can detect - and retrieves the plugin instance.
-
-
CompatiblePlugin(Plugin, String) - Constructor for class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
-
-
Construct the plugin-compatibility object
-
-
CompatiblePlugin(Plugin, String, ConfigurationSection) - Constructor for class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
-
-
Construct the plugin-compatibility object
-
-
CompatiblePlugins - Class in com.github.crashdemons.playerheads.compatibility
-
-
Class providing methods and information for inter-plugin compatibility.
-
-
CompatibleProfile - Class in com.github.crashdemons.playerheads.compatibility
-
-
Utility class that may be used by compatibility providers to handle head profile information.
-
-
CompatibleProfile() - Constructor for class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Internal constructor only be used for blank objects by child classes.
-
-
CompatibleProfile(Object) - Constructor for class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Constructs a profile object from some implementation-defined representation of profiles.
-
-
CompatibleProfile(UUID, String) - Constructor for class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Constructs an object containing information about a head.
-
-
CompatibleSkullMaterial - Enum in com.github.crashdemons.playerheads.compatibility
-
-
An enumeration of vanilla skull/head materials (items and blocks) that can - possibly be supported.
-
-
config - Variable in class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
-
 
-
createCompatibleProfile(String, UUID, String) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Create a compatible profile object with the provided parameters.
-
-
createItemStack(int) - Method in interface com.github.crashdemons.playerheads.compatibility.SkullDetails
-
-
Create an ItemStack of a given quantity for this specific skull - implementation.
-
-
CREEPER - com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
 
-
CREEPER - com.github.crashdemons.playerheads.compatibility.SkullType
-
 

D

-
DRAGON - com.github.crashdemons.playerheads.compatibility.SkullType
-
 
DropHeadEvent - Interface in org.shininet.bukkit.playerheads.events
Interface for events that drop a plugin-supported head.
@@ -230,20 +82,10 @@

D

E

-
ENDER_DRAGON - com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
-
1.9 dragon head
-
equals(Object) - Method in interface com.github.crashdemons.playerheads.api.HeadType
Determine if this headtype is the same as another.
-
exemptFastbreak(Player) - Method in class com.github.crashdemons.playerheads.compatibility.plugins.NoCheatPlusCompatibility
-
-
Adds an exemption for a user from fast-break checks
-
-
ExternalHeads - Class in com.github.crashdemons.playerheads.compatibility.plugins.heads
-
 

F

@@ -262,24 +104,6 @@

F

G

-
get() - Method in class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
-
-
Get the plugin instance for the third-party plugin being supported.
-
-
get(SkullType) - Static method in enum com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
-
Finds a skull material enum entry associated with the vanilla skull-type.
-
-
get(BlockState) - Static method in enum com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
-
Finds a skull material enum entry that best fits with the provided - BlockState.
-
-
get(ItemStack) - Static method in enum com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
-
Finds a skull material enum entry that best fits with the provided - ItemStack.
-
getApiInstance() - Static method in class com.github.crashdemons.playerheads.api.PlayerHeads
Gets the instance of the PlayerHeads API
@@ -288,42 +112,25 @@

G

Gets a "boring" playerhead without an owner as if "dropboringplayerheads" was enabled.
-
getBukkitClassVersion() - Static method in class com.github.crashdemons.playerheads.compatibility.Version
+
getCause() - Method in class org.shininet.bukkit.playerheads.events.LivingEntityDropHeadEvent
+
+
The event which inevitably triggered the beheading event (usually EntityDeathEvent)
+
+
getCause() - Method in class org.shininet.bukkit.playerheads.events.VanillaLivingEntityDropHeadEvent
-
Gets the raw version string for NMS and OBC class paths
+
The event which inevitably triggered the beheading event (usually EntityDeathEvent)
getChargedCreeperModifier() - Method in class org.shininet.bukkit.playerheads.events.HeadRollEvent
Gets the charged creeper modifier (multiplier) that modified the effective droprate.
-
getClass(String) - Static method in class com.github.crashdemons.playerheads.compatibility.RuntimeReferences
-
 
getCompatibilityProvider() - Method in interface com.github.crashdemons.playerheads.api.PlayerHeadsAPI
Deprecated.
You should use Compatibility.getProvider() from PlayerHeads-compatibility-api. Compatibility packages will be removed from PH-API in the future, but you may still access them if you use PlayerHeads-compatibility-api (or lib) as a dependency.
-
getCompatibleHeadItem(CompatibleSkullMaterial, int) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets the head used as a base for a displaying a given vanilla skull type.
-
-
getCompatibleMaterialByName(String) - Static method in class com.github.crashdemons.playerheads.compatibility.RuntimeReferences
-
 
-
getCompatibleNameFromEntity(Entity) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets a forward-portable name of an entity.
-
-
getCompatibleProfile(Object) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets a profile on a block or item.
-
-
getDetails() - Method in enum com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
-
Gets a class describing implementation-specific details about a vanilla - skull
-
getDisplayName() - Method in interface com.github.crashdemons.playerheads.api.HeadType
Gets the item displayname for the associated skulltype, as defined in the @@ -334,11 +141,17 @@

G

Gets the item that will drop from the mined block.
getDrop() - Method in interface org.shininet.bukkit.playerheads.events.DropHeadEvent
-
 
+
+
Get the head/item being dropped from this event
+
getDrop() - Method in class org.shininet.bukkit.playerheads.events.LivingEntityDropHeadEvent
Gets the item that will drop from the beheading.
+
getDrops() - Method in class org.shininet.bukkit.playerheads.events.VanillaLivingEntityDropHeadEvent
+
+
Gets the items that will drop from the beheading.
+
getDropSuccess() - Method in class org.shininet.bukkit.playerheads.events.HeadRollEvent
Whether the effective drop roll was determined to be a success.
@@ -360,22 +173,9 @@

G

Gets the player that was beheaded.
-
getEntityTypeByName(String) - Static method in class com.github.crashdemons.playerheads.compatibility.RuntimeReferences
-
 
-
getEntityTypeFromTypename(String) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
+
getEntity() - Method in class org.shininet.bukkit.playerheads.events.VanillaLivingEntityDropHeadEvent
-
Gets an entity type from the Typename of an entity.
-
-
getExternalHeadHandling(String, UUID) - Method in class com.github.crashdemons.playerheads.compatibility.plugins.HeadPluginCompatibility
-
 
-
getExternalHeadHandling(BlockState) - Method in class com.github.crashdemons.playerheads.compatibility.plugins.HeadPluginCompatibility
-
 
-
getExternalHeadHandling(ItemStack) - Method in class com.github.crashdemons.playerheads.compatibility.plugins.HeadPluginCompatibility
-
 
-
getFloorMaterial() - Method in interface com.github.crashdemons.playerheads.compatibility.SkullDetails
-
-
Gets the bukkit material corresponding to a block of this skull placed on - a floor (not against a wall)
+
Gets the entity that was beheaded
getHandlerList() - Static method in class org.shininet.bukkit.playerheads.events.BlockDropHeadEvent
@@ -389,6 +189,10 @@

G

Get a list of handlers for the event.
+
getHandlerList() - Static method in class org.shininet.bukkit.playerheads.events.VanillaLivingEntityDropHeadEvent
+
+
Get a list of handlers for the event.
+
getHandlers() - Method in class org.shininet.bukkit.playerheads.events.BlockDropHeadEvent
Get a list of handlers for the event.
@@ -401,10 +205,10 @@

G

Get a list of handlers for the event.
-
getHandling(String) - Static method in class com.github.crashdemons.playerheads.compatibility.plugins.heads.ExternalHeads
-
 
-
getHandling(UUID) - Static method in class com.github.crashdemons.playerheads.compatibility.plugins.heads.ExternalHeads
-
 
+
getHandlers() - Method in class org.shininet.bukkit.playerheads.events.VanillaLivingEntityDropHeadEvent
+
+
Get a list of handlers for the event.
+
getHeadDrop(Entity) - Method in interface com.github.crashdemons.playerheads.api.PlayerHeadsAPI
Gets a stack of head items as they would normally be dropped from the @@ -445,29 +249,11 @@

G

getHeadFrom(Entity) instead.
-
getId() - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Get the UUID associated with the head profile.
-
getImplementationDetails() - Method in interface com.github.crashdemons.playerheads.api.HeadType
Get the underlying bukkit implementation details for the head on this server version.
-
getItemInMainHand(LivingEntity) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
 
-
getItemInMainHand(Player) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets the itemstack in the [main] hand of a player
-
-
getItemMaterial() - Method in interface com.github.crashdemons.playerheads.compatibility.SkullDetails
-
-
Gets the bukkit material corresponding to an Item of this skull
-
-
getKeepInventory(World) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Checks whether the keepinventory gamerule is enabled for a given world
-
getKiller() - Method in class org.shininet.bukkit.playerheads.events.HeadRollEvent
Get the Killer's entity that may have done the beheading.
@@ -477,37 +263,18 @@

G

Gets whether the killer was configured to always behead this type of target.
-
getLootingModifier() - Method in class org.shininet.bukkit.playerheads.events.HeadRollEvent
-
-
Gets the looting modifier (multiplier) that modified the effective - droprate.
-
-
getMaterialByName(String) - Static method in class com.github.crashdemons.playerheads.compatibility.RuntimeReferences
-
 
-
getMethod(Class<?>, String, Class<?>...) - Static method in class com.github.crashdemons.playerheads.compatibility.RuntimeReferences
-
 
-
getMethod(String, String, Class<?>...) - Static method in class com.github.crashdemons.playerheads.compatibility.RuntimeReferences
-
 
-
getName() - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
The username associated with the head profile.
-
-
getName() - Method in class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
+
getKillerEntity() - Method in class org.shininet.bukkit.playerheads.events.LivingEntityDropHeadEvent
-
Gets the proper name of the third-party plugin this class attempts to - support.
+
The entity that is responsible for the beheading, as determined by PlayerHeads.
-
getOfflinePlayerByName(String) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
+
getKillerEntity() - Method in class org.shininet.bukkit.playerheads.events.VanillaLivingEntityDropHeadEvent
-
Gets a player by their username
+
The entity that is responsible for the beheading, as determined by PlayerHeads.
-
getOptionalProfile(Skull) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets the Optional Profile object for a head.
-
-
getOptionalProfile(ItemMeta) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
+
getLootingModifier() - Method in class org.shininet.bukkit.playerheads.events.HeadRollEvent
-
Gets the Optional Profile object for a head.
+
Gets the looting modifier (multiplier) that modified the effective + droprate.
getOriginalDropRate() - Method in class org.shininet.bukkit.playerheads.events.HeadRollEvent
@@ -524,114 +291,18 @@

G

Get the UUID associated with the skulltype (randomly assigned to it specifically).
-
getOwner() - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Get the owner username.
-
-
getOwner(Skull) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets the owner username of a skull by any means necessary.
-
-
getOwner(SkullMeta) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets the owner username of a skull by any means necessary.
-
-
getOwnerDirect(Skull) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Deprecated. -
This method does not include extended checking, you probably dont want the direct method.
-
-
-
getOwnerDirect(SkullMeta) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Deprecated. -
This method does not include extended checking, you probably dont want the direct method.
-
-
-
getOwningPlayer() - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Gets the OfflinePlayer associated with the profile.
-
-
getOwningPlayer(Skull) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets the owning player of a skull, with an additional attempt to derive the player from Profile uuid.
-
-
getOwningPlayer(SkullMeta) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets the owning player of a skull, with an additional attempt to derive the player from Profile uuid.
-
-
getOwningPlayerDirect(Skull) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Deprecated. -
This method does not include extended checking, you probably dont want the direct method.
-
-
-
getOwningPlayerDirect(SkullMeta) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Deprecated. -
This method does not include extended checking, you probably dont want the direct method.
-
-
getPlugin() - Method in interface com.github.crashdemons.playerheads.api.PlayerHeadsAPI
Get the main PlayerHeads Plugin instance
-
getPlugin() - Method in class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
-
-
Get the plugin instance for the third-party plugin being supported.
-
-
getProfile(Skull) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Deprecated. -
This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
-
-
-
getProfile(ItemMeta) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Deprecated. -
This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
-
-
-
getProvider() - Static method in class com.github.crashdemons.playerheads.compatibility.Compatibility
-
-
Gets the currently registered compatibility provider for the session.
-
-
getRawServerVersion() - Static method in class com.github.crashdemons.playerheads.compatibility.Version
-
-
Gets the raw version string supplied by the server
-
-
getRecommendedProviderType() - Static method in class com.github.crashdemons.playerheads.compatibility.Compatibility
-
-
Gets the current recommended implementation type name for your server - based on the supported implementations.
-
-
getRecommendedProviderVersion() - Static method in class com.github.crashdemons.playerheads.compatibility.Compatibility
-
-
Gets the current recommended bukkit-specific implementation version - string for your server based on the supported implementations.
-
-
getSkullDetails(SkullType) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets a class describing implementation-specific details about a vanilla skull type
-
-
getSkullType(BlockState) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets the vanilla skulltype best associated with the BlockState provided.
-
-
getSkullType(ItemStack) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Gets the vanilla skulltype best associated with the ItemStack provided.
-
-
getSkullTypeByName(String) - Static method in class com.github.crashdemons.playerheads.compatibility.RuntimeReferences
-
 
getSlimeModifier() - Method in class org.shininet.bukkit.playerheads.events.HeadRollEvent
Gets the slime/magmacube size modifier (multiplier) that modified the effective droprate.
-
getString() - Static method in class com.github.crashdemons.playerheads.compatibility.Version
+
getSupportedHeads() - Method in interface com.github.crashdemons.playerheads.api.PlayerHeadsAPI
-
Gets the detected server version string in the format Major.Minor
+
Gets an array of all heads defined by PlayerHeads
getTarget() - Method in class org.shininet.bukkit.playerheads.events.HeadRollEvent
@@ -641,69 +312,15 @@

G

Get the Base64-encoded texture string associated with the skulltype
-
getTextures() - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Get the texture Base64 textures tag string associated with the profile.
-
-
getType() - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Retrieve the server type the provider implements code for.
-
-
getType() - Static method in class com.github.crashdemons.playerheads.compatibility.Version
-
-
The type of server.
-
getVersion() - Method in interface com.github.crashdemons.playerheads.api.PlayerHeadsAPI
Get the version of the PlayerHeads plugin in use
-
getVersion() - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Retrieve the version string associated with the specific Compatibility Provider implementation.
-
-
getWallMaterial() - Method in interface com.github.crashdemons.playerheads.compatibility.SkullDetails
-
-
Gets the bukkit material corresponding to a block of this skull placed - against a wall (not on a floor or other placement)
-

H

-
hasClass(String) - Static method in class com.github.crashdemons.playerheads.compatibility.RuntimeReferences
-
 
-
hasField(String) - Static method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
 
-
hasField(UUID) - Static method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
 
hashCode() - Method in interface com.github.crashdemons.playerheads.api.HeadType
 
-
hasId() - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
whether the id is present (not null)
-
-
hasName() - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
whether the username is present (not null)
-
-
hasOwner() - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Whether the owner username is present - equivalent to hasName() but provided for Bukkit similarity.
-
-
hasRequiredFields(UUID, String) - Static method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
 
-
hasTextures() - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
whether the texture string is present (not null)
-
-
HeadModificationHandling - Enum in com.github.crashdemons.playerheads.compatibility.plugins.heads
-
 
-
HeadPluginCompatibility - Class in com.github.crashdemons.playerheads.compatibility.plugins
-
 
-
HeadPluginCompatibility(Plugin) - Constructor for class com.github.crashdemons.playerheads.compatibility.plugins.HeadPluginCompatibility
-
 
-
HeadPluginCompatibility(Plugin, ConfigurationSection) - Constructor for class com.github.crashdemons.playerheads.compatibility.plugins.HeadPluginCompatibility
-
 
HeadRollEvent - Class in org.shininet.bukkit.playerheads.events
Event created by PlayerHeads (4.9.2+) to indicate that a head dropchance roll @@ -721,10 +338,6 @@

H

Creates the Head dropchance event for PlayerHeads.
-
heads - Static variable in class com.github.crashdemons.playerheads.compatibility.CompatiblePlugins
-
-
Generic head support class that determines handling of detected plugin-heads (eg: being able to ignore them)
-
HeadType - Interface in com.github.crashdemons.playerheads.api
Object representing the type of Head supported by PlayerHeads.
@@ -732,28 +345,6 @@

H

I

-
id - Variable in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
 
-
init() - Static method in class com.github.crashdemons.playerheads.compatibility.Compatibility
-
-
Initialize compatibility support.
-
-
init() - Static method in class com.github.crashdemons.playerheads.compatibility.Version
-
-
Initialize the version class and detect the server version.
-
-
init(Plugin) - Static method in class com.github.crashdemons.playerheads.compatibility.CompatiblePlugins
-
-
Initialize plugin support classes.
-
-
init(Plugin, ConfigurationSection) - Static method in class com.github.crashdemons.playerheads.compatibility.CompatiblePlugins
-
-
Initialize plugin support classes.
-
-
isBackedByPlayerhead() - Method in interface com.github.crashdemons.playerheads.compatibility.SkullDetails
-
-
Gets whether the skull must be implemented with a playerhead
-
isCancelled() - Method in class org.shininet.bukkit.playerheads.events.BlockDropHeadEvent
Whether the event has been cancelled.
@@ -762,95 +353,26 @@

I

Whether the event has been cancelled.
-
isExemptFastbreak(Player) - Method in class com.github.crashdemons.playerheads.compatibility.plugins.NoCheatPlusCompatibility
-
-
Checks if a user is exempt from fast-break checks
-
-
isFinalized() - Static method in class com.github.crashdemons.playerheads.compatibility.CompatibilitySupport
-
-
Specifies whether compatibility support has been added by a downstream - project yet.
-
-
isHead(BlockState) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Checks whether the blockstate corresponds a vanilla head or skull of some type.
-
-
isHead(ItemStack) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Checks whether the itemstack corresponds a vanilla head or skull of some type.
-
-
isMobhead(BlockState) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Checks whether the blockstate corresponds to a vanilla head or skull and is not a player-head type
-
-
isMobhead(ItemStack) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Checks whether the itemstack corresponds to a vanilla head or skull and is not a player-head type
-
-
isPlayerhead(BlockState) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
+
isCancelled() - Method in class org.shininet.bukkit.playerheads.events.VanillaLivingEntityDropHeadEvent
-
Checks whether the blockstate corresponds to a vanilla player-head type
-
-
isPlayerhead(ItemStack) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Checks whether the itemstack corresponds to a vanilla player-head type
+
Whether the event has been cancelled.
isPlayerHead() - Method in interface com.github.crashdemons.playerheads.api.HeadType
Checks whether the skulltype uses a playerhead material internally.
-
isPresent() - Method in class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
-
-
Whether the supported third-party plugin was detected to be present on - the server.
-
-
isProviderAvailable() - Static method in class com.github.crashdemons.playerheads.compatibility.Compatibility
-
-
Determine if a compatibility implementation has been registered yet.
-
-
isReady() - Static method in class com.github.crashdemons.playerheads.compatibility.CompatiblePlugins
-
-
Checks whether the plugin compatibility classes are ready for use.
-
-
isReady() - Method in class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
-
-
Whether the plugin compatibility class is ready to be used.
-
-
isSkinnable() - Method in interface com.github.crashdemons.playerheads.compatibility.SkullDetails
-
-
Gets whether this skull, as implemented, is texturable or - username-skinnable.
-
-
isSkull - Variable in enum com.github.crashdemons.playerheads.compatibility.SkullType
-
-
A property specifying whether the skulltype entry is a proper skull (semantically - for types of skeletons, etc) or a - head.
-
-
isSupported() - Method in enum com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
-
Whether this skull material is supported as a vanilla item/block type.
-
isVanilla() - Method in interface com.github.crashdemons.playerheads.api.HeadType
Determines if a head of this type is implemented with a vanilla mob head or not [for the current server version].
-
isVariant() - Method in interface com.github.crashdemons.playerheads.compatibility.SkullDetails
-
-
Gets whether the skull is a variant type (legacy heads based on skeleton - skull variants).
-

L

LivingEntityDropHeadEvent - Class in org.shininet.bukkit.playerheads.events
-
Event created by the PlayerHeads plugin when a [living] entity is beheaded.
+
Event created by the PlayerHeads plugin when a [living] entity is beheaded by PlayerHeads itself.
-
loadIdsFromConfig(ConfigurationSection, String, HeadModificationHandling) - Static method in class com.github.crashdemons.playerheads.compatibility.plugins.heads.ExternalHeads
-
 
-
loadNamesFromConfig(ConfigurationSection, String, HeadModificationHandling) - Static method in class com.github.crashdemons.playerheads.compatibility.plugins.heads.ExternalHeads
-
 

M

@@ -862,27 +384,10 @@

M

Constructs the event
-
-

N

-
-
name - Variable in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
 
-
NO_INTERACTION - com.github.crashdemons.playerheads.compatibility.plugins.heads.HeadModificationHandling
-
 
-
nocheatplus - Static variable in class com.github.crashdemons.playerheads.compatibility.CompatiblePlugins
-
-
NoCheatPlus compatibility class instance
-
-
NoCheatPlusCompatibility - Class in com.github.crashdemons.playerheads.compatibility.plugins
+
MobDropHeadEvent(Event, LivingEntity, LivingEntity, ItemStack) - Constructor for class org.shininet.bukkit.playerheads.events.MobDropHeadEvent
-
Defines required operations performed with the NoCheatPlus plugin for compatibility reasons.
-
-
NoCheatPlusCompatibility(Plugin) - Constructor for class com.github.crashdemons.playerheads.compatibility.plugins.NoCheatPlusCompatibility
-
-
Create the NCP plugin-compatibility class
+
Constructs the event
-
NORMAL - com.github.crashdemons.playerheads.compatibility.plugins.heads.HeadModificationHandling
-
 

O

@@ -897,12 +402,6 @@

O

P

-
parentPlugin - Variable in class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
-
 
-
PLAYER - com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
 
-
PLAYER - com.github.crashdemons.playerheads.compatibility.SkullType
-
 
PlayerDropHeadEvent - Class in org.shininet.bukkit.playerheads.events
Event created by the PlayerHeads plugin when a Player is beheaded.
@@ -911,6 +410,10 @@

P

Constructs the event
+
PlayerDropHeadEvent(Event, Player, LivingEntity, ItemStack) - Constructor for class org.shininet.bukkit.playerheads.events.PlayerDropHeadEvent
+
+
Constructs the event
+
PlayerHeads - Class in com.github.crashdemons.playerheads.api
PlayerHeads class for managing API provisions.
@@ -923,36 +426,6 @@

P

Interface representing the PlayerHeads plugin class object
-
protection - Static variable in class com.github.crashdemons.playerheads.compatibility.CompatiblePlugins
-
-
Generic protection-plugin compatibility class instance
-
-
ProtectionPluginCompatibility - Class in com.github.crashdemons.playerheads.compatibility.plugins
-
-
Defines required operations performed for generic block/region protection plugins for compatibility reasons.
-
-
ProtectionPluginCompatibility(Plugin) - Constructor for class com.github.crashdemons.playerheads.compatibility.plugins.ProtectionPluginCompatibility
-
-
Create the protection-plugin compatibility class
-
-
-

R

-
-
registerProvider(CompatibilityProvider) - Static method in class com.github.crashdemons.playerheads.compatibility.Compatibility
-
-
Registers an compatibility provider (a bukkit-version-specific - implementation) for the session with the compatibility class.
-
-
reloadConfig() - Static method in class com.github.crashdemons.playerheads.compatibility.CompatiblePlugins
-
 
-
reloadConfig() - Method in class com.github.crashdemons.playerheads.compatibility.plugins.CompatiblePlugin
-
 
-
reloadConfig() - Method in class com.github.crashdemons.playerheads.compatibility.plugins.HeadPluginCompatibility
-
 
-
RuntimeReferences - Class in com.github.crashdemons.playerheads.compatibility
-
-
Provides methods to perform runtime lookups of values by name (eg: enums)
-

S

@@ -970,15 +443,9 @@

S

Sets whether the event should be cancelled.
-
setCompatibleProfile(Object, CompatibleProfile) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
+
setCancelled(boolean) - Method in class org.shininet.bukkit.playerheads.events.VanillaLivingEntityDropHeadEvent
-
Sets a profile on a block or item.
-
-
setDetectedServerVersion(String, int, int) - Static method in class com.github.crashdemons.playerheads.compatibility.Version
-
-
Deprecated. -
internal use only
-
+
Sets whether the event should be cancelled.
setDrop(ItemStack) - Method in class org.shininet.bukkit.playerheads.events.BlockDropHeadEvent
@@ -996,92 +463,6 @@

S

Sets whether the drop roll should be considered a success.
-
setFromInternalObject(Object) - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Sets fields/values of the profile object from an implementation-defined representation of profiles.
-
-
setId(UUID) - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Set the UUID associated with the head profile.
-
-
setItemInMainHand(Player, ItemStack) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Sets the itemstack in the [main] hand of a player
-
-
setName(String) - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Set the username associated with the head profile.
-
-
setOptionalProfile(Skull, Optional<Object>) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Sets the Optional Profile object for a head.
-
-
setOptionalProfile(ItemMeta, Optional<Object>) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Sets the Optional Profile object for a head.
-
-
setOwner(Skull, String) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Sets the owner username of a skull
-
-
setOwner(SkullMeta, String) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Sets the owner username of a skull
-
-
setOwningPlayer(Skull, OfflinePlayer) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Sets the player owning a skull
-
-
setOwningPlayer(SkullMeta, OfflinePlayer) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Sets the player owning a skull
-
-
setProfile(Skull, Object) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Deprecated. -
This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
-
-
-
setProfile(Skull, UUID, String) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Set a profile field in the supplied block state using a UUID and Texture string
-
-
setProfile(ItemMeta, Object) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Deprecated. -
This method should be avoided entirely or used only for acceptable-failure situations because of server support limitations.
-
-
-
setProfile(ItemMeta, UUID, String) - Method in interface com.github.crashdemons.playerheads.compatibility.CompatibilityProvider
-
-
Set a profile field in the supplied item meta using a UUID and Texture string
-
-
setTextures(String) - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Set the texture Base64 textures tag string associated with the profile.
-
-
SimulatedBlockBreakEvent - Class in com.github.crashdemons.playerheads.compatibility.plugins
-
-
Event used internally by the plugin to detect if a hypothetical BlockBreak - would be cancelled by another plugin.
-
-
SimulatedBlockBreakEvent(Block, Player) - Constructor for class com.github.crashdemons.playerheads.compatibility.plugins.SimulatedBlockBreakEvent
-
-
Constructs a simulated block break event
-
-
SKELETON - com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
 
-
SKELETON - com.github.crashdemons.playerheads.compatibility.SkullType
-
 
-
SkullDetails - Interface in com.github.crashdemons.playerheads.compatibility
-
-
Defines an interface of implementation-specific details and methods relating - to a skull item/block.
-
-
SkullType - Enum in com.github.crashdemons.playerheads.compatibility
-
-
An enumeration of skulls and heads that are supported in vanilla servers.
-
succeeded() - Method in class org.shininet.bukkit.playerheads.events.HeadRollEvent
Whether the effective drop roll was determined to be a success.
@@ -1089,110 +470,23 @@

S

T

-
testBlockBreak(Block, Player) - Static method in class com.github.crashdemons.playerheads.compatibility.CompatiblePlugins
-
-
Test of a simulated block break succeeds (considering all applicable - plugin support classes).
-
-
testBlockBreak(Block, Player) - Method in class com.github.crashdemons.playerheads.compatibility.plugins.ProtectionPluginCompatibility
-
-
Simulates a block-break event from a user in order to check if it would normally be blocked by a protection-plugin.
-
-
textures - Variable in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
 
toEnum() - Method in interface com.github.crashdemons.playerheads.api.HeadType
Return the associated Enum value for the HeadType
-
toInternalObject() - Method in class com.github.crashdemons.playerheads.compatibility.CompatibleProfile
-
-
Gets an implementation-defined representation for the profile information.
-
-
-

U

-
-
unexemptFastbreak(Player) - Method in class com.github.crashdemons.playerheads.compatibility.plugins.NoCheatPlusCompatibility
-
-
Removes exemptions for a user for fast-break checks
-
-
UnknownVersionException - Exception in com.github.crashdemons.playerheads.compatibility.exceptions
-
-
Exception indicating a server version that could not be retrieved or - understood.
-
-
UnknownVersionException(String) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.UnknownVersionException
-
 
-
UnknownVersionException(String, Exception) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.UnknownVersionException
-
 
-
unregisterProvider() - Static method in class com.github.crashdemons.playerheads.compatibility.Compatibility
-
-
Deprecated. -
registering an unregistering multiple providers is not recommended since it means loading unnecessary classes into memory and changing the state of compatibility.
-
-

V

-
valueOf(String) - Static method in enum com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
+
VanillaLivingEntityDropHeadEvent - Class in org.shininet.bukkit.playerheads.events
-
Returns the enum constant of this type with the specified name.
+
Event created by PlayerHeads when a [living] entity drops a head from a source outside of PlayerHeads.
-
valueOf(String) - Static method in enum com.github.crashdemons.playerheads.compatibility.plugins.heads.HeadModificationHandling
+
VanillaLivingEntityDropHeadEvent(Event, LivingEntity, LivingEntity, List<ItemStack>) - Constructor for class org.shininet.bukkit.playerheads.events.VanillaLivingEntityDropHeadEvent
-
Returns the enum constant of this type with the specified name.
+
Creates the event
-
valueOf(String) - Static method in enum com.github.crashdemons.playerheads.compatibility.SkullType
-
-
Returns the enum constant of this type with the specified name.
-
-
values() - Static method in enum com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum com.github.crashdemons.playerheads.compatibility.plugins.heads.HeadModificationHandling
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum com.github.crashdemons.playerheads.compatibility.SkullType
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
Version - Class in com.github.crashdemons.playerheads.compatibility
-
-
A class providing methods related to the current server's version.
-
-
VersionException - Exception in com.github.crashdemons.playerheads.compatibility.exceptions
-
-
Base for all version exceptions
-
-
VersionException(String) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.VersionException
-
 
-
VersionException(String, Exception) - Constructor for exception com.github.crashdemons.playerheads.compatibility.exceptions.VersionException
-
 
-
VERSIONS - Static variable in class com.github.crashdemons.playerheads.compatibility.CompatibilitySupport
-
-
Map containing the supported server implementations and their supported - versions.
-
-
-

W

-
-
WITHER_SKELETON - com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
 
-
WITHER_SKELETON - com.github.crashdemons.playerheads.compatibility.SkullType
-
 
-
-

Z

-
-
ZOMBIE - com.github.crashdemons.playerheads.compatibility.CompatibleSkullMaterial
-
 
-
ZOMBIE - com.github.crashdemons.playerheads.compatibility.SkullType
-
 
-B C D E F G H I L M N O P R S T U V W Z 
All Classes|All Packages +B C D E F G H I L M O P S T V 
All Classes|All Packages