Uses of Class
net.minecraft.client.resources.model.Material
Package
Description
-
Uses of Material in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionstatic Material[]
Sheets.BED_TEXTURES
static Material
Sheets.CHEST_LOCATION
static Material
Sheets.CHEST_LOCATION_LEFT
static Material
Sheets.CHEST_LOCATION_RIGHT
static Material
Sheets.CHEST_TRAP_LOCATION
static Material
Sheets.CHEST_TRAP_LOCATION_LEFT
static Material
Sheets.CHEST_TRAP_LOCATION_RIGHT
static Material
Sheets.CHEST_XMAS_LOCATION
static Material
Sheets.CHEST_XMAS_LOCATION_LEFT
static Material
Sheets.CHEST_XMAS_LOCATION_RIGHT
static Material
static Material
Sheets.ENDER_CHEST_LOCATION
Modifier and TypeFieldDescriptionstatic Map<BannerPattern,Material>
Sheets.BANNER_MATERIALS
static Map<BannerPattern,Material>
Sheets.SHIELD_MATERIALS
Sheets.SHULKER_TEXTURE_LOCATION
Sheets.SIGN_MATERIALS
Modifier and TypeMethodDescriptionprivate static Material
Sheets.chestMaterial(String p_110779_)
static Material
Sheets.chooseMaterial(BlockEntity p_110768_, ChestType p_110769_, boolean p_110770_)
private static Material
Sheets.chooseMaterial(ChestType p_110772_, Material p_110773_, Material p_110774_, Material p_110775_)
private static Material
Sheets.createBannerMaterial(BannerPattern p_173388_)
private static Material
Sheets.createShieldMaterial(BannerPattern p_173390_)
private static Material
Sheets.createSignMaterial(WoodType p_173386_)
static Material
Sheets.getBannerMaterial(BannerPattern p_173380_)
static Material
Sheets.getShieldMaterial(BannerPattern p_173384_)
static Material
Sheets.getSignMaterial(WoodType p_173382_)
Modifier and TypeMethodDescriptionprivate static Material
Sheets.chooseMaterial(ChestType p_110772_, Material p_110773_, Material p_110774_, Material p_110775_)
Modifier and TypeMethodDescriptionstatic void
Sheets.getAllMaterials(Consumer<Material> p_110781_)
-
Uses of Material in net.minecraft.client.renderer.block.model
Modifier and TypeMethodDescriptionBlockModel.findTextureEntry(String p_111486_)
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_)
BlockModel.Deserializer.getTextureMap(com.google.gson.JsonObject p_111510_)
BlockModel.Deserializer.parseTextureLocationOrReference(ResourceLocation p_111504_, String p_111505_)
Modifier and TypeMethodDescriptionBlockModel.bake(ModelBakery p_111457_, Function<Material,TextureAtlasSprite> p_111458_, ModelState p_111459_, ResourceLocation p_111460_)
Deprecated.BlockModel.bake(ModelBakery p_111450_, BlockModel p_111451_, Function<Material,TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_)
MultiVariant.bake(ModelBakery p_111850_, Function<Material,TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_)
BlockModel.bakeVanilla(ModelBakery p_111450_, BlockModel p_111451_, Function<Material,TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_)
Deprecated.ItemModelGenerator.generateBlockModel(Function<Material,TextureAtlasSprite> p_111671_, BlockModel p_111672_)
BlockModel.getOverrides(ModelBakery p_111447_, BlockModel p_111448_, Function<Material,TextureAtlasSprite> textureGetter)
ModifierConstructorDescriptionBlockModel(ResourceLocation p_111429_, List<BlockElement> p_111430_, Map<String,com.mojang.datafixers.util.Either<Material,String>> p_111431_, boolean p_111432_, BlockModel.GuiLight p_111433_, ItemTransforms p_111434_, List<ItemOverride> p_111435_)
-
Uses of Material 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_)
Modifier and TypeMethodDescriptionMultiPart.bake(ModelBakery p_111971_, Function<Material,TextureAtlasSprite> p_111972_, ModelState p_111973_, ResourceLocation p_111974_)
-
Uses of Material in net.minecraft.client.renderer.blockentity
Modifier and TypeFieldDescriptionstatic Material
ConduitRenderer.ACTIVE_SHELL_TEXTURE
static Material
BellRenderer.BELL_RESOURCE_LOCATION
static Material
EnchantTableRenderer.BOOK_LOCATION
static Material
ConduitRenderer.CLOSED_EYE_TEXTURE
static Material
ConduitRenderer.OPEN_EYE_TEXTURE
static Material
ConduitRenderer.SHELL_TEXTURE
static Material
ConduitRenderer.VERTICAL_WIND_TEXTURE
static Material
ConduitRenderer.WIND_TEXTURE
Modifier and TypeMethodDescriptionprotected Material
ChestRenderer.getMaterial(T blockEntity, ChestType chestType)
Modifier and TypeMethodDescriptionstatic void
BannerRenderer.renderPatterns(PoseStack p_112066_, MultiBufferSource p_112067_, int p_112068_, int p_112069_, ModelPart p_112070_, Material p_112071_, boolean p_112072_, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> p_112073_)
static void
BannerRenderer.renderPatterns(PoseStack p_112075_, MultiBufferSource p_112076_, int p_112077_, int p_112078_, ModelPart p_112079_, Material p_112080_, boolean p_112081_, List<com.mojang.datafixers.util.Pair<BannerPattern,DyeColor>> p_112082_, boolean p_112083_)
private void
BedRenderer.renderPiece(PoseStack p_173542_, MultiBufferSource p_173543_, ModelPart p_173544_, Direction p_173545_, Material p_173546_, int p_173547_, int p_173548_, boolean p_173549_)
-
Uses of Material in net.minecraft.client.renderer.texture
-
Uses of Material in net.minecraft.client.resources.model
Modifier and TypeFieldDescriptionstatic Material
ModelBakery.BANNER_BASE
static Material
ModelBakery.FIRE_0
static Material
ModelBakery.FIRE_1
static Material
ModelBakery.LAVA_FLOW
static Material
ModelBakery.NO_PATTERN_SHIELD
static Material
ModelBakery.SHIELD_BASE
static Material
ModelBakery.WATER_FLOW
static Material
ModelBakery.WATER_OVERLAY
Modifier and TypeMethodDescriptionUnbakedModel.getMaterials(Function<ResourceLocation,UnbakedModel> p_119538_, Set<com.mojang.datafixers.util.Pair<String,String>> p_119539_)
Modifier and TypeMethodDescriptionModelBakery.bake(ResourceLocation p_119350_, ModelState p_119351_, Function<Material,TextureAtlasSprite> sprites)
UnbakedModel.bake(ModelBakery p_119534_, Function<Material,TextureAtlasSprite> p_119535_, ModelState p_119536_, ResourceLocation p_119537_)
-
Uses of Material in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic Material
ForgeHooksClient.getBlockMaterial(ResourceLocation loc)
Modifier and TypeMethodDescriptionstatic void
ForgeHooksClient.gatherFluidTextures(Set<Material> textures)
-
Uses of Material in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate com.google.common.collect.ImmutableList<Material>
ItemLayerModel.textures
Modifier and TypeMethodDescriptionstatic Material
ModelLoaderRegistry.blockMaterial(String location)
static Material
ModelLoaderRegistry.blockMaterial(ResourceLocation location)
BlockModelConfiguration.resolveTexture(String name)
IModelConfiguration.resolveTexture(String name)
Resolves the final texture name, taking into account texture aliases and replacements.static Material
ModelLoaderRegistry.resolveTexture(String tex, IModelConfiguration owner)
Modifier and TypeMethodDescriptionstatic Function<Material,TextureAtlasSprite>
ModelLoader.defaultTextureGetter()
Get the default texture getter the models will be baked with.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)
private static com.google.common.collect.ImmutableList<Material>
ItemLayerModel.getTextures(IModelConfiguration model)
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)
Modifier and TypeMethodDescriptionvoid
CompositeModel.Submodel.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
void
ModelLoaderRegistry.VanillaProxy.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
BlockModelConfiguration.bake(ModelBakery bakery, Function<Material,TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
CompositeModel.Geometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
DynamicBucketModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
FluidModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
ItemLayerModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
MultiLayerModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
SeparatePerspectiveModel.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
static BakedModel
ModelLoaderRegistry.bakeHelper(BlockModel blockModel, ModelBakery modelBakery, BlockModel otherModel, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation, boolean guiLight3d)
CompositeModel.Submodel.bakeModel(ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
private 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)
static com.google.common.collect.ImmutableList<BakedQuad>
ItemLayerModel.getQuadsForSprites(List<Material> textures, Transformation transform, Function<Material,TextureAtlasSprite> spriteGetter)
static com.google.common.collect.ImmutableList<BakedQuad>
ItemLayerModel.getQuadsForSprites(List<Material> textures, Transformation transform, Function<Material,TextureAtlasSprite> spriteGetter)
static com.google.common.collect.ImmutableList<BakedQuad>
ItemLayerModel.getQuadsForSprites(List<Material> textures, Transformation transform, Function<Material,TextureAtlasSprite> spriteGetter, Set<Integer> fullbrights)
static com.google.common.collect.ImmutableList<BakedQuad>
ItemLayerModel.getQuadsForSprites(List<Material> textures, Transformation transform, Function<Material,TextureAtlasSprite> spriteGetter, Set<Integer> fullbrights)
ModifierConstructorDescriptionItemLayerModel(com.google.common.collect.ImmutableList<Material> textures)
ItemLayerModel(com.google.common.collect.ImmutableList<Material> textures, com.google.common.collect.ImmutableSet<Integer> fullbrightLayers)
-
Uses of Material in net.minecraftforge.client.model.animation
Modifier and TypeFieldDescriptionprivate Function<Material,TextureAtlasSprite>
AnimationItemOverrideList.bakedTextureGetter
ModifierConstructorDescriptionAnimationItemOverrideList(ModelBakery bakery, UnbakedModel model, ResourceLocation modelLoc, ModelState state, Function<Material,TextureAtlasSprite> bakedTextureGetter, List<ItemOverride> overrides)
-
Uses of Material in net.minecraftforge.client.model.b3d
Modifier and TypeMethodDescriptionB3DLoader.ModelWrapper.getMaterials(Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
Modifier and TypeMethodDescriptionB3DLoader.ModelWrapper.bake(ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
-
Uses of Material 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)
Modifier and TypeMethodDescriptionvoid
IModelGeometryPart.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
default void
IMultipartModelGeometry.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
void
ISimpleModelGeometry.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
IModelGeometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
default BakedModel
ISimpleModelGeometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
-
Uses of Material 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)
Modifier and TypeMethodDescriptionvoid
OBJModel.ModelGroup.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
void
OBJModel.ModelObject.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
-
Uses of Material in net.minecraftforge.debug.block
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.getTextures(IModelConfiguration owner, Function<ResourceLocation,UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String,String>> missingTextureErrors)
Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake(IModelConfiguration owner, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation)
-
Uses of Material 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)
Modifier and TypeMethodDescriptionvoid
NewModelLoaderTest.TestModel.addQuads(IModelConfiguration owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material,TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)