Uses of Record Class
net.minecraft.client.resources.model.sprite.Material
Packages that use Material
Package
Description
-
Uses of Material in net.minecraft.client.data.models
Methods in net.minecraft.client.data.models with parameters of type MaterialModifier and TypeMethodDescriptionvoidBlockModelGenerators.createAirLikeBlock(Block block, Material particle) ItemModelGenerators.generateLayeredItem(Identifier target, Material layer0, Material layer1) voidItemModelGenerators.generateLayeredItem(Identifier target, Material layer0, Material layer1, Material layer2) ItemModelGenerators.generateLayeredItem(Item target, Material layer0, Material layer1) Method parameters in net.minecraft.client.data.models with type arguments of type MaterialModifier and TypeMethodDescriptionBlockModelGenerators.createSuffixedVariant(Block block, String suffix, ModelTemplate template, Function<Material, TextureMapping> textureMapping) -
Uses of Material in net.minecraft.client.data.models.model
Fields in net.minecraft.client.data.models.model with type parameters of type MaterialMethods in net.minecraft.client.data.models.model that return MaterialModifier and TypeMethodDescriptionTextureMapping.get(TextureSlot slot) static MaterialTextureMapping.getBlockTexture(Block block) static MaterialTextureMapping.getBlockTexture(Block block, String suffix) static MaterialTextureMapping.getItemTexture(Item block) static MaterialTextureMapping.getItemTexture(Item item, String suffix) Methods in net.minecraft.client.data.models.model that return types with arguments of type MaterialModifier and TypeMethodDescriptionprivate Map<TextureSlot, Material> ModelTemplate.createMap(TextureMapping mapping) Methods in net.minecraft.client.data.models.model with parameters of type MaterialModifier and TypeMethodDescriptionstatic TextureMappingstatic TextureMappingTextureMapping.copyAndUpdate(TextureSlot slot, Material material) static TexturedModelTexturedModel.createAllSame(Material material) static TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingTextureMapping.defaultTexture(Material texture) static TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingstatic TextureMappingTextureMapping.put(TextureSlot slot, Material material) TextureMapping.putForced(TextureSlot slot, Material material) static TextureMappingstatic TextureMappingTextureMapping.singleSlot(TextureSlot slot, Material id) static TextureMappingstatic TextureMappingMethod parameters in net.minecraft.client.data.models.model with type arguments of type MaterialModifier and TypeMethodDescriptioncom.google.gson.JsonObjectModelTemplate.createBaseTemplate(Identifier target, Map<TextureSlot, Material> slots) TextureMapping.updateSlots(BiFunction<TextureSlot, Material, Material> mapper) TextureMapping.updateSlots(BiFunction<TextureSlot, Material, Material> mapper) -
Uses of Material in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as MaterialModifier and TypeFieldDescriptionprivate final MaterialFluidModel.Unbaked.flowingMaterialThe field for theflowingMaterialrecord component.private final @Nullable MaterialFluidModel.Unbaked.overlayMaterialThe field for theoverlayMaterialrecord component.private final MaterialFluidModel.Unbaked.stillMaterialThe field for thestillMaterialrecord component.Methods in net.minecraft.client.renderer.block that return MaterialModifier and TypeMethodDescriptionFluidModel.Unbaked.flowingMaterial()Returns the value of theflowingMaterialrecord component.@Nullable MaterialFluidModel.Unbaked.overlayMaterial()Returns the value of theoverlayMaterialrecord component.FluidModel.Unbaked.stillMaterial()Returns the value of thestillMaterialrecord component.Constructors in net.minecraft.client.renderer.block with parameters of type MaterialModifierConstructorDescriptionUnbaked(Material stillMaterial, Material flowingMaterial, @Nullable Material overlayMaterial, @Nullable BlockTintSource tintSource) Deprecated.Unbaked(Material stillMaterial, Material flowingMaterial, @Nullable Material overlayMaterial, @Nullable FluidTintSource fluidTintSource) Unbaked(Material stillMaterial, Material flowingMaterial, @Nullable Material overlayMaterial, @Nullable FluidTintSource fluidTintSource, @Nullable CustomFluidRenderer customRenderer) Creates an instance of aUnbakedrecord class. -
Uses of Material in net.minecraft.client.resources.model.sprite
Fields in net.minecraft.client.resources.model.sprite declared as MaterialModifier and TypeFieldDescriptionprivate final MaterialTextureSlots.Value.materialThe field for thematerialrecord component.Fields in net.minecraft.client.resources.model.sprite with type parameters of type MaterialModifier and TypeFieldDescriptionMaterial.CODECMaterial.FULL_CODECTextureSlots.resolvedValuesMaterial.SIMPLE_CODECMethods in net.minecraft.client.resources.model.sprite that return MaterialModifier and TypeMethodDescription@Nullable MaterialTextureSlots.getMaterial(String reference) TextureSlots.Value.material()Returns the value of thematerialrecord component.Material.withForceTranslucent(boolean forceTranslucent) Methods in net.minecraft.client.resources.model.sprite with parameters of type MaterialModifier and TypeMethodDescriptionTextureSlots.Data.Builder.addTexture(String slot, Material material) MaterialBaker.get(Material material, ModelDebugName name) Constructors in net.minecraft.client.resources.model.sprite with parameters of type MaterialModifierConstructorDescriptionprivateCreates an instance of aValuerecord class.Constructor parameters in net.minecraft.client.resources.model.sprite with type arguments of type Material -
Uses of Material in net.neoforged.neoforge.client.model.generators.template
Method parameters in net.neoforged.neoforge.client.model.generators.template with type arguments of type MaterialModifier and TypeMethodDescriptioncom.google.gson.JsonObjectExtendedModelTemplate.createBaseTemplate(Identifier modelPath, Map<TextureSlot, Material> textureMap) -
Uses of Material in net.neoforged.neoforge.client.model.item
Fields in net.neoforged.neoforge.client.model.item with type parameters of type MaterialModifier and TypeFieldDescriptionDynamicFluidContainerModel.Textures.baseThe field for thebaserecord component.DynamicFluidContainerModel.Textures.coverThe field for thecoverrecord component.DynamicFluidContainerModel.Textures.fluidThe field for thefluidrecord component.DynamicFluidContainerModel.Textures.particleThe field for theparticlerecord component.Methods in net.neoforged.neoforge.client.model.item that return types with arguments of type MaterialModifier and TypeMethodDescriptionDynamicFluidContainerModel.Textures.base()Returns the value of thebaserecord component.DynamicFluidContainerModel.Textures.cover()Returns the value of thecoverrecord component.DynamicFluidContainerModel.Textures.fluid()Returns the value of thefluidrecord component.DynamicFluidContainerModel.Textures.particle()Returns the value of theparticlerecord component.Constructor parameters in net.neoforged.neoforge.client.model.item with type arguments of type Material
Unbaked(Material, Material, Material, net.neoforged.neoforge.client.fluid.FluidTintSource)instead