Interface ResolvableProfile.SkinPatchBuilder
- All Superinterfaces:
DataComponentBuilder<ResolvableProfile.SkinPatch>
- Enclosing interface:
ResolvableProfile
@Experimental
@NonExtendable
public static interface ResolvableProfile.SkinPatchBuilder
extends DataComponentBuilder<ResolvableProfile.SkinPatch>
Builder for
ResolvableProfile.SkinPatch
.-
Method Summary
Modifier and TypeMethodDescriptionSets the body texture key.Sets the cape texture key.Sets the elytra texture key.Sets the skin model.Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilder
build
-
Method Details
-
body
@Contract(value="_ -> this", mutates="this") ResolvableProfile.SkinPatchBuilder body(@Nullable Key body) Sets the body texture key.- Parameters:
body
- the body texture key, ornull
to unset it- Returns:
- the builder for chaining
-
cape
@Contract(value="_ -> this", mutates="this") ResolvableProfile.SkinPatchBuilder cape(@Nullable Key cape) Sets the cape texture key.- Parameters:
cape
- the cape texture key, ornull
to unset it- Returns:
- the builder for chaining
-
elytra
@Contract(value="_ -> this", mutates="this") ResolvableProfile.SkinPatchBuilder elytra(@Nullable Key elytra) Sets the elytra texture key.- Parameters:
elytra
- the elytra texture key, ornull
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, ornull
to unset it- Returns:
- the builder for chaining
-