Modifier and Type | Class and Description |
---|---|
class |
BlockModel |
class |
VariantList |
Modifier and Type | Field and Description |
---|---|
private java.util.List<IUnbakedModel> |
ModelBakery.ModelListWrapper.models |
private java.util.Map<ResourceLocation,IUnbakedModel> |
ModelBakery.topUnbakedModels |
private java.util.Map<ResourceLocation,IUnbakedModel> |
ModelBakery.unbakedModels |
Modifier and Type | Method and Description |
---|---|
IUnbakedModel |
ModelBakery.getUnbakedModel(ResourceLocation modelLocation) |
Modifier and Type | Method and Description |
---|---|
static ModelBakery.ModelListWrapper |
ModelBakery.ModelListWrapper.makeWrapper(BlockState blockStateIn,
IUnbakedModel modelIn,
java.util.Collection<IProperty<?>> propertiesIn) |
private void |
ModelBakery.putModel(ResourceLocation locationIn,
IUnbakedModel modelIn) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Material> |
VariantList.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
BlockModel.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
IUnbakedModel.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Constructor and Description |
---|
ItemOverrideList(ModelBakery modelBakeryIn,
IUnbakedModel blockModelIn,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.function.Function<Material,TextureAtlasSprite> textureGetter,
java.util.List<ItemOverride> itemOverridesIn) |
Constructor and Description |
---|
ItemOverrideList(ModelBakery modelBakeryIn,
BlockModel blockModelIn,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.List<ItemOverride> itemOverridesIn)
Deprecated.
|
ItemOverrideList(ModelBakery modelBakeryIn,
IUnbakedModel blockModelIn,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.function.Function<Material,TextureAtlasSprite> textureGetter,
java.util.List<ItemOverride> itemOverridesIn) |
ModelListWrapper(java.util.List<IUnbakedModel> modelsIn,
java.util.List<java.lang.Object> colorValuesIn) |
Modifier and Type | Class and Description |
---|---|
class |
Multipart |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Material> |
Multipart.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
FancyMissingModel |
Modifier and Type | Field and Description |
---|---|
private IUnbakedModel |
FancyMissingModel.missingModel |
private IUnbakedModel |
ModelLoader.missingModel |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.Function<ResourceLocation,IUnbakedModel> |
ModelLoader.DEFAULT_MODEL_GETTER
Helper method for registering all itemstacks for given item to map to universal bucket model.
|
private com.google.common.collect.ImmutableMap<RenderType,IUnbakedModel> |
MultiLayerModel.models |
Modifier and Type | Method and Description |
---|---|
protected IUnbakedModel |
ModelLoader.getMissingModel() |
IUnbakedModel |
ModelLoader.getModelOrLogError(ResourceLocation location,
java.lang.String error)
Use this if you want the model, but need to log the error.
|
IUnbakedModel |
ModelLoader.getModelOrMissing(ResourceLocation location)
Use this if you don't care about the exception and want some model anyway.
|
IUnbakedModel |
IModelConfiguration.getOwnerModel()
If available, gets the owning model (usually BlockModel) of this configuration
|
IUnbakedModel |
BlockModelConfiguration.getOwnerModel() |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Function<ResourceLocation,IUnbakedModel> |
ModelLoader.defaultModelGetter() |
Modifier and Type | Method and Description |
---|---|
private static com.google.common.collect.ImmutableMap<RenderType,IBakedModel> |
MultiLayerModel.buildModels(com.google.common.collect.ImmutableMap<RenderType,IUnbakedModel> models,
IModelTransform modelTransform,
ModelBakery bakery,
java.util.function.Function<Material,TextureAtlasSprite> spriteGetter,
ResourceLocation modelLocation) |
java.util.Collection<Material> |
BlockModelConfiguration.getTextureDependencies(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
FancyMissingModel.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
MultiLayerModel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
ModelLoaderRegistry.VanillaProxy.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
CompositeModel.Submodel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
CompositeModel.Geometry.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
FluidModel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
DynamicBucketModel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
ItemLayerModel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Constructor and Description |
---|
FancyMissingModel(IUnbakedModel missingModel,
java.lang.String message) |
Constructor and Description |
---|
MultiLayerModel(com.google.common.collect.ImmutableMap<RenderType,IUnbakedModel> models) |
Modifier and Type | Field and Description |
---|---|
private IUnbakedModel |
AnimationItemOverrideList.model |
Constructor and Description |
---|
AnimationItemOverrideList(ModelBakery bakery,
IUnbakedModel model,
ResourceLocation modelLoc,
IModelTransform state,
java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter,
ItemOverrideList overrides) |
AnimationItemOverrideList(ModelBakery bakery,
IUnbakedModel model,
ResourceLocation modelLoc,
IModelTransform state,
java.util.function.Function<Material,TextureAtlasSprite> bakedTextureGetter,
java.util.List<ItemOverride> overrides) |
Modifier and Type | Class and Description |
---|---|
private static class |
B3DLoader.ModelWrapper |
Modifier and Type | Method and Description |
---|---|
IUnbakedModel |
B3DLoader.loadModel(ResourceLocation modelLocation) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Material> |
B3DLoader.ModelWrapper.getTextures(java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Modifier and Type | Method and Description |
---|---|
default java.util.Collection<Material> |
IMultipartModelGeometry.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
IModelGeometry.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
ISimpleModelGeometry.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
default java.util.Collection<Material> |
IModelGeometryPart.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Material> |
OBJModel.ModelObject.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
java.util.Collection<Material> |
OBJModel.ModelGroup.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Material> |
NewModelLoaderTest.TestModel.getTextures(IModelConfiguration owner,
java.util.function.Function<ResourceLocation,IUnbakedModel> modelGetter,
java.util.Set<com.mojang.datafixers.util.Pair<java.lang.String,java.lang.String>> missingTextureErrors) |