接口 PlayerSkinPatch

所有超级接口:
ConfigurationSerializable

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

    • getTexturePatch

      @Nullable @Nullable NamespacedKey getTexturePatch()
      获取修补到此配置文件上的配置文件纹理的路径。

      原文:Gets the path to the profile texture patched onto this profile.

      返回:
      模型纹理.
    • setTexturePatch

      void setTexturePatch(@Nullable @Nullable NamespacedKey texture)
      设置修补到此配置文件上的配置文件纹理的路径。

      原文:Gets the path to the profile texture patched onto this profile.

      参数:
      texture - 模型纹理.
    • getCapeTexturePatch

      @Nullable @Nullable NamespacedKey getCapeTexturePatch()
      获取修补到此配置文件上的配置文件披风纹理的路径。

      原文:Gets the path to the profile cape texture patched onto this profile.

      返回:
      披风纹理.
    • setCapeTexturePatch

      void setCapeTexturePatch(@Nullable @Nullable NamespacedKey cape)
      设置修补到此配置文件上的配置文件披风纹理的路径。

      原文:Gets the path to the profile cape texture patched onto this profile.

      参数:
      cape - 披风纹理.
    • getElytraTexturePatch

      @Nullable @Nullable NamespacedKey getElytraTexturePatch()
      获取修补到此配置文件上的配置文件鞘翅纹理的路径。

      原文:Gets the path to the profile elytra texture patched onto this profile.

      返回:
      鞘翅纹理.
    • setElytraTexturePatch

      void setElytraTexturePatch(@Nullable @Nullable NamespacedKey elytra)
      设置修补到此配置文件上的配置文件鞘翅纹理的路径。

      原文:Gets the path to the profile elytra texture patched onto this profile.

      参数:
      elytra - 鞘翅纹理.
    • getModelPatch

      获取修补到此配置文件上的模型类型。

      原文:Gets the type of model patched onto this profile.

      返回:
      模型类型.
    • setModelPatch

      void setModelPatch(@Nullable PlayerTextures.SkinModel model)
      设置修补到此配置文件上的模型类型。

      原文:Gets the type of model patched onto this profile.

      参数:
      model - 模型类型.
    • isEmpty

      boolean isEmpty()
      检查补丁是否没有修补的组件。

      原文:Checks if the patch has no patched components.

      返回:
      如果补丁没有修补的组件则返回 true.