Modifier and Type | Class and Description |
---|---|
static class |
ModelDynBucket.LoaderDynBucket |
Modifier and Type | Field and Description |
---|---|
static ModelResourceLocation |
LOCATION |
static IModel |
MODEL |
Constructor and Description |
---|
ModelDynBucket() |
ModelDynBucket(ResourceLocation baseLocation,
ResourceLocation liquidLocation,
ResourceLocation coverLocation,
Fluid fluid,
boolean flipGas)
|
ModelDynBucket(ResourceLocation baseLocation,
ResourceLocation liquidLocation,
ResourceLocation coverLocation,
Fluid fluid,
boolean flipGas,
boolean tint) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
bake(IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
java.util.Collection<ResourceLocation> |
getTextures() |
ModelDynBucket |
process(<any> customData)
Sets the fluid in the model.
|
ModelDynBucket |
retexture(<any> textures)
Allows to use different textures for the model.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asVanillaModel, getClip, getDefaultState, getDependencies, gui3d, smoothLighting, uvlock
public static final ModelResourceLocation LOCATION
public static final IModel MODEL
public ModelDynBucket()
@Deprecated public ModelDynBucket(ResourceLocation baseLocation, ResourceLocation liquidLocation, ResourceLocation coverLocation, Fluid fluid, boolean flipGas)
public ModelDynBucket(ResourceLocation baseLocation, ResourceLocation liquidLocation, ResourceLocation coverLocation, Fluid fluid, boolean flipGas, boolean tint)
public java.util.Collection<ResourceLocation> getTextures()
getTextures
in interface IModel
public IBakedModel bake(IModelState state, VertexFormat format, java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)
public ModelDynBucket process(<any> customData)
public ModelDynBucket retexture(<any> textures)