| 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,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
IModelState |
getDefaultState() |
java.util.Collection<ResourceLocation> |
getTextures() |
ModelFluid |
process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
Allows the model to process custom data from the variant definition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClip, getDependencies, gui3d, retexture, smoothLighting, uvlockpublic static final ModelFluid WATER
public static final ModelFluid LAVA
public ModelFluid(Fluid fluid)
public java.util.Collection<ResourceLocation> getTextures()
getTextures in interface IModelpublic IBakedModel bake(IModelState state, VertexFormat format, java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter)
public IModelState getDefaultState()
getDefaultState in interface IModelpublic ModelFluid process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
IModel