Uses of Record Class
net.minecraft.client.renderer.block.model.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 TypeMethodDescriptionModelTemplate.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.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 MaterialModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Material> Material.CODECprivate static final com.mojang.serialization.Codec<Material> Material.FULL_CODECTextureSlots.resolvedValuesprivate static final com.mojang.serialization.Codec<Material> Material.SIMPLE_CODECMethods in net.minecraft.client.renderer.block.model 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.renderer.block.model with parameters of type MaterialModifier and TypeMethodDescriptionTextureSlots.Data.Builder.addTexture(String slot, Material material) Constructors in net.minecraft.client.renderer.block.model with parameters of type MaterialModifierConstructorDescriptionprivateCreates an instance of aValuerecord class.Constructor parameters in net.minecraft.client.renderer.block.model with type arguments of type Material -
Uses of Material in net.minecraft.client.resources.model
Methods in net.minecraft.client.resources.model with parameters 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 TypeMethodDescriptionExtendedModelTemplate.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