Package net.litetex.capes.provider
Class CustomProvider
java.lang.Object
net.litetex.capes.provider.CustomProvider
- All Implemented Interfaces:
CapeProvider
- Direct Known Subclasses:
ModMetadataProvider
-
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) protected StringfillInTemplate(String uriTemplate, char prefix, String idString, com.mojang.authlib.GameProfile profile) getBaseUrl(com.mojang.authlib.GameProfile profile) booleanid()name()doubleMethods 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
resolveTexture
-
Constructor Details
-
CustomProvider
-
-
Method Details
-
id
- Specified by:
idin interfaceCapeProvider
-
name
- Specified by:
namein interfaceCapeProvider
-
getBaseUrl
- Specified by:
getBaseUrlin interfaceCapeProvider
-
fillInTemplate
-
textureResolverId
- Specified by:
textureResolverIdin interfaceCapeProvider
-
hasChangeCapeUrl
public boolean hasChangeCapeUrl()- Specified by:
hasChangeCapeUrlin interfaceCapeProvider
-
changeCapeUrl
- Specified by:
changeCapeUrlin interfaceCapeProvider
-
homepageUrl
- Specified by:
homepageUrlin interfaceCapeProvider
-
antiFeatures
- Specified by:
antiFeaturesin interfaceCapeProvider
-
rateLimitedReqPerSec
public double rateLimitedReqPerSec()- Specified by:
rateLimitedReqPerSecin interfaceCapeProvider
-