Uses of Class
net.minecraft.client.resources.model.Material
Package
Description
Extension interfaces for
client
-only classes.-
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<String>,
Material> Sheets.DECORATED_POT_MATERIALS
Sheets.HANGING_SIGN_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.createDecoratedPotMaterial
(ResourceKey<String> p_272805_) private static Material
Sheets.createHangingSignMaterial
(WoodType p_251735_) 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.getDecoratedPotMaterial
(ResourceKey<String> p_273567_) static Material
Sheets.getHangingSignMaterial
(WoodType p_250958_) 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.Deserializer.getTextureMap
(com.google.gson.JsonObject p_111510_) BlockModel.Deserializer.parseTextureLocationOrReference
(ResourceLocation p_111504_, String p_111505_) Modifier and TypeMethodDescriptionBlockModel.bake
(ModelBaker p_252120_, Function<Material, TextureAtlasSprite> p_250023_, ModelState p_251130_, ResourceLocation p_252208_) Deprecated.BlockModel.bake
(ModelBaker p_249720_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_) MultiVariant.bake
(ModelBaker p_249016_, Function<Material, TextureAtlasSprite> p_111851_, ModelState p_111852_, ResourceLocation p_111853_) private BakedModel
ItemOverrides.bakeModel
(ModelBaker p_249483_, UnbakedModel p_251965_, ItemOverride p_250816_, Function<Material, TextureAtlasSprite> spriteGetter) private BakedModel
BlockModel.bakeVanilla
(ModelBaker p_249720_, BlockModel p_111451_, Function<Material, TextureAtlasSprite> p_111452_, ModelState p_111453_, ResourceLocation p_111454_, boolean p_111455_, RenderTypeGroup renderTypes) ItemModelGenerator.generateBlockModel
(Function<Material, TextureAtlasSprite> p_111671_, BlockModel p_111672_) BlockModel.getOverrides
(ModelBaker p_250138_, BlockModel p_251800_, Function<Material, TextureAtlasSprite> spriteGetter) ModifierConstructorDescriptionBlockModel
(ResourceLocation p_273263_, List<BlockElement> p_272668_, Map<String, com.mojang.datafixers.util.Either<Material, String>> p_272821_, Boolean p_272676_, BlockModel.GuiLight p_273072_, ItemTransforms p_273480_, List<ItemOverride> p_273099_) ItemOverrides
(ModelBaker p_251211_, UnbakedModel p_111741_, List<ItemOverride> p_111743_, Function<Material, TextureAtlasSprite> spriteGetter) -
Uses of Material in net.minecraft.client.renderer.block.model.multipart
Modifier and TypeMethodDescriptionMultiPart.bake
(ModelBaker p_249988_, 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
private final Material
DecoratedPotRenderer.baseMaterial
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) private static Material
DecoratedPotRenderer.getMaterial
(Item p_272698_) (package private) Material
HangingSignRenderer.getSignMaterial
(WoodType p_251791_) (package private) Material
SignRenderer.getSignMaterial
(WoodType p_251961_) 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_) private void
DecoratedPotRenderer.renderSide
(ModelPart p_273495_, PoseStack p_272899_, MultiBufferSource p_273582_, int p_273242_, int p_273108_, Material p_273173_) -
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 TypeFieldDescriptionstatic final Comparator<Material>
Material.COMPARATOR
private final Function<Material,
TextureAtlasSprite> ModelBakery.ModelBakerImpl.modelTextureGetter
Modifier and TypeMethodDescriptionModelBakery.ModelBakerImpl.bake
(ResourceLocation p_252176_, ModelState p_249765_, Function<Material, TextureAtlasSprite> sprites) UnbakedModel.bake
(ModelBaker p_250133_, Function<Material, TextureAtlasSprite> p_119535_, ModelState p_119536_, ResourceLocation p_119537_) void
ModelBakery.bakeModels
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_248669_) ModifierConstructorDescription(package private)
ModelBakerImpl
(BiFunction<ResourceLocation, Material, TextureAtlasSprite> p_249651_, ResourceLocation p_251408_) -
Uses of Material in net.minecraftforge.client
Modifier and TypeMethodDescriptionstatic Material
ForgeHooksClient.getBlockMaterial
(ResourceLocation loc) -
Uses of Material in net.minecraftforge.client.extensions
Modifier and TypeMethodDescription@Nullable BakedModel
IForgeModelBaker.bake
(ResourceLocation location, ModelState state, Function<Material, TextureAtlasSprite> sprites) -
Uses of Material in net.minecraftforge.client.model
Modifier and TypeFieldDescriptionprivate @Nullable com.google.common.collect.ImmutableList<Material>
ItemLayerModel.textures
Modifier and TypeMethodDescriptionprotected void
ElementsModel.addQuads
(IGeometryBakingContext context, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) protected void
EmptyModel.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) CompositeModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) DynamicFluidContainerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) EmptyModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) ItemLayerModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SeparateTransformsModel.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) ModifierConstructorDescriptionprivate
ItemLayerModel
(@Nullable com.google.common.collect.ImmutableList<Material> textures, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ForgeFaceData> layerData, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeNames) -
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 TypeMethodDescriptionStandaloneGeometryBakingContext.Builder.withMaterials
(Map<String, Material> materials, Material defaultMaterial) Modifier and TypeMethodDescriptionprotected abstract void
SimpleUnbakedGeometry.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) BlockGeometryBakingContext.bake
(ModelBaker baker, Function<Material, TextureAtlasSprite> bakedTextureGetter, ModelState modelTransform, ItemOverrides overrides, ResourceLocation modelLocation) IUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) SimpleUnbakedGeometry.bake
(IGeometryBakingContext context, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ItemOverrides overrides, ResourceLocation modelLocation) static BakedModel
UnbakedGeometryHelper.bake
(BlockModel blockModel, ModelBaker modelBaker, 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.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.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, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) void
ObjModel.ModelGroup.addQuads
(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBaker baker, 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, ModelBaker baker, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
BlockModel.bake(ModelBaker, BlockModel, Function, ModelState, ResourceLocation, boolean)
.