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