public final class ModelDynBucket extends java.lang.Object implements IUnbakedModel, IModelGeometry<ModelDynBucket>
Modifier and Type | Class and Description |
---|---|
static class |
ModelDynBucket.Loader |
static class |
ModelDynBucket.LoaderDynBucket
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static ModelResourceLocation |
LOCATION |
static ModelDynBucket |
MODEL
Deprecated.
|
Constructor and Description |
---|
ModelDynBucket()
Deprecated.
|
ModelDynBucket(Fluid fluid,
boolean flipGas,
boolean tint,
boolean coverIsMask) |
ModelDynBucket(ResourceLocation baseLocation,
ResourceLocation fluidMaskLocation,
ResourceLocation coverLocation,
Fluid fluid,
boolean flipGas,
boolean tint)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IBakedModel |
bake(IModelConfiguration owner,
ModelBakery bakery,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> spriteGetter,
ISprite sprite,
VertexFormat format,
ItemOverrideList overrides) |
IBakedModel |
bake(ModelBakery bakery,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> spriteGetter,
ISprite sprite,
VertexFormat format)
Deprecated.
|
java.util.Collection<ResourceLocation> |
getDependencies()
Deprecated.
|
protected static IResource |
getResource(ResourceLocation resourceLocation)
Deprecated.
|
protected static PngSizeInfo |
getSizeInfo(IResource resource)
Deprecated.
|
java.util.Collection<ResourceLocation> |
getTextureDependencies(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<java.lang.String> missingTextureErrors) |
java.util.Collection<ResourceLocation> |
getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<java.lang.String> missingTextureErrors)
Deprecated.
|
ModelDynBucket |
process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
Deprecated.
|
ModelDynBucket |
retexture(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
bake
getDefaultState, gui3d, smoothLighting
getClip
getPart, getParts
public static final ModelResourceLocation LOCATION
@Deprecated public static final ModelDynBucket MODEL
@Deprecated public ModelDynBucket()
@Deprecated public ModelDynBucket(@Nullable ResourceLocation baseLocation, @Nullable ResourceLocation fluidMaskLocation, @Nullable ResourceLocation coverLocation, @Nullable Fluid fluid, boolean flipGas, boolean tint)
public ModelDynBucket(Fluid fluid, boolean flipGas, boolean tint, boolean coverIsMask)
@Deprecated public java.util.Collection<ResourceLocation> getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.Set<java.lang.String> missingTextureErrors)
getTextures
in interface IUnbakedModel
@Deprecated public java.util.Collection<ResourceLocation> getDependencies()
getDependencies
in interface IUnbakedModel
@Deprecated @Nullable public IBakedModel bake(ModelBakery bakery, java.util.function.Function<ResourceLocation,TextureAtlasSprite> spriteGetter, ISprite sprite, VertexFormat format)
bake
in interface IForgeUnbakedModel
spriteGetter
- Where textures will be looked up when bakingsprite
- Transforms to apply while baking. Usually will be an instance of IModelState
.@Deprecated public ModelDynBucket process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
process
in interface IModel<IUnbakedModel>
@Deprecated public ModelDynBucket retexture(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures)
retexture
in interface IModel<IUnbakedModel>
textures
- New@Deprecated @Nullable protected static IResource getResource(ResourceLocation resourceLocation)
@Deprecated @Nullable protected static PngSizeInfo getSizeInfo(IResource resource)
public IBakedModel bake(IModelConfiguration owner, ModelBakery bakery, java.util.function.Function<ResourceLocation,TextureAtlasSprite> spriteGetter, ISprite sprite, VertexFormat format, ItemOverrideList overrides)
bake
in interface IModelGeometry<ModelDynBucket>
public java.util.Collection<ResourceLocation> getTextureDependencies(IModelConfiguration owner, java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter, java.util.Set<java.lang.String> missingTextureErrors)
getTextureDependencies
in interface IModelGeometry<ModelDynBucket>