Uses of Interface
net.minecraft.client.resources.model.ModelState
Packages that use ModelState
Package
Description
Extension interfaces for
client
-only classes.-
Uses of ModelState in net.minecraft.client.renderer.block.model
Methods in net.minecraft.client.renderer.block.model that return ModelStateMethods in net.minecraft.client.renderer.block.model with parameters of type ModelStateModifier and TypeMethodDescriptionprivate static QuadCollection
ItemModelGenerator.bake
(TextureSlots p_387202_, ModelBaker p_405519_, ModelState p_387172_, ModelDebugName p_405600_) private static QuadCollection
ItemModelGenerator.bake
(TextureSlots pTextureSlots, SpriteGetter pSprites, ModelState pModelState, ModelDebugName pDebugName) static SimpleModelWrapper
SimpleModelWrapper.bake
(ModelBaker p_405335_, ResolvedModel resolvedmodel, ModelState p_405869_) static SimpleModelWrapper
SimpleModelWrapper.bake
(ModelBaker pBaker, ResourceLocation pModelLocation, ModelState pModelState) static QuadCollection
SimpleUnbakedGeometry.bake
(List<BlockElement> pElements, TextureSlots pTextureSlots, SpriteGetter pSprites, ModelState pModelState, ModelDebugName pDebugName) SimpleUnbakedGeometry.bake
(TextureSlots pTextureSlots, ModelBaker pBaker, ModelState pModelState, ModelDebugName pDebugName, ContextMap additionalProperties) static BakedQuad
SimpleUnbakedGeometry.bakeFace
(BlockElement pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pDirection, ModelState pModelState) static BakedQuad
FaceBakery.bakeQuad
(org.joml.Vector3fc p_404957_, org.joml.Vector3fc p_405340_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, int p_364857_) -
Uses of ModelState in net.minecraft.client.resources.model
Classes in net.minecraft.client.resources.model that implement ModelStateModifier and TypeClassDescriptionenum
static final record
Fields in net.minecraft.client.resources.model with type parameters of type ModelStateModifier and TypeFieldDescriptionprivate final Map
<ModelState, QuadCollection> ModelDiscovery.ModelWrapper.modelBakeCache
Methods in net.minecraft.client.resources.model that return ModelStateMethods in net.minecraft.client.resources.model with parameters of type ModelStateModifier and TypeMethodDescriptionUnbakedGeometry.bake
(TextureSlots pTextureSlots, ModelBaker pBaker, ModelState pModelState, ModelDebugName pDebugName) Deprecated.private QuadCollection
ModelDiscovery.ModelWrapper.bakeDefaultState
(TextureSlots pTextureSlots, ModelBaker pModelBaker, ModelState pModelState) ModelDiscovery.ModelWrapper.bakeTopGeometry
(TextureSlots pTextureSlots, ModelBaker pModelBaker, ModelState pModelState) default QuadCollection
ResolvedModel.bakeTopGeometry
(TextureSlots pTextureSlots, ModelBaker pModelBaker, ModelState pModelState) -
Uses of ModelState in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return ModelStateMethods in net.neoforged.neoforge.client.extensions with parameters of type ModelStateModifier and TypeMethodDescriptiondefault QuadCollection
UnbakedGeometryExtension.bake
(TextureSlots textureSlots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) Version ofUnbakedGeometry.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName)
that also receives additional properties sourced fromUnbakedModelExtension.fillAdditionalProperties(net.minecraft.util.context.ContextMap.Builder)
. -
Uses of ModelState in net.neoforged.neoforge.client.model
Classes in net.neoforged.neoforge.client.model that implement ModelStateModifier and TypeClassDescriptionfinal class
Implementation ofModelState
which prepends an additional transform onto the incomingModelState
.Fields in net.neoforged.neoforge.client.model declared as ModelStateMethods in net.neoforged.neoforge.client.model that return ModelStateModifier and TypeMethodDescriptionstatic ModelState
UnbakedElementsHelper.composeRootTransformIntoModelState
(ModelState modelState, Transformation rootTransform) Returns aModelState
that combines the existing model state and the root transform.Methods in net.neoforged.neoforge.client.model with parameters of type ModelStateModifier and TypeMethodDescriptionCompositeUnbakedGeometry.bake
(TextureSlots textureSlots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) default QuadCollection
ExtendedUnbakedGeometry.bake
(TextureSlots p_405831_, ModelBaker p_405026_, ModelState p_405122_, ModelDebugName p_405635_) ExtendedUnbakedGeometry.bake
(TextureSlots textureSlots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) UnbakedElementsHelper.bakeElements
(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and returns the list of baked quads.static void
UnbakedElementsHelper.bakeElements
(QuadCollection.Builder builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and feeds the baked quads to a quad collection builder.static ModelState
UnbakedElementsHelper.composeRootTransformIntoModelState
(ModelState modelState, Transformation rootTransform) Returns aModelState
that combines the existing model state and the root transform.Constructors in net.neoforged.neoforge.client.model with parameters of type ModelStateModifierConstructorDescriptionComposedModelState
(ModelState parent, Transformation transformation) -
Uses of ModelState in net.neoforged.neoforge.client.model.obj
Methods in net.neoforged.neoforge.client.model.obj with parameters of type ModelStateModifier and TypeMethodDescriptionvoid
ObjGeometry.ModelGroup.addQuads
(QuadCollection.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) void
ObjGeometry.ModelMesh.addQuads
(QuadCollection.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) void
ObjGeometry.ModelObject.addQuads
(QuadCollection.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) ObjGeometry.bake
(TextureSlots textureSlots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) -
Uses of ModelState in net.neoforged.neoforge.client.model.standalone
Methods in net.neoforged.neoforge.client.model.standalone with parameters of type ModelStateModifier and TypeMethodDescriptionSimpleUnbakedStandaloneModel.blockStateModel
(ResourceLocation modelId, ModelState modelState) Returns an unbaked standalone model for aBlockStateModel
, baked with the providedModelState
transformations.SimpleUnbakedStandaloneModel.quadCollection
(ResourceLocation modelId, ModelState modelState) Returns an unbaked standalone model for aQuadCollection
, baked with the providedModelState
transformations.SimpleUnbakedStandaloneModel.simpleModelWrapper
(ResourceLocation modelId, ModelState modelState) Returns an unbaked standalone model for aSimpleModelWrapper
, baked with the providedModelState
transformations.
UnbakedGeometryExtension.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName, net.minecraft.util.context.ContextMap)
.