Modifier and Type | Class and Description |
---|---|
private static class |
ModelFluid.BakedFluid |
private static class |
ModelFluid.CachingBakedFluid |
static class |
ModelFluid.FluidLoader |
Modifier and Type | Field and Description |
---|---|
private Fluid |
fluid |
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) |
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, wait
asVanillaModel, getClip, getDefaultState, getDependencies, gui3d, retexture, smoothLighting, uvlock
public static final ModelFluid WATER
public static final ModelFluid LAVA
private final Fluid fluid
public ModelFluid(Fluid fluid)
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 ModelFluid process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
IModel