Uses of Interface
net.minecraft.client.resources.model.UnbakedModel
Package
Description
-
Uses of UnbakedModel in net.minecraft.client.renderer.block.model
Modifier and TypeMethodDescriptionprivate BakedModel
ItemOverrides.bakeModel(ModelBakery p_173471_, UnbakedModel p_173472_, Function<ResourceLocation,UnbakedModel> p_173473_, Function<Material,TextureAtlasSprite> textureGetter, ItemOverride p_173474_)
Modifier and TypeMethodDescriptionprivate BakedModel
ItemOverrides.bakeModel(ModelBakery p_173471_, UnbakedModel p_173472_, Function<ResourceLocation,UnbakedModel> p_173473_, Function<Material,TextureAtlasSprite> textureGetter, ItemOverride p_173474_)
BlockModel.getMaterials(Function<ResourceLocation,UnbakedModel> p_111469_, Set<com.mojang.datafixers.util.Pair<String,String>> p_111470_)
MultiVariant.getMaterials(Function<ResourceLocation,UnbakedModel> p_111855_, Set<com.mojang.datafixers.util.Pair<String,String>> p_111856_)
ModifierConstructorDescriptionItemOverrides(ModelBakery p_111740_, UnbakedModel p_111741_, Function<ResourceLocation,UnbakedModel> p_111742_, Function<Material,TextureAtlasSprite> textureGetter, List<ItemOverride> p_111743_)
ModifierConstructorDescriptionItemOverrides(ModelBakery p_111740_, BlockModel p_111741_, Function<ResourceLocation,UnbakedModel> p_111742_, List<ItemOverride> p_111743_)
Deprecated.ItemOverrides(ModelBakery p_111740_, UnbakedModel p_111741_, Function<ResourceLocation,UnbakedModel> p_111742_, Function<Material,TextureAtlasSprite> textureGetter, List<ItemOverride> p_111743_)
-
Uses of UnbakedModel in net.minecraft.client.renderer.block.model.multipart
Modifier and TypeMethodDescriptionMultiPart.getMaterials(Function<ResourceLocation,UnbakedModel> p_111976_, Set<com.mojang.datafixers.util.Pair<String,String>> p_111977_)
-
Uses of UnbakedModel in net.minecraft.client.resources.model
Modifier and TypeFieldDescriptionprivate List<UnbakedModel>
ModelBakery.ModelGroupKey.models
private Map<ResourceLocation,UnbakedModel>
ModelBakery.topLevelModels
private Map<ResourceLocation,UnbakedModel>
ModelBakery.unbakedCache
Modifier and TypeMethodDescriptionprivate void
ModelBakery.cacheAndQueueDependencies(ResourceLocation p_119353_, UnbakedModel p_119354_)
static ModelBakery.ModelGroupKey
ModelBakery.ModelGroupKey.create(BlockState p_119384_, UnbakedModel p_119385_, Collection<Property<?>> p_119386_)
Modifier and TypeMethodDescriptionUnbakedModel.getMaterials(Function<ResourceLocation,UnbakedModel> p_119538_, Set<com.mojang.datafixers.util.Pair<String,String>> p_119539_)
ModifierConstructorDescriptionModelGroupKey(List<UnbakedModel> p_119377_, List<Object> p_119378_)
-
Uses of UnbakedModel in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate static Function<ResourceLocation,UnbakedModel>
ModelLoader.DEFAULT_MODEL_GETTER
Helper method for registering all itemstacks for given item to map to universal bucket model.private com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<RenderType,UnbakedModel>>
MultiLayerModel.models
Modifier and TypeMethodDescriptionprotected UnbakedModel
ModelLoader.getMissingModel()
ModelLoader.getModelOrLogError(ResourceLocation location, String error)
Use this if you want the model, but need to log the error.ModelLoader.getModelOrMissing(ResourceLocation location)
Use this if you don't care about the exception and want some model anyway.BlockModelConfiguration.getOwnerModel()
IModelConfiguration.getOwnerModel()
If available, gets the owning model (usually BlockModel) of this configurationModifier and TypeMethodDescriptionstatic Function<ResourceLocation,UnbakedModel>
ModelLoader.defaultModelGetter()
Modifier and TypeMethodDescriptionprivate 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)
BlockModelConfiguration.getTextureDependencies(Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
CompositeModel.Geometry.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
CompositeModel.Submodel.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
DynamicBucketModel.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
FluidModel.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
ItemLayerModel.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
ModelLoaderRegistry.VanillaProxy.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
MultiLayerModel.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
SeparatePerspectiveModel.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
ModifierConstructorDescriptionMultiLayerModel(com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<RenderType,UnbakedModel>> models, boolean convertRenderTypes)
MultiLayerModel(Map<RenderType,UnbakedModel> models)
-
Uses of UnbakedModel in net.minecraftforge.client.model.animation
ModifierConstructorDescriptionAnimationItemOverrideList(ModelBakery bakery, UnbakedModel model, ResourceLocation modelLoc, ModelState state, Function<Material,TextureAtlasSprite> bakedTextureGetter, List<ItemOverride> overrides)
-
Uses of UnbakedModel in net.minecraftforge.client.model.b3d
Modifier and TypeMethodDescriptionB3DLoader.ModelWrapper.getMaterials(Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
-
Uses of UnbakedModel in net.minecraftforge.client.model.geometry
Modifier and TypeMethodDescriptionIModelGeometry.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
default Collection<Material>
IModelGeometryPart.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
default Collection<Material>
IMultipartModelGeometry.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
ISimpleModelGeometry.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
-
Uses of UnbakedModel in net.minecraftforge.client.model.obj
Modifier and TypeMethodDescriptionOBJModel.ModelGroup.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
OBJModel.ModelObject.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
-
Uses of UnbakedModel in net.minecraftforge.debug.block
Modifier and TypeFieldDescriptionprivate UnbakedModel
FullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.wrappedModel
The field for thewrappedModel
record component.Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.wrappedModel()
Returns the value of thewrappedModel
record component.Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
ModifierConstructorDescriptionprivate
DioritePotModelGeometry(UnbakedModel wrappedModel)
Creates an instance of aDioritePotModelGeometry
record class. -
Uses of UnbakedModel in net.minecraftforge.debug.client.model
Modifier and TypeMethodDescriptionNewModelLoaderTest.TestModel.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)