Package net.litetex.capes.provider
Class LabyModProvider
java.lang.Object
net.litetex.capes.provider.LabyModProvider
- 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
rateLimitedReqPerSec, textureResolverId
-
Constructor Details
-
LabyModProvider
public LabyModProvider()
-
-
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
-
antiFeatures
- Specified by:
antiFeaturesin interfaceCapeProvider
-