Modifier and Type | Class and Description |
---|---|
(package private) static class |
FancyMissingModel.BakedModel |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
font |
private static ResourceLocation |
font2 |
private static com.google.common.cache.LoadingCache<VertexFormat,SimpleModelFontRenderer> |
fontCache |
private java.lang.String |
message |
private IModel |
missingModel |
private static TRSRTransformation |
smallTransformation |
Constructor and Description |
---|
FancyMissingModel(IModel missingModel,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<ModelBlock> |
asVanillaModel() |
IBakedModel |
bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
java.util.Collection<ResourceLocation> |
getTextures() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClip, getDefaultState, getDependencies, gui3d, process, retexture, smoothLighting, uvlock
private static final ResourceLocation font
private static final ResourceLocation font2
private static final TRSRTransformation smallTransformation
private static final com.google.common.cache.LoadingCache<VertexFormat,SimpleModelFontRenderer> fontCache
private final IModel missingModel
private final java.lang.String message
public FancyMissingModel(IModel missingModel, java.lang.String message)
public java.util.Collection<ResourceLocation> getTextures()
getTextures
in interface IModel
public java.util.Optional<ModelBlock> asVanillaModel()
asVanillaModel
in interface IModel
public IBakedModel bake(IModelState state, VertexFormat format, java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)