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 QuadCollectionItemModelGenerator.bake(TextureSlots p_387202_, ModelBaker p_405519_, ModelState p_387172_, ModelDebugName p_405600_) private static QuadCollectionItemModelGenerator.bake(TextureSlots pTextureSlots, SpriteGetter pSprites, ModelState pModelState, ModelDebugName pDebugName) static SimpleModelWrapperSimpleModelWrapper.bake(ModelBaker p_405335_, ResolvedModel resolvedmodel, ModelState p_405869_) static SimpleModelWrapperSimpleModelWrapper.bake(ModelBaker pBaker, ResourceLocation pModelLocation, ModelState pModelState) static QuadCollectionSimpleUnbakedGeometry.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 BakedQuadSimpleUnbakedGeometry.bakeFace(BlockElement pElement, BlockElementFace pFace, TextureAtlasSprite pSprite, Direction pDirection, ModelState pModelState) static BakedQuadFaceBakery.bakeQuad(Vector3fc pPosFrom, 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 TypeClassDescriptionenumstatic final recordFields in net.minecraft.client.resources.model with type parameters of type ModelStateModifier and TypeFieldDescriptionprivate final Map<ModelState, QuadCollection> ModelDiscovery.ModelWrapper.modelBakeCacheMethods 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 QuadCollectionModelDiscovery.ModelWrapper.bakeDefaultState(TextureSlots pTextureSlots, ModelBaker pModelBaker, ModelState pModelState) ModelDiscovery.ModelWrapper.bakeTopGeometry(TextureSlots pTextureSlots, ModelBaker pModelBaker, ModelState pModelState) default QuadCollectionResolvedModel.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 QuadCollectionUnbakedGeometryExtension.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 classImplementation ofModelStatewhich 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 ModelStateUnbakedElementsHelper.composeRootTransformIntoModelState(ModelState modelState, Transformation rootTransform) Returns aModelStatethat 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 QuadCollectionExtendedUnbakedGeometry.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 voidUnbakedElementsHelper.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 ModelStateUnbakedElementsHelper.composeRootTransformIntoModelState(ModelState modelState, Transformation rootTransform) Returns aModelStatethat 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 TypeMethodDescriptionvoidObjGeometry.ModelGroup.addQuads(QuadCollection.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) voidObjGeometry.ModelMesh.addQuads(QuadCollection.Builder builder, TextureSlots slots, ModelBaker baker, ModelState state, ModelDebugName debugName, ContextMap additionalProperties) voidObjGeometry.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 providedModelStatetransformations.SimpleUnbakedStandaloneModel.quadCollection(ResourceLocation modelId, ModelState modelState) Returns an unbaked standalone model for aQuadCollection, baked with the providedModelStatetransformations.SimpleUnbakedStandaloneModel.simpleModelWrapper(ResourceLocation modelId, ModelState modelState) Returns an unbaked standalone model for aSimpleModelWrapper, baked with the providedModelStatetransformations.
UnbakedGeometryExtension.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName, net.minecraft.util.context.ContextMap).