protected final class ModelLoader.BakedModelCacheKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.function.Function<ResourceLocation,TextureAtlasSprite> |
bakedTextureGetter |
private VertexFormat |
format |
private ModelLoader.VanillaModelWrapper |
model |
private IModelState |
state |
Constructor and Description |
---|
BakedModelCacheKey(ModelLoader.VanillaModelWrapper model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
private final ModelLoader.VanillaModelWrapper model
private final IModelState state
private final VertexFormat format
private final java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter
public BakedModelCacheKey(ModelLoader.VanillaModelWrapper model, IModelState state, VertexFormat format, java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)