Interface PlayerSkinPatch

All Superinterfaces:
ConfigurationSerializable

public interface PlayerSkinPatch extends ConfigurationSerializable
  • Method Details

    • getTexturePatch

      @Nullable NamespacedKey getTexturePatch()
      Gets the path to the profile texture patched onto this profile.
      Returns:
      the model texture
    • setTexturePatch

      void setTexturePatch(@Nullable NamespacedKey texture)
      Gets the path to the profile texture patched onto this profile.
      Parameters:
      texture - the model texture
    • getCapeTexturePatch

      @Nullable NamespacedKey getCapeTexturePatch()
      Gets the path to the profile cape texture patched onto this profile.
      Returns:
      the cape texture
    • setCapeTexturePatch

      void setCapeTexturePatch(@Nullable NamespacedKey cape)
      Gets the path to the profile cape texture patched onto this profile.
      Parameters:
      cape - the cape texture
    • getElytraTexturePatch

      @Nullable NamespacedKey getElytraTexturePatch()
      Gets the path to the profile elytra texture patched onto this profile.
      Returns:
      the elyra texture
    • setElytraTexturePatch

      void setElytraTexturePatch(@Nullable NamespacedKey elytra)
      Gets the path to the profile elytra texture patched onto this profile.
      Parameters:
      elytra - the elyra texture
    • getModelPatch

      @Nullable PlayerTextures.SkinModel getModelPatch()
      Gets the type of model patched onto this profile.
      Returns:
      model type
    • setModelPatch

      void setModelPatch(@Nullable PlayerTextures.SkinModel model)
      Gets the type of model patched onto this profile.
      Parameters:
      model - model type
    • isEmpty

      boolean isEmpty()
      Checks if the patch has no patched components.
      Returns:
      true if the patch has no patched components