Interface ResolvableProfile.SkinPatchBuilder

All Superinterfaces:
DataComponentBuilder<ResolvableProfile.SkinPatch>
Enclosing interface:
ResolvableProfile

@Experimental @NonExtendable public static interface ResolvableProfile.SkinPatchBuilder extends DataComponentBuilder<ResolvableProfile.SkinPatch>
  • Method Details

    • body

      @Contract(value="_ -> this", mutates="this") ResolvableProfile.SkinPatchBuilder body(@Nullable net.kyori.adventure.key.Key body)
      Sets the body texture key.
      Parameters:
      body - the body texture key, or null to unset it
      Returns:
      the builder for chaining
    • cape

      @Contract(value="_ -> this", mutates="this") ResolvableProfile.SkinPatchBuilder cape(@Nullable net.kyori.adventure.key.Key cape)
      Sets the cape texture key.
      Parameters:
      cape - the cape texture key, or null to unset it
      Returns:
      the builder for chaining
    • elytra

      @Contract(value="_ -> this", mutates="this") ResolvableProfile.SkinPatchBuilder elytra(@Nullable net.kyori.adventure.key.Key elytra)
      Sets the elytra texture key.
      Parameters:
      elytra - the elytra texture key, or null to unset it
      Returns:
      the builder for chaining
    • model

      @Contract(value="_ -> this", mutates="this") ResolvableProfile.SkinPatchBuilder model(@Nullable PlayerTextures.SkinModel model)
      Sets the skin model.
      Parameters:
      model - the skin model, or null to unset it
      Returns:
      the builder for chaining