Uses of Class
net.minecraft.client.resources.model.Material
Packages that use Material
Package
Description
Events fired only on the client-side, chiefly related to rendering and user interfaces (screens and input).
-
Uses of Material in net.minecraft.client.data
Methods in net.minecraft.client.data with parameters of type MaterialModifier and TypeMethodDescriptionprivate static SpriteSource
AtlasProvider.forMaterial
(Material p_399538_) -
Uses of Material in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as MaterialModifier and TypeFieldDescriptionstatic final Material
Sheets.BANNER_BASE
private static 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
Sheets.DECORATED_POT_BASE
static final Material
Sheets.DECORATED_POT_SIDE
static final Material
static final Material
Sheets.ENDER_CHEST_LOCATION
static final Material
Sheets.SHIELD_BASE
Fields in net.minecraft.client.renderer with type parameters of type MaterialModifier and TypeFieldDescriptionprivate static final Map
<ResourceLocation, Material> Sheets.BANNER_MATERIALS
static final Map
<ResourceKey<DecoratedPotPattern>, Material> Sheets.DECORATED_POT_MATERIALS
Sheets.HANGING_SIGN_MATERIALS
private static final Map
<ResourceLocation, Material> Sheets.SHIELD_MATERIALS
Sheets.SHULKER_TEXTURE_LOCATION
Sheets.SIGN_MATERIALS
Methods in net.minecraft.client.renderer that return MaterialModifier and TypeMethodDescriptionMaterialMapper.apply
(ResourceLocation p_399646_) 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_) static Material
Sheets.createBedMaterial
(DyeColor p_387329_) private static Material
Sheets.createHangingSignMaterial
(WoodType p_251735_) static Material
Sheets.createShulkerMaterial
(DyeColor p_388587_) private static Material
Sheets.createSignMaterial
(WoodType p_173386_) MaterialMapper.defaultNamespaceApply
(String p_400080_) static Material
Sheets.getBannerMaterial
(Holder<BannerPattern> p_332774_) static Material
Sheets.getBedMaterial
(DyeColor p_387653_) static Material
Sheets.getDecoratedPotMaterial
(ResourceKey<DecoratedPotPattern> p_273567_) static Material
Sheets.getHangingSignMaterial
(WoodType p_250958_) static Material
Sheets.getShieldMaterial
(Holder<BannerPattern> p_332760_) static Material
Sheets.getShulkerBoxMaterial
(DyeColor p_387352_) static Material
Sheets.getSignMaterial
(WoodType p_173382_) Methods in net.minecraft.client.renderer with parameters of type Material -
Uses of Material in net.minecraft.client.renderer.block.model
Fields in net.minecraft.client.renderer.block.model declared as MaterialModifier and TypeFieldDescriptionprivate final Material
TextureSlots.Value.material
The field for thematerial
record component.Fields in net.minecraft.client.renderer.block.model with type parameters of type MaterialMethods in net.minecraft.client.renderer.block.model that return MaterialModifier and TypeMethodDescriptionTextureSlots.getMaterial
(String p_387889_) TextureSlots.Value.material()
Returns the value of thematerial
record component.Methods in net.minecraft.client.renderer.block.model with parameters of type MaterialModifier and TypeMethodDescriptionTextureSlots.Data.Builder.addTexture
(String p_388884_, Material p_387399_) Constructors in net.minecraft.client.renderer.block.model with parameters of type MaterialModifierConstructorDescription(package private)
Creates an instance of aValue
record class.Constructor parameters in net.minecraft.client.renderer.block.model with type arguments of type Material -
Uses of Material in net.minecraft.client.renderer.blockentity
Fields in net.minecraft.client.renderer.blockentity declared as MaterialModifier 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
Methods in net.minecraft.client.renderer.blockentity that return MaterialModifier and TypeMethodDescriptionprotected Material
ChestRenderer.getMaterial
(T blockEntity, ChestType chestType) private static Material
DecoratedPotRenderer.getSideMaterial
(Optional<Item> p_347523_) protected abstract Material
AbstractSignRenderer.getSignMaterial
(WoodType p_389677_) protected Material
HangingSignRenderer.getSignMaterial
(WoodType p_251791_) protected Material
SignRenderer.getSignMaterial
(WoodType p_251961_) Methods in net.minecraft.client.renderer.blockentity with parameters of type MaterialModifier and TypeMethodDescriptionvoid
ShulkerBoxRenderer.render
(PoseStack p_388735_, MultiBufferSource p_386677_, int p_388822_, int p_386683_, Direction p_387528_, float p_387342_, Material p_387103_) void
BedRenderer.renderInHand
(PoseStack p_388130_, MultiBufferSource p_388011_, int p_386978_, int p_388446_, Material p_388516_) static void
HangingSignRenderer.renderInHand
(PoseStack p_389446_, MultiBufferSource p_389729_, int p_389488_, int p_389717_, Model p_389611_, Material p_389587_) static void
SignRenderer.renderInHand
(PoseStack p_389553_, MultiBufferSource p_389643_, int p_389568_, int p_389710_, Model p_389561_, Material p_389713_) private static void
BannerRenderer.renderPatternLayer
(PoseStack p_332737_, MultiBufferSource p_332758_, int p_332821_, int p_332828_, ModelPart p_332732_, Material p_332704_, DyeColor p_332728_) static void
BannerRenderer.renderPatterns
(PoseStack p_112066_, MultiBufferSource p_112067_, int p_112068_, int p_112069_, ModelPart p_112070_, Material p_112071_, boolean p_112072_, DyeColor p_332660_, BannerPatternLayers p_330986_) 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_, DyeColor p_332652_, BannerPatternLayers p_331851_, boolean p_332823_, boolean p_364162_) private void
BedRenderer.renderPiece
(PoseStack p_173542_, MultiBufferSource p_173543_, Model p_363684_, 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.renderer.special
Fields in net.minecraft.client.renderer.special declared as MaterialModifier and TypeFieldDescriptionprivate final Material
BedSpecialRenderer.material
private final Material
ChestSpecialRenderer.material
private final Material
HangingSignSpecialRenderer.material
private final Material
ShulkerBoxSpecialRenderer.material
private final Material
StandingSignSpecialRenderer.material
Constructors in net.minecraft.client.renderer.special with parameters of type MaterialModifierConstructorDescriptionBedSpecialRenderer
(BedRenderer p_386864_, Material p_388920_) ChestSpecialRenderer
(ChestModel p_386863_, Material p_388350_, float p_386750_) HangingSignSpecialRenderer
(Model p_389506_, Material p_389504_) ShulkerBoxSpecialRenderer
(ShulkerBoxRenderer p_387519_, float p_387173_, Direction p_388269_, Material p_387242_) StandingSignSpecialRenderer
(Model p_389670_, Material p_389667_) -
Uses of Material in net.minecraft.client.resources.model
Fields in net.minecraft.client.resources.model declared as MaterialModifier 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
Fields in net.minecraft.client.resources.model with type parameters of type MaterialMethods in net.minecraft.client.resources.model with parameters of type Material -
Uses of Material in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return MaterialModifier and TypeMethodDescriptionstatic Material
ClientHooks.getBlockMaterial
(ResourceLocation loc) -
Uses of Material in net.neoforged.neoforge.client.event
Fields in net.neoforged.neoforge.client.event with type parameters of type MaterialModifier and TypeFieldDescriptionprivate final Function
<Material, TextureAtlasSprite> ModelEvent.ModifyBakingResult.textureGetter
Methods in net.neoforged.neoforge.client.event that return types with arguments of type MaterialModifier and TypeMethodDescriptionModelEvent.ModifyBakingResult.getTextureGetter()
Returns a lookup function to retrieveTextureAtlasSprite
s by name from any of the atlases handled by theModelManager
.Constructor parameters in net.neoforged.neoforge.client.event with type arguments of type MaterialModifierConstructorDescriptionModifyBakingResult
(ModelBakery.BakingResult bakingResult, Function<Material, TextureAtlasSprite> textureGetter, ModelBakery modelBakery) -
Uses of Material in net.neoforged.neoforge.client.model
Method parameters in net.neoforged.neoforge.client.model with type arguments of type MaterialModifier and TypeMethodDescriptionUnbakedElementsHelper.bakeElements
(List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and returns the list of baked quads.static void
UnbakedElementsHelper.bakeElements
(QuadCollection.Builder builder, List<BlockElement> elements, Function<Material, TextureAtlasSprite> spriteGetter, ModelState modelState) Bakes a list of block elements and feeds the baked quads to a quad collection builder.