Package net.minecraftforge.client.model
Class FluidModel
java.lang.Object
net.minecraftforge.client.model.FluidModel
- All Implemented Interfaces:
IModelGeometry<FluidModel>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Fluidstatic final FluidModelstatic final FluidModel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) getTextures(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> 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, waitMethods inherited from interface net.minecraftforge.client.model.geometry.IModelGeometry
getPart, getParts
-
Field Details
-
WATER
-
LAVA
-
fluid
-
-
Constructor Details
-
FluidModel
-
-
Method Details
-
getTextures
public Collection<Material> getTextures(IModelConfiguration owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) - Specified by:
getTexturesin interfaceIModelGeometry<FluidModel>
-
bake
public BakedModel bake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) - Specified by:
bakein interfaceIModelGeometry<FluidModel>
-