接口 PlayerSkinPatch

所有超级接口:
ConfigurationSerializable

public interface PlayerSkinPatch extends ConfigurationSerializable
  • 方法详细资料

    • getTexturePatch

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

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

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

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

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

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

      Gets the type of model patched onto this profile.
      返回:
      model type
    • setModelPatch

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

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