Class EmptyModel
java.lang.Object
net.neoforged.neoforge.client.model.geometry.SimpleUnbakedGeometry<EmptyModel>
net.neoforged.neoforge.client.model.EmptyModel
- All Implemented Interfaces:
IUnbakedGeometry<EmptyModel>
A completely empty model with no quads or texture dependencies.
You can access it as a BakedModel, an IUnbakedGeometry or an IGeometryLoader.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BakedModelstatic final EmptyModelstatic final IGeometryLoader<EmptyModel> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddQuads(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) bake(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.client.model.geometry.IUnbakedGeometry
getConfigurableComponentNames, resolveParents
-
Field Details
-
BAKED
-
INSTANCE
-
LOADER
-
-
Constructor Details
-
EmptyModel
private EmptyModel()
-
-
Method Details
-
addQuads
protected void addQuads(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) - Specified by:
addQuadsin classSimpleUnbakedGeometry<EmptyModel>
-
bake
public BakedModel bake(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) - Specified by:
bakein interfaceIUnbakedGeometry<EmptyModel>- Overrides:
bakein classSimpleUnbakedGeometry<EmptyModel>
-