Class EmptyModel
java.lang.Object
net.neoforged.neoforge.client.model.EmptyModel
- All Implemented Interfaces:
JsonDeserializer<EmptyModel>,ResolvableModel,UnbakedModel,IUnbakedModelExtension
A completely empty model with no quads or texture dependencies.
You can access it as a BakedModel.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.client.resources.model.ResolvableModel
ResolvableModel.ResolverNested classes/interfaces inherited from interface net.minecraft.client.resources.model.UnbakedModel
UnbakedModel.GuiLight -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BakedModelstatic final EmptyModelstatic final UnbakedModelLoader<EmptyModel> Fields inherited from interface net.minecraft.client.resources.model.UnbakedModel
DEFAULT_AMBIENT_OCCLUSION, DEFAULT_GUI_LIGHT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbake(TextureSlots p_386641_, ModelBaker p_250133_, ModelState p_119536_, boolean p_387129_, boolean p_388638_, ItemTransforms p_386911_) deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) voidresolveDependencies(ResolvableModel.Resolver p_387087_) 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.extensions.IUnbakedModelExtension
bake, fillAdditionalPropertiesMethods inherited from interface net.minecraft.client.resources.model.UnbakedModel
getAmbientOcclusion, getGuiLight, getParent, getTextureSlots, getTransforms
-
Field Details
-
BAKED
-
INSTANCE
-
LOADER
-
-
Constructor Details
-
EmptyModel
private EmptyModel()
-
-
Method Details
-
bake
public BakedModel bake(TextureSlots p_386641_, ModelBaker p_250133_, ModelState p_119536_, boolean p_387129_, boolean p_388638_, ItemTransforms p_386911_) - Specified by:
bakein interfaceUnbakedModel
-
resolveDependencies
- Specified by:
resolveDependenciesin interfaceResolvableModel
-
deserialize
public EmptyModel deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException - Specified by:
deserializein interfaceJsonDeserializer<EmptyModel>- Throws:
JsonParseException
-