Modifier and Type | Method and Description |
---|---|
IModel |
Variant.process(IModel base) |
Modifier and Type | Method and Description |
---|---|
IModel |
Variant.process(IModel base) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
FancyMissingModel |
class |
ItemLayerModel |
class |
ModelDynBucket |
class |
ModelFluid |
private static class |
ModelLoader.MultipartModel |
private class |
ModelLoader.VanillaModelWrapper |
private static class |
ModelLoader.WeightedRandomModel |
class |
MultiLayerModel |
class |
MultiModel
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private IModel |
MultiModel.base
Deprecated.
|
private IModel |
FancyMissingModel.missingModel |
private IModel |
ModelLoader.missingModel |
private IModel |
MultiModelState.PartState.model |
private IModel |
MultiModelState.MultiModelPart.model |
private IModel |
MultiModelState.PartPart.model |
static IModel |
ModelDynBucket.MODEL |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<ResourceLocation,IModel> |
ModelLoaderRegistry.cache |
private java.util.List<IModel> |
ModelLoader.WeightedRandomModel.models |
private java.util.Map<ModelBlockDefinition,IModel> |
ModelLoader.multipartModels |
private com.google.common.collect.ImmutableMap<Selector,IModel> |
ModelLoader.MultipartModel.partModels |
private java.util.Map<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> |
MultiModel.parts
Deprecated.
|
private java.util.Map<ModelResourceLocation,IModel> |
ModelLoader.stateModels |
Modifier and Type | Method and Description |
---|---|
static IModel |
ModelLoaderRegistry.getMissingModel() |
protected IModel |
ModelLoader.getMissingModel() |
(package private) static IModel |
ModelLoaderRegistry.getMissingModel(ResourceLocation location,
java.lang.Throwable cause) |
static IModel |
ModelLoaderRegistry.getModel(ResourceLocation location)
Primary method to get IModel instances.
|
static IModel |
ModelLoaderRegistry.getModelOrLogError(ResourceLocation location,
java.lang.String error)
Use this if you want the model, but need to log the error.
|
static IModel |
ModelLoaderRegistry.getModelOrMissing(ResourceLocation location)
Use this if you don't care about the exception and want some model anyway.
|
default IModel |
IModel.gui3d(boolean value) |
IModel |
MultiLayerModel.Loader.loadModel(ResourceLocation modelLocation) |
IModel |
ItemLayerModel.Loader.loadModel(ResourceLocation modelLocation) |
IModel |
ModelFluid.FluidLoader.loadModel(ResourceLocation modelLocation) |
IModel |
ModelDynBucket.LoaderDynBucket.loadModel(ResourceLocation modelLocation) |
IModel |
ModelLoader.VanillaLoader.loadModel(ResourceLocation modelLocation) |
IModel |
ModelLoader.VariantLoader.loadModel(ResourceLocation modelLocation) |
IModel |
ICustomModelLoader.loadModel(ResourceLocation modelLocation) |
default IModel |
IModel.process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData)
Allows the model to process custom data from the variant definition.
|
IModel |
ISmartVariant.process(IModel base) |
IModel |
BlockStateLoader.ForgeVariant.process(IModel base)
Used to replace the base model with a re-textured model containing sub-models.
|
IModel |
ModelLoader.MultipartModel.retexture(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures) |
default IModel |
IModel.retexture(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures)
Applies new textures to the model.
|
private IModel |
BlockStateLoader.ForgeVariant.runModelHooks(IModel base,
java.util.Optional<java.lang.Boolean> smooth,
java.util.Optional<java.lang.Boolean> gui3d,
boolean uvlock,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textureMap,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData) |
default IModel |
IModel.smoothLighting(boolean value) |
IModel |
ModelLoader.VanillaModelWrapper.uvlock(boolean value) |
default IModel |
IModel.uvlock(boolean value) |
Modifier and Type | Method and Description |
---|---|
static IModelState |
MultiModelState.getPartState(IModelState state,
IModel model,
int index) |
IModel |
ISmartVariant.process(IModel base) |
IModel |
BlockStateLoader.ForgeVariant.process(IModel base)
Used to replace the base model with a re-textured model containing sub-models.
|
private IModel |
BlockStateLoader.ForgeVariant.runModelHooks(IModel base,
java.util.Optional<java.lang.Boolean> smooth,
java.util.Optional<java.lang.Boolean> gui3d,
boolean uvlock,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textureMap,
com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData) |
Constructor and Description |
---|
FancyMissingModel(IModel missingModel,
java.lang.String message) |
MultiModel(ResourceLocation location,
IModel base,
com.google.common.collect.ImmutableMap<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultiModel(ResourceLocation location,
IModel base,
IModelState baseState,
com.google.common.collect.ImmutableMap<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultiModel(ResourceLocation location,
IModel base,
IModelState baseState,
java.util.Map<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultiModel(ResourceLocation location,
IModel base,
java.util.Map<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultiModelPart(IModel model,
int index) |
PartPart(IModel model,
int index,
java.util.Optional<? extends IModelPart> part) |
PartState(IModelState state,
IModel model,
int index) |
Constructor and Description |
---|
MultiModel(ResourceLocation location,
IModel base,
com.google.common.collect.ImmutableMap<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultiModel(ResourceLocation location,
IModel base,
IModelState baseState,
com.google.common.collect.ImmutableMap<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultiModel(ResourceLocation location,
IModel base,
IModelState baseState,
java.util.Map<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultiModel(ResourceLocation location,
IModel base,
java.util.Map<java.lang.String,org.apache.commons.lang3.tuple.Pair<IModel,IModelState>> parts)
Deprecated.
|
MultipartModel(ResourceLocation location,
Multipart multipart,
com.google.common.collect.ImmutableMap<Selector,IModel> partModels) |
WeightedRandomModel(java.util.List<Variant> variants,
java.util.List<ResourceLocation> locations,
java.util.Set<ResourceLocation> textures,
java.util.List<IModel> models,
IModelState defaultState) |
Modifier and Type | Field and Description |
---|---|
private IModel |
AnimationItemOverrideList.model |
Constructor and Description |
---|
AnimationItemOverrideList(IModel model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
ItemOverrideList overrides) |
AnimationItemOverrideList(IModel model,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter,
java.util.List<ItemOverride> overrides) |
Modifier and Type | Class and Description |
---|---|
private static class |
B3DLoader.ModelWrapper |
Modifier and Type | Method and Description |
---|---|
IModel |
B3DLoader.loadModel(ResourceLocation modelLocation) |
Modifier and Type | Class and Description |
---|---|
class |
OBJModel |
Modifier and Type | Method and Description |
---|---|
IModel |
OBJLoader.loadModel(ResourceLocation modelLocation) |
IModel |
OBJModel.process(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> customData) |
IModel |
OBJModel.retexture(com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> textures) |