K
- The from type. This is the input key type.T
- The "to" type. This is the output key type.public class ModelCacheMultipleSame<K,T> extends java.lang.Object implements IModelCache<K>
IModelCache
that takes a single key and adds all of the sub-keys given by the
ModelCacheMultipleSame.IModelKeyMultipleSameMapper
Modifier and Type | Class and Description |
---|---|
static interface |
ModelCacheMultipleSame.IModelKeyMultipleSameMapper<F,T> |
Constructor and Description |
---|
ModelCacheMultipleSame(ModelCacheMultipleSame.IModelKeyMultipleSameMapper<K,T> mapper,
IModelCache<T> separateCache) |
Modifier and Type | Method and Description |
---|---|
java.util.List<net.minecraft.client.renderer.block.model.BakedQuad> |
bake(K key) |
void |
clear()
Clears all cached models.
|
public ModelCacheMultipleSame(ModelCacheMultipleSame.IModelKeyMultipleSameMapper<K,T> mapper, IModelCache<T> separateCache)
public java.util.List<net.minecraft.client.renderer.block.model.BakedQuad> bake(K key)
bake
in interface IModelCache<K>
public void clear()
IModelCache
clear
in interface IModelCache<K>