public static class BannerTextures.Cache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cacheId |
private java.util.Map<java.lang.String,BannerTextures.CacheEntry> |
cacheMap |
private java.lang.String |
cacheResourceBase |
private ResourceLocation |
cacheResourceLocation |
Constructor and Description |
---|
Cache(java.lang.String id,
ResourceLocation baseResource,
java.lang.String resourcePath) |
Modifier and Type | Method and Description |
---|---|
private boolean |
freeCacheSlot() |
ResourceLocation |
getResourceLocation(java.lang.String id,
java.util.List<BannerPattern> patternList,
java.util.List<EnumDyeColor> colorList) |
private final java.util.Map<java.lang.String,BannerTextures.CacheEntry> cacheMap
private final ResourceLocation cacheResourceLocation
private final java.lang.String cacheResourceBase
private final java.lang.String cacheId
public Cache(java.lang.String id, ResourceLocation baseResource, java.lang.String resourcePath)
@Nullable public ResourceLocation getResourceLocation(java.lang.String id, java.util.List<BannerPattern> patternList, java.util.List<EnumDyeColor> colorList)
private boolean freeCacheSlot()