Package net.litetex.capes.provider
Class PiCapesCapeProvider
java.lang.Object
net.litetex.capes.provider.PiCapesCapeProvider
- All Implemented Interfaces:
CapeProvider
-
Field Summary
FieldsFields 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()static voidname()doubleresolveTexture(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, textureResolverId
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
PiCapesCapeProvider
public PiCapesCapeProvider()
-
-
Method Details
-
initializeServerHost
public static void initializeServerHost() -
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
-
rateLimitedReqPerSec
public double rateLimitedReqPerSec()- Specified by:
rateLimitedReqPerSecin interfaceCapeProvider
-
hasChangeCapeUrl
public boolean hasChangeCapeUrl()- Specified by:
hasChangeCapeUrlin interfaceCapeProvider
-
changeCapeUrl
- Specified by:
changeCapeUrlin interfaceCapeProvider
-
homepageUrl
- Specified by:
homepageUrlin interfaceCapeProvider
-