Package net.litetex.capes.provider
Class CosmeticaProvider
java.lang.Object
net.litetex.capes.provider.CosmeticaProvider
- All Implemented Interfaces:
CapeProvider
-
Field Summary
Fields inherited from interface net.litetex.capes.provider.CapeProvider
DEFAULT_MAX_DOWNLOAD_BYTES, DEFAULT_RATE_LIMIT_REQ_PER_SEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchangeCapeUrl(net.minecraft.client.MinecraftClient client) getBaseUrl(com.mojang.authlib.GameProfile profile) booleanid()name()resolveTexture(HttpClient.Builder clientBuilder, HttpRequest.Builder requestBuilder, com.mojang.authlib.GameProfile profile) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.litetex.capes.provider.CapeProvider
antiFeatures, rateLimitedReqPerSec, textureResolverId
-
Constructor Details
-
CosmeticaProvider
public CosmeticaProvider()
-
-
Method Details
-
id
- Specified by:
idin interfaceCapeProvider
-
name
- Specified by:
namein interfaceCapeProvider
-
getBaseUrl
- Specified by:
getBaseUrlin interfaceCapeProvider
-
resolveTexture
public ResolvedTextureInfo resolveTexture(HttpClient.Builder clientBuilder, HttpRequest.Builder requestBuilder, com.mojang.authlib.GameProfile profile) throws IOException, InterruptedException - Specified by:
resolveTexturein interfaceCapeProvider- Throws:
IOExceptionInterruptedException
-
hasChangeCapeUrl
public boolean hasChangeCapeUrl()- Specified by:
hasChangeCapeUrlin interfaceCapeProvider
-
changeCapeUrl
- Specified by:
changeCapeUrlin interfaceCapeProvider
-
homepageUrl
- Specified by:
homepageUrlin interfaceCapeProvider
-