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 pMaterial) -
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 pName) static Material
Sheets.chooseMaterial
(BlockEntity pBlockEntity, ChestType pChestType, boolean pHoliday) private static Material
Sheets.chooseMaterial
(ChestType pChestType, Material pDoubleMaterial, Material pLeftMaterial, Material pRightMaterial) 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 pName) static Material
Sheets.getBannerMaterial
(Holder<BannerPattern> pPattern) static Material
Sheets.getBedMaterial
(DyeColor pColor) static Material
Sheets.getDecoratedPotMaterial
(ResourceKey<DecoratedPotPattern> pKey) static Material
Sheets.getHangingSignMaterial
(WoodType pWoodType) static Material
Sheets.getShieldMaterial
(Holder<BannerPattern> pPattern) static Material
Sheets.getShulkerBoxMaterial
(DyeColor pColor) static Material
Sheets.getSignMaterial
(WoodType pWoodType) 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 pName) 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 pName, Material pMaterial) 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 MaterialModifierConstructorDescription(package private)
TextureSlots
(Map<String, Material> pResolvedValues) -
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
The texture for the book above the enchantment table.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> pItem) protected abstract Material
AbstractSignRenderer.getSignMaterial
(WoodType pWoodType) protected Material
HangingSignRenderer.getSignMaterial
(WoodType pWoodType) protected Material
SignRenderer.getSignMaterial
(WoodType pWoodType) Methods in net.minecraft.client.renderer.blockentity with parameters of type MaterialModifier and TypeMethodDescriptionvoid
ShulkerBoxRenderer.render
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, Direction pFacing, float pProgress, Material pMaterial) void
BedRenderer.renderInHand
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, Material pMaterial) static void
HangingSignRenderer.renderInHand
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, Model pModel, Material pMaterial) static void
SignRenderer.renderInHand
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, Model pModel, Material pMaterial) private static void
BannerRenderer.renderPatternLayer
(PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pMaterial, DyeColor pColor) static void
BannerRenderer.renderPatterns
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pFlagMaterial, boolean pBanner, DyeColor pBaseColor, BannerPatternLayers pPatterns) static void
BannerRenderer.renderPatterns
(PoseStack pPoseStack, MultiBufferSource pBufferSource, int pPackedLight, int pPackedOverlay, ModelPart pFlagPart, Material pFlagMaterial, boolean pBanner, DyeColor pBaseColor, BannerPatternLayers pPatterns, boolean pWithGlint, boolean pNoEntity) private void
BedRenderer.renderPiece
(PoseStack pPoseStack, MultiBufferSource pBufferSource, Model pModel, Direction pDirection, Material pMaterial, int pPackedLight, int pPackedOverlay, boolean pIsFeet) private void
DecoratedPotRenderer.renderSide
(ModelPart pModelPart, PoseStack pPoseStack, MultiBufferSource pBuffer, int pPackedLight, int pPackedOverlay, Material pMaterial) -
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 pBedRenderer, Material pMaterial) ChestSpecialRenderer
(ChestModel pModel, Material pMaterial, float pOpenness) HangingSignSpecialRenderer
(Model pModel, Material pMaterial) ShulkerBoxSpecialRenderer
(ShulkerBoxRenderer pShulkerBoxRenderer, float pOpenness, Direction pOrientation, Material pMaterial) StandingSignSpecialRenderer
(Model pModel, Material pMaterial) -
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 MaterialModifier and TypeMethodDescriptionSpriteGetter.get
(Material pMaterial, ModelDebugName pDebugName) -
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.