Package org.bukkit.profile
Interface PlayerSkinPatch
- All Superinterfaces:
ConfigurationSerializable
-
Method Summary
Modifier and TypeMethodDescriptionGets the path to the profile cape texture patched onto this profile.Gets the path to the profile elytra texture patched onto this profile.Gets the type of model patched onto this profile.Gets the path to the profile texture patched onto this profile.booleanisEmpty()Checks if the patch has no patched components.voidGets the path to the profile cape texture patched onto this profile.voidsetElytraTexturePatch(NamespacedKey elytra) Gets the path to the profile elytra texture patched onto this profile.voidGets the type of model patched onto this profile.voidsetTexturePatch(NamespacedKey texture) Gets the path to the profile texture patched onto this profile.Methods inherited from interface org.bukkit.configuration.serialization.ConfigurationSerializable
serialize
-
Method Details
-
getTexturePatch
Gets the path to the profile texture patched onto this profile.- Returns:
- the model texture
-
setTexturePatch
Gets the path to the profile texture patched onto this profile.- Parameters:
texture- the model texture
-
getCapeTexturePatch
Gets the path to the profile cape texture patched onto this profile.- Returns:
- the cape texture
-
setCapeTexturePatch
Gets the path to the profile cape texture patched onto this profile.- Parameters:
cape- the cape texture
-
getElytraTexturePatch
Gets the path to the profile elytra texture patched onto this profile.- Returns:
- the elyra texture
-
setElytraTexturePatch
Gets the path to the profile elytra texture patched onto this profile.- Parameters:
elytra- the elyra texture
-
getModelPatch
Gets the type of model patched onto this profile.- Returns:
- model type
-
setModelPatch
Gets the type of model patched onto this profile.- Parameters:
model- model type
-
isEmpty
boolean isEmpty()Checks if the patch has no patched components.- Returns:
trueif the patch has no patched components
-