Uses of Class
net.minecraft.client.resources.model.Material
Package
Description
-
Uses of Material in net.minecraft.client.renderer
Modifier and TypeFieldDescriptionstatic final Material[]
Sheets.BED_TEXTURES
static final Material
Sheets.CHEST_LOCATION
static final Material
Sheets.CHEST_LOCATION_LEFT
static final Material
Sheets.CHEST_LOCATION_RIGHT
static final Material
Sheets.CHEST_TRAP_LOCATION
static final Material
Sheets.CHEST_TRAP_LOCATION_LEFT
static final Material
Sheets.CHEST_TRAP_LOCATION_RIGHT
static final Material
Sheets.CHEST_XMAS_LOCATION
static final Material
Sheets.CHEST_XMAS_LOCATION_LEFT
static final Material
Sheets.CHEST_XMAS_LOCATION_RIGHT
static final Material
static final Material
Sheets.ENDER_CHEST_LOCATION
Modifier and TypeFieldDescriptionstatic final Map<ResourceKey<BannerPattern>,
Material> Sheets.BANNER_MATERIALS
static final Map<ResourceKey<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
(ResourceKey<BannerPattern> p_234352_) private static Material
Sheets.createShieldMaterial
(ResourceKey<BannerPattern> p_234354_) private static Material
Sheets.createSignMaterial
(WoodType p_173386_) static Material
Sheets.getBannerMaterial
(ResourceKey<BannerPattern> p_234348_) static Material
Sheets.getShieldMaterial
(ResourceKey<BannerPattern> p_234350_) 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_, RenderTypeGroup renderTypes) Deprecated, for removal: This API element is subject to removal in a future version.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 final Material
ConduitRenderer.ACTIVE_SHELL_TEXTURE
static final Material
BellRenderer.BELL_RESOURCE_LOCATION
static final Material
EnchantTableRenderer.BOOK_LOCATION
static final Material
ConduitRenderer.CLOSED_EYE_TEXTURE
static final Material
ConduitRenderer.OPEN_EYE_TEXTURE
static final Material
ConduitRenderer.SHELL_TEXTURE
static final Material
ConduitRenderer.VERTICAL_WIND_TEXTURE
static final 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<Holder<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<Holder<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 final Material
ModelBakery.BANNER_BASE
static final Material
ModelBakery.FIRE_0
static final Material
ModelBakery.FIRE_1
static final Material
ModelBakery.LAVA_FLOW
static final Material
ModelBakery.NO_PATTERN_SHIELD
static final Material
ModelBakery.SHIELD_BASE
static final Material
ModelBakery.WATER_FLOW
static final 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 @Nullable com.google.common.collect.ImmutableList<Material>
ItemLayerModel.textures
Modifier and TypeMethodDescriptionCompositeModel.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) DynamicFluidContainerModel.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ElementsModel.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) EmptyModel.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ItemLayerModel.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) SeparateTransformsModel.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Modifier and TypeMethodDescriptionprotected void
ElementsModel.addQuads
(IGeometryBakingContext context, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) protected void
EmptyModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) CompositeModel.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) DynamicFluidContainerModel.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) EmptyModel.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) ItemLayerModel.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SeparateTransformsModel.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) ModifierConstructorDescriptionItemLayerModel
(@Nullable com.google.common.collect.ImmutableList<Material> textures, it.unimi.dsi.fastutil.ints.IntSet emissiveLayers, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeNames) private
ItemLayerModel
(@Nullable com.google.common.collect.ImmutableList<Material> textures, it.unimi.dsi.fastutil.ints.IntSet emissiveLayers, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeNames, boolean deprecatedLoader, boolean logWarning) -
Uses of Material in net.minecraftforge.client.model.geometry
Modifier and TypeFieldDescriptionprivate static final Material
StandaloneGeometryBakingContext.Builder.NO_MATERIAL
Modifier and TypeFieldDescriptionStandaloneGeometryBakingContext.Builder.materialLookup
StandaloneGeometryBakingContext.materialLookup
Modifier and TypeMethodDescriptionBlockGeometryBakingContext.getMaterial
(String name) IGeometryBakingContext.getMaterial
(String name) Resolves the final texture name, taking into account texture aliases and replacements.StandaloneGeometryBakingContext.getMaterial
(String name) static Material
UnbakedGeometryHelper.resolveDirtyMaterial
(@Nullable String tex, IGeometryBakingContext owner) Resolves a material that may have been defined with a filesystem path instead of a properResourceLocation
.Modifier and TypeMethodDescriptionIUnbakedGeometry.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) abstract Collection<Material>
SimpleUnbakedGeometry.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) BlockGeometryBakingContext.getTextureDependencies
(Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Modifier and TypeMethodDescriptionStandaloneGeometryBakingContext.Builder.withMaterials
(Map<String, Material> materials, Material defaultMaterial) Modifier and TypeMethodDescriptionprotected abstract void
SimpleUnbakedGeometry.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) BlockGeometryBakingContext.bake
(ModelBakery bakery, Function<Material, TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) IUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SimpleUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) static BakedModel
UnbakedGeometryHelper.bake
(BlockModel blockModel, ModelBakery modelBakery, BlockModel owner, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation, boolean guiLight3d) Helper for bakingBlockModel
instances.UnbakedGeometryHelper.bakeElements
(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Bakes a list of block elements and returns the list of baked quads.static void
UnbakedGeometryHelper.bakeElements
(IModelBuilder<?> builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Bakes a list of block elements and feeds the baked quads to a model builder.static BakedModel
UnbakedGeometryHelper.bakeVanilla
(BlockModel blockModel, ModelBakery modelBakery, BlockModel owner, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) Deprecated, for removal: This API element is subject to removal in a future version.StandaloneGeometryBakingContext.Builder.withMaterials
(Map<String, Material> materials, Material defaultMaterial) ModifierConstructorDescriptionprivate
StandaloneGeometryBakingContext
(ResourceLocation modelName, Predicate<String> materialCheck, Function<String, Material> materialLookup, boolean isGui3d, boolean useBlockLight, boolean useAmbientOcclusion, ItemTransforms transforms, Transformation rootTransform, @Nullable ResourceLocation renderTypeHint, BiPredicate<String, Boolean> visibilityTest) -
Uses of Material in net.minecraftforge.client.model.obj
Modifier and TypeMethodDescriptionObjModel.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ObjModel.ModelGroup.getTextures
(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) ObjModel.ModelObject.getTextures
(IGeometryBakingContext owner, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Modifier and TypeMethodDescriptionprotected void
ObjModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
ObjModel.ModelGroup.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
ObjModel.ModelMesh.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) void
ObjModel.ModelObject.addQuads
(IGeometryBakingContext 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.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Modifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.bake
(IGeometryBakingContext context, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) -
Uses of Material in net.minecraftforge.debug.client.model
Modifier and TypeMethodDescriptionNewModelLoaderTest.TestModel.getMaterials
(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Modifier and TypeMethodDescriptionprotected void
NewModelLoaderTest.TestModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
BlockModel
is gone.