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 SpriteSourceAtlasProvider.forMaterial(Material material) -
Uses of Material in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as MaterialModifier and TypeFieldDescriptionstatic final MaterialSheets.BANNER_BASEprivate static 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 MaterialSheets.DECORATED_POT_BASEstatic final MaterialSheets.DECORATED_POT_SIDEstatic final Materialstatic final MaterialSheets.ENDER_CHEST_LOCATIONstatic final MaterialSheets.SHIELD_BASEFields in net.minecraft.client.renderer with type parameters of type MaterialModifier and TypeFieldDescriptionprivate static final Map<ResourceLocation, Material> Sheets.BANNER_MATERIALSstatic final Map<ResourceKey<DecoratedPotPattern>, Material> Sheets.DECORATED_POT_MATERIALSSheets.HANGING_SIGN_MATERIALSprivate static final Map<ResourceLocation, Material> Sheets.SHIELD_MATERIALSSheets.SHULKER_TEXTURE_LOCATIONSheets.SIGN_MATERIALSMethods in net.minecraft.client.renderer that return MaterialModifier and TypeMethodDescriptionMaterialMapper.apply(ResourceLocation name) static MaterialSheets.chooseMaterial(BlockEntity blockEntity, ChestType chestType, boolean holiday) private static MaterialSheets.chooseMaterial(ChestType chestType, Material doubleMaterial, Material leftMaterial, Material rightMaterial) static MaterialSheets.createBedMaterial(DyeColor color) private static MaterialSheets.createHangingSignMaterial(WoodType woodType) static MaterialSheets.createShulkerMaterial(DyeColor color) private static MaterialSheets.createSignMaterial(WoodType woodType) MaterialMapper.defaultNamespaceApply(String name) static MaterialSheets.getBannerMaterial(Holder<BannerPattern> pattern) static MaterialSheets.getBedMaterial(DyeColor color) static MaterialSheets.getDecoratedPotMaterial(ResourceKey<DecoratedPotPattern> key) static MaterialSheets.getHangingSignMaterial(WoodType woodType) static MaterialSheets.getShieldMaterial(Holder<BannerPattern> pattern) static MaterialSheets.getShulkerBoxMaterial(DyeColor color) static MaterialSheets.getSignMaterial(WoodType woodType) 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 MaterialTextureSlots.Value.materialThe field for thematerialrecord 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 name) TextureSlots.Value.material()Returns the value of thematerialrecord component.Methods in net.minecraft.client.renderer.block.model with parameters of type MaterialModifier and TypeMethodDescriptionTextureSlots.Data.Builder.addTexture(String name, Material material) Constructors in net.minecraft.client.renderer.block.model with parameters of type MaterialModifierConstructorDescription(package private)Creates an instance of aValuerecord class.Constructor parameters in net.minecraft.client.renderer.block.model with type arguments of type MaterialModifierConstructorDescription(package private)TextureSlots(Map<String, Material> resolvedValues) -
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_LOCATIONThe texture for the book above the enchantment table.static 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) private static MaterialDecoratedPotRenderer.getSideMaterial(Optional<Item> item) protected abstract MaterialAbstractSignRenderer.getSignMaterial(WoodType woodType) protected MaterialHangingSignRenderer.getSignMaterial(WoodType p_251791_) protected MaterialSignRenderer.getSignMaterial(WoodType woodType) Methods in net.minecraft.client.renderer.blockentity with parameters of type MaterialModifier and TypeMethodDescriptionvoidShulkerBoxRenderer.render(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, Direction facing, float progress, Material material) voidBedRenderer.renderInHand(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, Material material) static voidHangingSignRenderer.renderInHand(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, Model model, Material material) static voidSignRenderer.renderInHand(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, Model model, Material material) private static voidBannerRenderer.renderPatternLayer(PoseStack poseStack, MultiBufferSource buffer, int packedLight, int packedOverlay, ModelPart flagPart, Material material, DyeColor color) static voidBannerRenderer.renderPatterns(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, ModelPart flagPart, Material flagMaterial, boolean banner, DyeColor baseColor, BannerPatternLayers patterns) static voidBannerRenderer.renderPatterns(PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay, ModelPart flagPart, Material flagMaterial, boolean banner, DyeColor baseColor, BannerPatternLayers patterns, boolean withGlint, boolean noEntity) private voidBedRenderer.renderPiece(PoseStack poseStack, MultiBufferSource bufferSource, Model model, Direction direction, Material material, int packedLight, int packedOverlay, boolean isFeet) private voidDecoratedPotRenderer.renderSide(ModelPart modelPart, PoseStack poseStack, MultiBufferSource buffer, int packedLight, int packedOverlay, Material material) -
Uses of Material in net.minecraft.client.renderer.special
Fields in net.minecraft.client.renderer.special declared as MaterialModifier and TypeFieldDescriptionprivate final MaterialBedSpecialRenderer.materialprivate final MaterialChestSpecialRenderer.materialprivate final MaterialHangingSignSpecialRenderer.materialprivate final MaterialShulkerBoxSpecialRenderer.materialprivate final MaterialStandingSignSpecialRenderer.materialConstructors in net.minecraft.client.renderer.special with parameters of type MaterialModifierConstructorDescriptionBedSpecialRenderer(BedRenderer bedRenderer, Material material) ChestSpecialRenderer(ChestModel model, Material material, float openness) HangingSignSpecialRenderer(Model model, Material material) ShulkerBoxSpecialRenderer(ShulkerBoxRenderer shulkerBoxRenderer, float openness, Direction orientation, Material material) StandingSignSpecialRenderer(Model model, Material 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 with parameters of type Material -
Uses of Material in net.neoforged.neoforge.client
Methods in net.neoforged.neoforge.client that return MaterialModifier and TypeMethodDescriptionstatic MaterialClientHooks.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.textureGetterMethods in net.neoforged.neoforge.client.event that return types with arguments of type MaterialModifier and TypeMethodDescriptionModelEvent.ModifyBakingResult.getTextureGetter()Returns a lookup function to retrieveTextureAtlasSprites 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 voidUnbakedElementsHelper.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.