Uses of Class
net.minecraft.client.resources.model.Material
Packages that use Material
Package
Description
-
Uses of Material in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as MaterialModifier and TypeFieldDescriptionstatic final Material[]Sheets.BED_TEXTURESstatic final MaterialSheets.CHEST_LOCATIONstatic final MaterialSheets.CHEST_LOCATION_LEFTstatic final MaterialSheets.CHEST_LOCATION_RIGHTstatic final MaterialSheets.CHEST_TRAP_LOCATIONstatic final MaterialSheets.CHEST_TRAP_LOCATION_LEFTstatic final MaterialSheets.CHEST_TRAP_LOCATION_RIGHTstatic final MaterialSheets.CHEST_XMAS_LOCATIONstatic final MaterialSheets.CHEST_XMAS_LOCATION_LEFTstatic final MaterialSheets.CHEST_XMAS_LOCATION_RIGHTstatic final Materialstatic final MaterialSheets.ENDER_CHEST_LOCATIONFields in net.minecraft.client.renderer with type parameters of type MaterialModifier and TypeFieldDescriptionstatic final Map<ResourceKey<BannerPattern>,Material> Sheets.BANNER_MATERIALSstatic final Map<ResourceKey<BannerPattern>,Material> Sheets.SHIELD_MATERIALSSheets.SHULKER_TEXTURE_LOCATIONSheets.SIGN_MATERIALSMethods in net.minecraft.client.renderer that return MaterialModifier and TypeMethodDescriptionprivate static MaterialSheets.chestMaterial(String p_110779_) static MaterialSheets.chooseMaterial(BlockEntity p_110768_, ChestType p_110769_, boolean p_110770_) private static MaterialSheets.chooseMaterial(ChestType p_110772_, Material p_110773_, Material p_110774_, Material p_110775_) private static MaterialSheets.createBannerMaterial(ResourceKey<BannerPattern> p_234352_) private static MaterialSheets.createShieldMaterial(ResourceKey<BannerPattern> p_234354_) private static MaterialSheets.createSignMaterial(WoodType p_173386_) static MaterialSheets.getBannerMaterial(ResourceKey<BannerPattern> p_234348_) static MaterialSheets.getShieldMaterial(ResourceKey<BannerPattern> p_234350_) static MaterialSheets.getSignMaterial(WoodType p_173382_) Methods in net.minecraft.client.renderer with parameters of type MaterialModifier and TypeMethodDescriptionprivate static MaterialSheets.chooseMaterial(ChestType p_110772_, Material p_110773_, Material p_110774_, Material p_110775_) Method parameters in net.minecraft.client.renderer with type arguments of type MaterialModifier and TypeMethodDescriptionstatic voidSheets.getAllMaterials(Consumer<Material> p_110781_) -
Uses of Material in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model with type parameters of type MaterialMethods in net.minecraft.client.renderer.block.model that return MaterialMethods in net.minecraft.client.renderer.block.model that return types with arguments of type MaterialModifier 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_) Method parameters in net.minecraft.client.renderer.block.model with type arguments of type MaterialModifier 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) Constructor parameters in net.minecraft.client.renderer.block.model with type arguments of type MaterialModifierConstructorDescriptionBlockModel(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
Methods in net.minecraft.client.renderer.block.model.multipart that return types with arguments of type MaterialModifier and TypeMethodDescriptionMultiPart.getMaterials(Function<ResourceLocation, UnbakedModel> p_111976_, Set<com.mojang.datafixers.util.Pair<String, String>> p_111977_) Method parameters in net.minecraft.client.renderer.block.model.multipart with type arguments of type MaterialModifier 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
Fields in net.minecraft.client.renderer.blockentity declared as MaterialModifier and TypeFieldDescriptionstatic final MaterialConduitRenderer.ACTIVE_SHELL_TEXTUREstatic final MaterialBellRenderer.BELL_RESOURCE_LOCATIONstatic final MaterialEnchantTableRenderer.BOOK_LOCATIONstatic final MaterialConduitRenderer.CLOSED_EYE_TEXTUREstatic final MaterialConduitRenderer.OPEN_EYE_TEXTUREstatic final MaterialConduitRenderer.SHELL_TEXTUREstatic final MaterialConduitRenderer.VERTICAL_WIND_TEXTUREstatic final MaterialConduitRenderer.WIND_TEXTUREMethods in net.minecraft.client.renderer.blockentity that return MaterialModifier and TypeMethodDescriptionprotected MaterialChestRenderer.getMaterial(T blockEntity, ChestType chestType) Methods in net.minecraft.client.renderer.blockentity with parameters of type MaterialModifier and TypeMethodDescriptionstatic voidBannerRenderer.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 voidBannerRenderer.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 voidBedRenderer.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
Methods in net.minecraft.client.renderer.texture with parameters of type Material -
Uses of Material in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as MaterialModifier and TypeFieldDescriptionstatic final MaterialModelBakery.BANNER_BASEstatic final MaterialModelBakery.FIRE_0static final MaterialModelBakery.FIRE_1static final MaterialModelBakery.LAVA_FLOWstatic final MaterialModelBakery.NO_PATTERN_SHIELDstatic final MaterialModelBakery.SHIELD_BASEstatic final MaterialModelBakery.WATER_FLOWstatic final MaterialModelBakery.WATER_OVERLAYFields in net.minecraft.client.resources.model with type parameters of type MaterialMethods in net.minecraft.client.resources.model that return types with arguments of type MaterialModifier and TypeMethodDescriptionUnbakedModel.getMaterials(Function<ResourceLocation, UnbakedModel> p_119538_, Set<com.mojang.datafixers.util.Pair<String, String>> p_119539_) Method parameters in net.minecraft.client.resources.model with type arguments of type MaterialModifier 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
Methods in net.minecraftforge.client that return MaterialModifier and TypeMethodDescriptionstatic MaterialForgeHooksClient.getBlockMaterial(ResourceLocation loc) Methods in net.minecraftforge.client that return types with arguments of type MaterialMethod parameters in net.minecraftforge.client with type arguments of type MaterialModifier and TypeMethodDescriptionstatic voidForgeHooksClient.gatherFluidTextures(Set<Material> textures) -
Uses of Material in net.minecraftforge.client.model
Fields in net.minecraftforge.client.model declared as MaterialFields in net.minecraftforge.client.model with type parameters of type MaterialModifier and TypeFieldDescriptionprivate @Nullable com.google.common.collect.ImmutableList<Material>ItemLayerModel.texturesMethods in net.minecraftforge.client.model that return types with arguments of type MaterialModifier 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) Method parameters in net.minecraftforge.client.model with type arguments of type MaterialModifier and TypeMethodDescriptionprotected voidElementsModel.addQuads(IGeometryBakingContext context, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation) protected voidEmptyModel.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) Constructor parameters in net.minecraftforge.client.model with type arguments of type MaterialModifierConstructorDescriptionItemLayerModel(@Nullable com.google.common.collect.ImmutableList<Material> textures, it.unimi.dsi.fastutil.ints.IntSet emissiveLayers, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation> renderTypeNames) privateItemLayerModel(@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
Fields in net.minecraftforge.client.model.geometry declared as MaterialModifier and TypeFieldDescriptionprivate static final MaterialStandaloneGeometryBakingContext.Builder.NO_MATERIALFields in net.minecraftforge.client.model.geometry with type parameters of type MaterialModifier and TypeFieldDescriptionStandaloneGeometryBakingContext.Builder.materialLookupStandaloneGeometryBakingContext.materialLookupMethods in net.minecraftforge.client.model.geometry that return MaterialModifier 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 MaterialUnbakedGeometryHelper.resolveDirtyMaterial(@Nullable String tex, IGeometryBakingContext owner) Resolves a material that may have been defined with a filesystem path instead of a properResourceLocation.Methods in net.minecraftforge.client.model.geometry that return types with arguments of type MaterialModifier 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) Methods in net.minecraftforge.client.model.geometry with parameters of type MaterialModifier and TypeMethodDescriptionStandaloneGeometryBakingContext.Builder.withMaterials(Map<String, Material> materials, Material defaultMaterial) Method parameters in net.minecraftforge.client.model.geometry with type arguments of type MaterialModifier and TypeMethodDescriptionprotected abstract voidSimpleUnbakedGeometry.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 BakedModelUnbakedGeometryHelper.bake(BlockModel blockModel, ModelBakery modelBakery, BlockModel owner, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState, ResourceLocation modelLocation, boolean guiLight3d) Helper for bakingBlockModelinstances.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 voidUnbakedGeometryHelper.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 BakedModelUnbakedGeometryHelper.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) Constructor parameters in net.minecraftforge.client.model.geometry with type arguments of type MaterialModifierConstructorDescriptionprivateStandaloneGeometryBakingContext(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
Methods in net.minecraftforge.client.model.obj that return types with arguments of type MaterialModifier 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) Method parameters in net.minecraftforge.client.model.obj with type arguments of type MaterialModifier and TypeMethodDescriptionprotected voidObjModel.addQuads(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) voidObjModel.ModelGroup.addQuads(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) voidObjModel.ModelMesh.addQuads(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform) voidObjModel.ModelObject.addQuads(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation) -
Uses of Material in net.minecraftforge.debug.block
Methods in net.minecraftforge.debug.block that return types with arguments of type MaterialModifier and TypeMethodDescriptionFullPotsAccessorDemo.ClientHandler.DioritePotModelGeometry.getMaterials(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Method parameters in net.minecraftforge.debug.block with type arguments of type MaterialModifier 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
Methods in net.minecraftforge.debug.client.model that return types with arguments of type MaterialModifier and TypeMethodDescriptionNewModelLoaderTest.TestModel.getMaterials(IGeometryBakingContext context, Function<ResourceLocation, UnbakedModel> modelGetter, Set<com.mojang.datafixers.util.Pair<String, String>> missingTextureErrors) Method parameters in net.minecraftforge.debug.client.model with type arguments of type MaterialModifier and TypeMethodDescriptionprotected voidNewModelLoaderTest.TestModel.addQuads(IGeometryBakingContext owner, IModelBuilder<?> modelBuilder, ModelBakery bakery, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelTransform, ResourceLocation modelLocation)
BlockModelis gone.