| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.Integer,ModelResourceLocation> |
ItemModelMesher.simpleShapes |
| Modifier and Type | Method and Description |
|---|---|
ModelResourceLocation |
ItemMeshDefinition.getModelLocation(ItemStack stack) |
| Modifier and Type | Method and Description |
|---|---|
void |
ItemModelMesher.register(Item item,
int meta,
ModelResourceLocation location) |
| Modifier and Type | Field and Description |
|---|---|
static ModelResourceLocation |
ModelBakery.MODEL_MISSING |
| Modifier and Type | Field and Description |
|---|---|
protected RegistrySimple<ModelResourceLocation,IBakedModel> |
ModelBakery.bakedRegistry |
private IRegistry<ModelResourceLocation,IBakedModel> |
ModelManager.modelRegistry |
private java.util.Map<ModelBlockDefinition,java.util.Collection<ModelResourceLocation>> |
ModelBakery.multipartVariantMap |
private java.util.Map<ModelResourceLocation,VariantList> |
ModelBakery.variants |
| Modifier and Type | Method and Description |
|---|---|
IRegistry<ModelResourceLocation,IBakedModel> |
ModelBakery.setupModelRegistry() |
| Modifier and Type | Method and Description |
|---|---|
IBakedModel |
ModelManager.getModel(ModelResourceLocation modelLocation) |
protected void |
ModelBakery.loadVariantList(ModelResourceLocation p_188638_1_,
VariantList p_188638_2_) |
protected void |
ModelBakery.registerVariant(ModelBlockDefinition blockstateDefinition,
ModelResourceLocation location) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ModelBakery.registerMultipartVariant(ModelBlockDefinition definition,
java.util.Collection<ModelResourceLocation> locations) |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<IBlockState,ModelResourceLocation> |
StateMapperBase.mapStateModelLocations |
| Modifier and Type | Method and Description |
|---|---|
protected ModelResourceLocation |
StateMap.getModelResourceLocation(IBlockState state) |
protected ModelResourceLocation |
DefaultStateMapper.getModelResourceLocation(IBlockState state) |
protected abstract ModelResourceLocation |
StateMapperBase.getModelResourceLocation(IBlockState state) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<IBlockState,ModelResourceLocation> |
BlockStateMapper.getVariants(Block blockIn) |
java.util.Map<IBlockState,ModelResourceLocation> |
BlockStateMapper.putAllStateModelLocations() |
java.util.Map<IBlockState,ModelResourceLocation> |
IStateMapper.putStateModelLocations(Block blockIn) |
java.util.Map<IBlockState,ModelResourceLocation> |
StateMapperBase.putStateModelLocations(Block blockIn) |
| Modifier and Type | Field and Description |
|---|---|
private ModelResourceLocation |
RenderItemFrame.itemFrameModel |
private ModelResourceLocation |
RenderItemFrame.mapModel |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Map<IRegistryDelegate<Item>,it.unimi.dsi.fastutil.ints.Int2ObjectMap<ModelResourceLocation>> |
ItemModelMesherForge.locations |
| Modifier and Type | Method and Description |
|---|---|
ModelResourceLocation |
ItemModelMesherForge.getLocation(ItemStack stack) |
| Modifier and Type | Method and Description |
|---|---|
void |
ItemModelMesherForge.register(Item item,
int meta,
ModelResourceLocation location) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ForgeHooksClient.onModelBake(ModelManager modelManager,
IRegistry<ModelResourceLocation,IBakedModel> modelRegistry,
ModelLoader modelLoader) |
| Modifier and Type | Field and Description |
|---|---|
private IRegistry<ModelResourceLocation,IBakedModel> |
ModelBakeEvent.modelRegistry |
| Modifier and Type | Method and Description |
|---|---|
IRegistry<ModelResourceLocation,IBakedModel> |
ModelBakeEvent.getModelRegistry() |
| Constructor and Description |
|---|
ModelBakeEvent(ModelManager modelManager,
IRegistry<ModelResourceLocation,IBakedModel> modelRegistry,
ModelLoader modelLoader) |
| Modifier and Type | Field and Description |
|---|---|
static ModelResourceLocation |
ModelDynBucket.LOCATION |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<org.apache.commons.lang3.tuple.Pair<IRegistryDelegate<Item>,java.lang.Integer>,ModelResourceLocation> |
ModelLoader.customModels |
private java.util.Set<ModelResourceLocation> |
ModelLoader.missingVariants |
private com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,ModelResourceLocation> |
MultiLayerModel.models |
private java.util.Map<ModelResourceLocation,ModelBlockDefinition> |
ModelLoader.multipartDefinitions |
private java.util.Map<ModelResourceLocation,IModel> |
ModelLoader.stateModels |
| Modifier and Type | Method and Description |
|---|---|
static ModelResourceLocation |
ModelLoader.getInventoryVariant(java.lang.String s)
Hooked from ModelBakery, allows using MRLs that don't end with "inventory" for items.
|
private ModelResourceLocation |
MultiLayerModel.getLocation(java.lang.String json) |
| Modifier and Type | Method and Description |
|---|---|
IRegistry<ModelResourceLocation,IBakedModel> |
ModelLoader.setupModelRegistry() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ModelLoader.registerVariant(ModelBlockDefinition definition,
ModelResourceLocation location) |
static void |
ModelLoader.setCustomModelResourceLocation(Item item,
int metadata,
ModelResourceLocation model)
Adds a simple mapping from Item + metadata to the model variant.
|
| Modifier and Type | Method and Description |
|---|---|
private static com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,IBakedModel> |
MultiLayerModel.buildModels(com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,ModelResourceLocation> models,
IModelState state,
VertexFormat format,
java.util.function.Function<ResourceLocation,TextureAtlasSprite> bakedTextureGetter) |
void |
ModelLoader.onPostBakeEvent(IRegistry<ModelResourceLocation,IBakedModel> modelRegistry)
Internal, do not use.
|
protected void |
ModelLoader.registerMultipartVariant(ModelBlockDefinition definition,
java.util.Collection<ModelResourceLocation> locations) |
| Constructor and Description |
|---|
MultiLayerModel(com.google.common.collect.ImmutableMap<java.util.Optional<BlockRenderLayer>,ModelResourceLocation> models) |