final class FancyMissingModel extends java.lang.Object implements IUnbakedModel
Modifier and Type | Class and Description |
---|---|
(package private) static class |
FancyMissingModel.BakedModel |
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
font |
private static Material |
font2 |
private static SimpleModelFontRenderer |
fontRenderer |
private java.lang.String |
message |
private IUnbakedModel |
missingModel |
private static TransformationMatrix |
smallTransformation |
Constructor and Description |
---|
FancyMissingModel(IUnbakedModel missingModel,
java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
bakeModel(ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
IModelTransform modelTransform,
ResourceLocation modelLocation) |
java.util.Collection<ResourceLocation> |
getDependencies() |
java.util.Collection<Material> |
getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClip
private static final ResourceLocation font
private static final Material font2
private static final TransformationMatrix smallTransformation
private static final SimpleModelFontRenderer fontRenderer
private final IUnbakedModel missingModel
private final java.lang.String message
public FancyMissingModel(IUnbakedModel missingModel, java.lang.String message)
public java.util.Collection<Material> getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors)
getTextures
in interface IUnbakedModel
public java.util.Collection<ResourceLocation> getDependencies()
getDependencies
in interface IUnbakedModel
@Nullable public IBakedModel bakeModel(ModelBakery bakery, java.util.function.Function<Material,TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ResourceLocation modelLocation)
bakeModel
in interface IUnbakedModel