Uses of Interface
net.minecraft.client.resources.model.ModelState
Packages that use ModelState
Package
Description
-
Uses of ModelState in net.minecraft.client.renderer.block.model
Classes in net.minecraft.client.renderer.block.model that implement ModelStateMethods in net.minecraft.client.renderer.block.model with parameters of type ModelStateModifier and TypeMethodDescriptionBlockModel.bake(ModelBakery p_111457_, Function<Material, TextureAtlasSprite> p_111458_, ModelState p_111459_, ResourceLocation p_111460_) Deprecated.BlockModel.bake(ModelBakery p_111450_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_) MultiVariant.bake(ModelBakery p_111850_, Function<Material, TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_) private static BakedQuadBlockModel.bakeFace(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) FaceBakery.bakeQuad(Vector3f p_111601_, Vector3f p_111602_, BlockElementFace p_111603_, TextureAtlasSprite p_111604_, Direction p_111605_, ModelState p_111606_, BlockElementRotation p_111607_, boolean p_111608_, ResourceLocation p_111609_) BlockModel.bakeVanilla(ModelBakery p_111450_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_) Deprecated.static BakedQuadBlockModel.makeBakedQuad(BlockElement p_111438_, BlockElementFace p_111439_, TextureAtlasSprite p_111440_, Direction p_111441_, ModelState p_111442_, ResourceLocation p_111443_) -
Uses of ModelState in net.minecraft.client.renderer.block.model.multipart
Methods in net.minecraft.client.renderer.block.model.multipart with parameters of type ModelStateModifier and TypeMethodDescriptionMultiPart.bake(ModelBakery p_111971_, Function<Material, TextureAtlasSprite> p_111972_, ModelState p_111973_, ResourceLocation p_111974_) -
Uses of ModelState in net.minecraft.client.resources.model
Classes in net.minecraft.client.resources.model that implement ModelStateMethods in net.minecraft.client.resources.model with parameters of type ModelStateModifier and TypeMethodDescriptionModelBakery.bake(ResourceLocation p_119350_, ModelState p_119351_) Deprecated.ModelBakery.bake(ResourceLocation p_119350_, ModelState p_119351_, Function<Material, TextureAtlasSprite> sprites) UnbakedModel.bake(ModelBakery p_119534_, Function<Material, TextureAtlasSprite> p_119535_, ModelState p_119536_, ResourceLocation p_119537_) -
Uses of ModelState in net.minecraftforge.client.model
Classes in net.minecraftforge.client.model that implement ModelStateModifier and TypeClassDescriptionclassAnModelStatethat combines the transforms from two childModelState.final classSimple implementation of IModelState via a map and a default value.Fields in net.minecraftforge.client.model declared as ModelStateModifier and TypeFieldDescriptionprivate ModelStateBlockModelConfiguration.customModelStateprivate final ModelStateCompositeModelState.firstprivate final ModelStateCompositeModel.Submodel.modelTransformprivate final ModelStateCompositeModelState.secondprivate final ModelStateCompositeModel.transformsMethods in net.minecraftforge.client.model that return ModelStateModifier and TypeMethodDescriptionstatic ModelStateModelLoaderRegistry.deserializeModelTransforms(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelData) BlockModelConfiguration.getCombinedTransform()IModelConfiguration.getCombinedTransform()StandaloneModelConfiguration.getCombinedTransform()BlockModelConfiguration.getCustomModelState()Methods in net.minecraftforge.client.model that return types with arguments of type ModelStateModifier and TypeMethodDescriptionstatic Optional<ModelState>ModelLoaderRegistry.deserializeTransform(com.google.gson.JsonDeserializationContext context, com.google.gson.JsonElement transformData) Methods in net.minecraftforge.client.model with parameters of type ModelStateModifier and TypeMethodDescriptionvoidCompositeModel.Submodel.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) voidModelLoaderRegistry.VanillaProxy.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) BlockModelConfiguration.bake(ModelBakery bakery, Function<Material, TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) CompositeModel.Geometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) DynamicBucketModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) FluidModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) ItemLayerModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) MultiLayerModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) SeparatePerspectiveModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) static BakedModelModelLoaderRegistry.bakeHelper(BlockModel blockModel, ModelBakery modelBakery, BlockModel otherModel, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation, boolean guiLight3d) CompositeModel.Submodel.bakeModel(ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) private static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<RenderType,BakedModel>> MultiLayerModel.buildModels(List<com.mojang.datafixers.util.Pair<RenderType, UnbakedModel>> models, ModelState modelTransform, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ResourceLocation modelLocation) static com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> PerspectiveMapWrapper.getTransforms(ModelState state) static com.google.common.collect.ImmutableMap<ItemTransforms.TransformType,Transformation> PerspectiveMapWrapper.getTransformsWithFallback(ModelState state, ItemTransforms transforms) static BakedModelPerspectiveMapWrapper.handlePerspective(BakedModel model, ModelState state, ItemTransforms.TransformType cameraTransformType, PoseStack mat) voidBlockModelConfiguration.setCustomModelState(ModelState modelState) Constructors in net.minecraftforge.client.model with parameters of type ModelStateModifierConstructorDescriptionCompositeModel(boolean isGui3d, boolean isSideLit, boolean isAmbientOcclusion, TextureAtlasSprite particle, com.google.common.collect.ImmutableMap<String, BakedModel> bakedParts, ModelState combinedTransform, ItemOverrides overrides) CompositeModelState(ModelState first, ModelState second) CompositeModelState(ModelState first, ModelState second, boolean uvLock) PerspectiveMapWrapper(BakedModel parent, ModelState state) privateSubmodel(String name, BlockModel model, ModelState modelTransform) -
Uses of ModelState in net.minecraftforge.client.model.b3d
Classes in net.minecraftforge.client.model.b3d that implement ModelStateModifier and TypeClassDescriptionstatic final classDeprecated, for removal: This API element is subject to removal in a future version.Fields in net.minecraftforge.client.model.b3d declared as ModelStateModifier and TypeFieldDescriptionprivate final ModelStateB3DLoader.B3DState.parentprivate final ModelStateB3DLoader.BakedWrapper.stateMethods in net.minecraftforge.client.model.b3d that return ModelStateModifier and TypeMethodDescriptionB3DLoader.ModelWrapper.getDefaultState()B3DLoader.B3DState.getParent()private ModelStateB3DLoader.B3DState.getParent(ModelState parent) Methods in net.minecraftforge.client.model.b3d with parameters of type ModelStateModifier and TypeMethodDescriptionB3DLoader.ModelWrapper.bake(ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) private voidB3DLoader.BakedWrapper.generateQuads(com.google.common.collect.ImmutableList.Builder<BakedQuad> builder, B3DModel.Node<?> node, ModelState state, com.google.common.collect.ImmutableList<String> path) private ModelStateB3DLoader.B3DState.getParent(ModelState parent) Constructors in net.minecraftforge.client.model.b3d with parameters of type ModelStateModifierConstructorDescriptionB3DState(B3DModel.Animation animation, int frame, int nextFrame, float progress, ModelState parent) B3DState(B3DModel.Animation animation, int frame, ModelState parent) BakedWrapper(B3DModel.Node<?> node, ModelState state, boolean smooth, boolean gui3d, boolean isSideLit, com.google.common.collect.ImmutableSet<String> meshes, com.google.common.collect.ImmutableMap<String, TextureAtlasSprite> textures) BakedWrapper(B3DModel.Node<?> node, ModelState state, boolean smooth, boolean gui3d, boolean isSideLit, com.google.common.collect.ImmutableSet<String> meshes, com.google.common.collect.ImmutableMap<String, TextureAtlasSprite> textures, com.google.common.cache.LoadingCache<Integer, B3DLoader.B3DState> cache) -
Uses of ModelState in net.minecraftforge.client.model.geometry
Methods in net.minecraftforge.client.model.geometry with parameters of type ModelStateModifier and TypeMethodDescriptionvoidIModelGeometryPart.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) default voidIMultipartModelGeometry.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) voidISimpleModelGeometry.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) IModelGeometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) default BakedModelISimpleModelGeometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) -
Uses of ModelState in net.minecraftforge.client.model.obj
Methods in net.minecraftforge.client.model.obj with parameters of type ModelStateModifier and TypeMethodDescriptionvoidOBJModel.ModelGroup.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) voidOBJModel.ModelMesh.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) voidOBJModel.ModelObject.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) -
Uses of ModelState in net.minecraftforge.common.property
Fields in net.minecraftforge.common.property with type parameters of type ModelStateModifier and TypeFieldDescriptionstatic final ModelProperty<ModelState>Properties.AnimationPropertyProperty holding the IModelState used for animating the model in the TESR. -
Uses of ModelState in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block with parameters of type ModelStateModifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) -
Uses of ModelState in net.minecraftforge.debug.client.model
Methods in net.minecraftforge.debug.client.model with parameters of type ModelStateModifier and TypeMethodDescriptionvoidNewModelLoaderTest.TestModel.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)