Uses of Interface
net.minecraft.client.resources.model.ModelState
Package
Description
-
Uses of ModelState in net.minecraft.client.renderer.block.model
Modifier 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 BakedQuad
BlockModel.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 BakedQuad
BlockModel.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
Modifier 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
Modifier 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
Modifier and TypeClassDescriptionclass
AnModelState
that combines the transforms from two childModelState
.class
Simple implementation of IModelState via a map and a default value.Modifier and TypeFieldDescriptionprivate ModelState
BlockModelConfiguration.customModelState
private ModelState
CompositeModelState.first
private ModelState
CompositeModel.Submodel.modelTransform
private ModelState
CompositeModelState.second
private ModelState
CompositeModel.transforms
Modifier and TypeMethodDescriptionstatic ModelState
ModelLoaderRegistry.deserializeModelTransforms(com.google.gson.JsonDeserializationContext deserializationContext, com.google.gson.JsonObject modelData)
BlockModelConfiguration.getCombinedTransform()
IModelConfiguration.getCombinedTransform()
BlockModelConfiguration.getCustomModelState()
Modifier and TypeMethodDescriptionstatic Optional<ModelState>
ModelLoaderRegistry.deserializeTransform(com.google.gson.JsonDeserializationContext context, com.google.gson.JsonElement transformData)
Modifier and TypeMethodDescriptionvoid
CompositeModel.Submodel.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
void
ModelLoaderRegistry.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 BakedModel
ModelLoaderRegistry.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 BakedModel
PerspectiveMapWrapper.handlePerspective(BakedModel model, ModelState state, ItemTransforms.TransformType cameraTransformType, PoseStack mat)
void
BlockModelConfiguration.setCustomModelState(ModelState modelState)
ModifierConstructorDescriptionCompositeModel(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)
private
Submodel(String name, BlockModel model, ModelState modelTransform)
-
Uses of ModelState in net.minecraftforge.client.model.animation
Modifier and TypeMethodDescriptionModelBlockAnimation.getPartTransform(ModelState state, int i)
ModelBlockAnimation.getPartTransform(ModelState state, BlockElement part, int i)
ModifierConstructorDescriptionAnimationItemOverrideList(ModelBakery bakery, UnbakedModel model, ResourceLocation modelLoc, ModelState state, Function<Material,TextureAtlasSprite> bakedTextureGetter, List<ItemOverride> overrides)
-
Uses of ModelState in net.minecraftforge.client.model.b3d
Modifier and TypeFieldDescriptionprivate ModelState
B3DLoader.B3DState.parent
private ModelState
B3DLoader.BakedWrapper.state
Modifier and TypeMethodDescriptionB3DLoader.ModelWrapper.getDefaultState()
B3DLoader.B3DState.getParent()
private ModelState
B3DLoader.B3DState.getParent(ModelState parent)
Modifier and TypeMethodDescriptionB3DLoader.ModelWrapper.bake(ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
private void
B3DLoader.BakedWrapper.generateQuads(com.google.common.collect.ImmutableList.Builder<BakedQuad> builder, B3DModel.Node<?> node, ModelState state, com.google.common.collect.ImmutableList<String> path)
private ModelState
B3DLoader.B3DState.getParent(ModelState parent)
ModifierConstructorDescriptionB3DState(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
Modifier and TypeMethodDescriptionvoid
IModelGeometryPart.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
default void
IMultipartModelGeometry.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
void
ISimpleModelGeometry.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 BakedModel
ISimpleModelGeometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
-
Uses of ModelState in net.minecraftforge.client.model.obj
Modifier and TypeMethodDescriptionvoid
OBJModel.ModelGroup.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
void
OBJModel.ModelObject.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
-
Uses of ModelState in net.minecraftforge.common.model.animation
Modifier and TypeFieldDescriptionprivate static com.google.common.cache.LoadingCache<org.apache.commons.lang3.tuple.Triple<? extends IClip,Float,Float>,org.apache.commons.lang3.tuple.Pair<ModelState,Iterable<Event>>>
AnimationStateMachine.clipCache
Modifier and TypeMethodDescriptionorg.apache.commons.lang3.tuple.Pair<ModelState,Iterable<Event>>
AnimationStateMachine.apply(float time)
static org.apache.commons.lang3.tuple.Pair<ModelState,Iterable<Event>>
IModelState wrapper for a Clip, sampled at specified time.org.apache.commons.lang3.tuple.Pair<ModelState,Iterable<Event>>
IAnimationStateMachine.apply(float time)
Sample the state and events at the current time. -
Uses of ModelState in net.minecraftforge.common.property
Modifier and TypeFieldDescriptionstatic ModelProperty<ModelState>
Properties.AnimationProperty
Property holding the IModelState used for animating the model in the TESR. -
Uses of ModelState in net.minecraftforge.debug.block
Modifier 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
Modifier and TypeMethodDescriptionvoid
NewModelLoaderTest.TestModel.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)