Interface ResolvableProfile.SkinPatchBuilder
- All Superinterfaces:
DataComponentBuilder<ResolvableProfile.SkinPatch>
- Enclosing interface:
ResolvableProfile
@NonExtendable
public static interface ResolvableProfile.SkinPatchBuilder
extends DataComponentBuilder<ResolvableProfile.SkinPatch>
Builder for
ResolvableProfile.SkinPatch.- Since:
- 1.21.10
-
Method Summary
Modifier and TypeMethodDescriptionbody(@Nullable net.kyori.adventure.key.Key body) Sets the body texture key.cape(@Nullable net.kyori.adventure.key.Key cape) Sets the cape texture key.elytra(@Nullable net.kyori.adventure.key.Key elytra) Sets the elytra texture key.model(@Nullable PlayerTextures.SkinModel model) Sets the skin model.Methods inherited from interface DataComponentBuilder
build
-
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, ornullto unset it- Returns:
- the builder for chaining
- Since:
- 1.21.10
-
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, ornullto unset it- Returns:
- the builder for chaining
- Since:
- 1.21.10
-
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, ornullto unset it- Returns:
- the builder for chaining
- Since:
- 1.21.10
-
model
@Contract(value="_ -> this", mutates="this") ResolvableProfile.SkinPatchBuilder model(@Nullable PlayerTextures.SkinModel model) Sets the skin model.- Parameters:
model- the skin model, ornullto unset it- Returns:
- the builder for chaining
- Since:
- 1.21.10
-