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 textureSlots, ModelBaker baker, ModelState modelState, ModelDebugName debugName) private static QuadCollectionItemModelGenerator.bake(TextureSlots textureSlots, SpriteGetter sprites, ModelState modelState, ModelDebugName debugName) static SimpleModelWrapperSimpleModelWrapper.bake(ModelBaker p_405335_, ResolvedModel resolvedmodel, ModelState p_405869_) static SimpleModelWrapperSimpleModelWrapper.bake(ModelBaker baker, ResourceLocation modelLocation, ModelState modelState) static QuadCollectionSimpleUnbakedGeometry.bake(List<BlockElement> elements, TextureSlots textureSlots, SpriteGetter sprites, ModelState modelState, ModelDebugName debugName) SimpleUnbakedGeometry.bake(TextureSlots p_405009_, ModelBaker p_404737_, ModelState p_404670_, ModelDebugName p_404742_, ContextMap additionalProperties) static BakedQuadSimpleUnbakedGeometry.bakeFace(BlockElement element, BlockElementFace face, TextureAtlasSprite sprite, Direction direction, ModelState modelState) static BakedQuadFaceBakery.bakeQuad(org.joml.Vector3fc posFrom, org.joml.Vector3fc posTo, BlockElementFace face, TextureAtlasSprite sprite, Direction facing, ModelState modelState, BlockElementRotation rotation, boolean shade, int lightEmission) -
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 textureSlots, ModelBaker baker, ModelState modelState, ModelDebugName debugName) Deprecated.private QuadCollectionModelDiscovery.ModelWrapper.bakeDefaultState(TextureSlots textureSlots, ModelBaker modelBaker, ModelState modelState) ModelDiscovery.ModelWrapper.bakeTopGeometry(TextureSlots p_405587_, ModelBaker p_405166_, ModelState p_405646_) default QuadCollectionResolvedModel.bakeTopGeometry(TextureSlots textureSlots, ModelBaker modelBaker, ModelState modelState) -
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 TypeMethodDescriptionstatic StandaloneModelBaker<BlockStateModel> StandaloneModelBaker.blockStateModel(ModelState modelState) Returns a standalone baker for aBlockStateModel, baked with the providedModelStatetransformations.static StandaloneModelBaker<QuadCollection> StandaloneModelBaker.quadCollection(ModelState modelState) Returns a standalone baker for aQuadCollection, baked with the providedModelStatetransformations.StandaloneModelBaker.simpleModelWrapper(ModelState modelState) Returns a standalone baker for aSimpleModelWrapper, baked with the providedModelStatetransformations.
UnbakedGeometryExtension.bake(TextureSlots, ModelBaker, ModelState, ModelDebugName, net.minecraft.util.context.ContextMap).