Package net.minecraftforge.client.model
Class ElementsModel
java.lang.Object
net.minecraftforge.client.model.geometry.SimpleUnbakedGeometry<ElementsModel>
net.minecraftforge.client.model.ElementsModel
- All Implemented Interfaces:
IUnbakedGeometry<ElementsModel>
A model composed of vanilla block elements.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
private final List<BlockElement>
private static final org.apache.logging.log4j.Logger
-
Constructor Summary
ModifierConstructorDescriptionElementsModel
(List<BlockElement> elements) private
ElementsModel
(List<BlockElement> elements, boolean deprecatedLoader) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addQuads
(IGeometryBakingContext context, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Methods inherited from class net.minecraftforge.client.model.geometry.SimpleUnbakedGeometry
bake
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.IUnbakedGeometry
getConfigurableComponentNames, resolveParents
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
elements
-
deprecatedLoader
private final boolean deprecatedLoader
-
-
Constructor Details
-
ElementsModel
-
ElementsModel
-
-
Method Details
-
addQuads
protected void addQuads(IGeometryBakingContext context, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) - Specified by:
addQuads
in classSimpleUnbakedGeometry<ElementsModel>
-