Package net.minecraftforge.client.model
Class FluidModel
java.lang.Object
net.minecraftforge.client.model.FluidModel
- All Implemented Interfaces:
IModelGeometry<FluidModel>
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
private static final class
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Fluid
static final FluidModel
static final FluidModel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbake
(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) getTextures
(IModelConfiguration owner, Function<ResourceLocation, IUnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraftforge.client.model.geometry.IModelGeometry
getPart, getParts
-
Field Details
-
WATER
-
LAVA
-
fluid
-
-
Constructor Details
-
FluidModel
-
-
Method Details
-
getTextures
public Collection<RenderMaterial> getTextures(IModelConfiguration owner, Function<ResourceLocation, IUnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) - Specified by:
getTextures
in interfaceIModelGeometry<FluidModel>
-
bake
public IBakedModel bake(IModelConfiguration owner, ModelBakery bakery, Function<RenderMaterial, TextureAtlasSprite> spriteGetter, IModelTransform modelTransform, ItemOverrideList overrides, ResourceLocation modelLocation) - Specified by:
bake
in interfaceIModelGeometry<FluidModel>
-