public final class ModelFluid extends java.lang.Object implements IModelCustomData
Modifier and Type | Class and Description |
---|---|
static class |
ModelFluid.FluidLoader |
Modifier and Type | Field and Description |
---|---|
static ModelFluid |
LAVA |
static ModelFluid |
WATER |
Constructor and Description |
---|
ModelFluid(Fluid fluid) |
Modifier and Type | Method and Description |
---|---|
IBakedModel |
bake(IModelState state,
VertexFormat format,
<any> bakedTextureGetter) |
IModelState |
getDefaultState() |
java.util.Collection<ResourceLocation> |
getDependencies() |
java.util.Collection<ResourceLocation> |
getTextures() |
ModelFluid |
process(<any> customData)
Allows the model to process custom data from the variant definition.
|
public static final ModelFluid WATER
public static final ModelFluid LAVA
public ModelFluid(Fluid fluid)
public java.util.Collection<ResourceLocation> getDependencies()
getDependencies
in interface IModel
public java.util.Collection<ResourceLocation> getTextures()
getTextures
in interface IModel
public IBakedModel bake(IModelState state, VertexFormat format, <any> bakedTextureGetter)
public IModelState getDefaultState()
getDefaultState
in interface IModel
public ModelFluid process(<any> customData)
IModelCustomData
process
in interface IModelCustomData