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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BakedModel
static final EmptyModel
static final IGeometryLoader
<EmptyModel> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addQuads
(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, wait
Methods 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:
addQuads
in classSimpleUnbakedGeometry<EmptyModel>
-
bake
public BakedModel bake(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) - Specified by:
bake
in interfaceIUnbakedGeometry<EmptyModel>
- Overrides:
bake
in classSimpleUnbakedGeometry<EmptyModel>
-