Interface IVariableModelBaked
- All Superinterfaces:
net.minecraft.client.resources.model.BakedModel
,net.minecraftforge.client.extensions.IForgeBakedModel
- All Known Implementing Classes:
VariableModelBaked
public interface IVariableModelBaked
extends net.minecraft.client.resources.model.BakedModel
A model for variable items.
-
Method Summary
Modifier and TypeMethodDescription<B extends IVariableModelProvider.BakedModelProvider>
BgetSubModels
(IVariableModelProvider<B> provider) Get the baked submodels for the given provider.<B extends IVariableModelProvider.BakedModelProvider>
voidsetSubModels
(IVariableModelProvider<B> provider, B subModels) Set the baked submodels for the given provider.Methods inherited from interface net.minecraft.client.resources.model.BakedModel
getOverrides, getParticleIcon, getQuads, getTransforms, isCustomRenderer, isGui3d, useAmbientOcclusion, usesBlockLight
Methods inherited from interface net.minecraftforge.client.extensions.IForgeBakedModel
applyTransform, getModelData, getParticleIcon, getQuads, getRenderPasses, getRenderTypes, getRenderTypes, useAmbientOcclusion, useAmbientOcclusion
-
Method Details
-
setSubModels
<B extends IVariableModelProvider.BakedModelProvider> void setSubModels(IVariableModelProvider<B> provider, B subModels) Set the baked submodels for the given provider.- Type Parameters:
B
- The baked sub model type.- Parameters:
provider
- The provider.subModels
- The baked sub model holder.
-
getSubModels
<B extends IVariableModelProvider.BakedModelProvider> B getSubModels(IVariableModelProvider<B> provider) Get the baked submodels for the given provider.- Type Parameters:
B
- The baked sub model type.- Parameters:
provider
- The provider.- Returns:
- The baked model provider.
-