Interface ResolvableProfile.SkinPatch

Enclosing interface:
ResolvableProfile

@Experimental @NonExtendable public static interface ResolvableProfile.SkinPatch
Override rendering options for a ResolvableProfile.
  • Method Details

    • empty

      Returns the empty skin patch that does not override anything.
      Returns:
      the empty skin patch
    • skinPatch

      @Contract(value="-> new", pure=true) static ResolvableProfile.SkinPatchBuilder skinPatch()
      Creates a new builder for a skin patch.
      Returns:
      new skin patch builder
    • body

      @Nullable Key body()
      Gets the body texture key.
      Returns:
      the body texture key, or null if not set
    • cape

      @Nullable Key cape()
      Gets the cape texture key.
      Returns:
      the cape texture key, or null if not set
    • elytra

      @Nullable Key elytra()
      Gets the elytra texture key.
      Returns:
      the elytra texture key, or null if not set
    • model

      Gets the skin model.
      Returns:
      the skin model, or null if not set
    • isEmpty

      default boolean isEmpty()
      Returns if this skin patch does not override any values.
      Returns:
      true if this skin patch is empty