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 p_386773_, SpriteGetter p_405238_, ModelState p_386536_, ModelDebugName p_404999_) static SimpleModelWrapper
SimpleModelWrapper.bake
(ModelBaker p_405335_, ResolvedModel resolvedmodel, ModelState p_405869_) static SimpleModelWrapper
SimpleModelWrapper.bake
(ModelBaker p_405335_, ResourceLocation p_405098_, ModelState p_405869_) static QuadCollection
SimpleUnbakedGeometry.bake
(List<BlockElement> p_405653_, TextureSlots p_404888_, SpriteGetter p_404947_, ModelState p_405413_, ModelDebugName p_404876_) SimpleUnbakedGeometry.bake
(TextureSlots p_405009_, ModelBaker p_404737_, ModelState p_404670_, ModelDebugName p_404742_, ContextMap additionalProperties) static BakedQuad
SimpleUnbakedGeometry.bakeFace
(BlockElement p_405715_, BlockElementFace p_405073_, TextureAtlasSprite p_404850_, Direction p_404976_, ModelState p_405762_) 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
(package private) 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 p_405831_, ModelBaker p_405026_, ModelState p_405122_, ModelDebugName p_405635_) Deprecated.private QuadCollection
ModelDiscovery.ModelWrapper.bakeDefaultState
(TextureSlots p_405546_, ModelBaker p_404641_, ModelState p_405363_) ModelDiscovery.ModelWrapper.bakeTopGeometry
(TextureSlots p_405587_, ModelBaker p_405166_, ModelState p_405646_) default QuadCollection
ResolvedModel.bakeTopGeometry
(TextureSlots p_405784_, ModelBaker p_405450_, ModelState p_405844_) -
Uses of ModelState in net.neoforged.neoforge.client.extensions
Methods 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 TypeMethodDescriptionstatic StandaloneModelBaker
<BlockStateModel> StandaloneModelBaker.blockStateModel
(ModelState modelState) Returns a standalone baker for aBlockStateModel
, baked with the providedModelState
transformations.static StandaloneModelBaker
<QuadCollection> StandaloneModelBaker.quadCollection
(ModelState modelState) Returns a standalone baker for aQuadCollection
, baked with the providedModelState
transformations.StandaloneModelBaker.simpleModelWrapper
(ModelState modelState) Returns a standalone baker for aSimpleModelWrapper
, baked with the providedModelState
transformations.
UnbakedGeometryExtension.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName, net.minecraft.util.context.ContextMap)
.