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 pTextureSlots, ModelBaker pBaker, ModelState pModelState, ModelDebugName pDebugName) 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 p_405009_, ModelBaker p_404737_, ModelState p_404670_, ModelDebugName p_404742_, ContextMap additionalProperties) static BakedQuad
SimpleUnbakedGeometry.bakeFace
(BlockElement pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pDirection, ModelState pModelState) static BakedQuad
FaceBakery.bakeQuad
(org.joml.Vector3fc pPosFrom, org.joml.Vector3fc pPosTo, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pFacing, ModelState pModelState, BlockElementRotation pRotation, boolean pShade, int pLightEmission) -
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 p_405587_, ModelBaker p_405166_, ModelState p_405646_) 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 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)
.