Interface ResolvableProfile.SkinPatch
- Enclosing interface:
ResolvableProfile
@Experimental
@NonExtendable
public static interface ResolvableProfile.SkinPatch
Override rendering options for a
ResolvableProfile.-
Method Summary
Modifier and TypeMethodDescription@Nullable net.kyori.adventure.key.Keybody()Gets the body texture key.@Nullable net.kyori.adventure.key.Keycape()Gets the cape texture key.@Nullable net.kyori.adventure.key.Keyelytra()Gets the elytra texture key.static ResolvableProfile.SkinPatchempty()Returns the empty skin patch that does not override anything.default booleanisEmpty()Returns if this skin patch does not override any values.model()Gets the skin model.Creates a new builder for a skin patch.
-
Method Details
-
empty
Returns the empty skin patch that does not override anything.- Returns:
- the empty skin patch
-
skinPatch
Creates a new builder for a skin patch.- Returns:
- new skin patch builder
-
body
@Nullable net.kyori.adventure.key.Key body()Gets the body texture key.- Returns:
- the body texture key, or
nullif not set
-
cape
@Nullable net.kyori.adventure.key.Key cape()Gets the cape texture key.- Returns:
- the cape texture key, or
nullif not set
-
elytra
@Nullable net.kyori.adventure.key.Key elytra()Gets the elytra texture key.- Returns:
- the elytra texture key, or
nullif not set
-
model
@Nullable PlayerTextures.SkinModel model()Gets the skin model.- Returns:
- the skin model, or
nullif not set
-
isEmpty
default boolean isEmpty()Returns if this skin patch does not override any values.- Returns:
trueif this skin patch is empty
-