Uses of Record Class
net.minecraft.world.item.equipment.trim.TrimMaterial
Packages that use TrimMaterial
Package
Description
-
Uses of TrimMaterial in net.minecraft.client.data.models
Fields in net.minecraft.client.data.models with type parameters of type TrimMaterialModifier and TypeFieldDescriptionprivate final ResourceKey
<TrimMaterial> ItemModelGenerators.TrimMaterialData.materialKey
The field for thematerialKey
record component.Methods in net.minecraft.client.data.models that return types with arguments of type TrimMaterialModifier and TypeMethodDescriptionItemModelGenerators.TrimMaterialData.materialKey()
Returns the value of thematerialKey
record component.Constructor parameters in net.minecraft.client.data.models with type arguments of type TrimMaterialModifierConstructorDescriptionTrimMaterialData
(MaterialAssetGroup assets, ResourceKey<TrimMaterial> materialKey) Creates an instance of aTrimMaterialData
record class. -
Uses of TrimMaterial in net.minecraft.client.renderer.item.properties.select
Fields in net.minecraft.client.renderer.item.properties.select with type parameters of type TrimMaterialModifier and TypeFieldDescriptionstatic final SelectItemModelProperty.Type
<TrimMaterialProperty, ResourceKey<TrimMaterial>> TrimMaterialProperty.TYPE
static final com.mojang.serialization.Codec
<ResourceKey<TrimMaterial>> TrimMaterialProperty.VALUE_CODEC
Methods in net.minecraft.client.renderer.item.properties.select that return types with arguments of type TrimMaterialModifier and TypeMethodDescriptionTrimMaterialProperty.get
(ItemStack p_387701_, ClientLevel p_388261_, LivingEntity p_387373_, int p_388817_, ItemDisplayContext p_386970_) TrimMaterialProperty.type()
com.mojang.serialization.Codec
<ResourceKey<TrimMaterial>> TrimMaterialProperty.valueCodec()
-
Uses of TrimMaterial in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates with type parameters of type TrimMaterialModifier and TypeFieldDescriptionprivate final Optional
<HolderSet<TrimMaterial>> TrimPredicate.material
The field for thematerial
record component.Methods in net.minecraft.core.component.predicates that return types with arguments of type TrimMaterialModifier and TypeMethodDescriptionTrimPredicate.material()
Returns the value of thematerial
record component.Constructor parameters in net.minecraft.core.component.predicates with type arguments of type TrimMaterialModifierConstructorDescriptionTrimPredicate
(Optional<HolderSet<TrimMaterial>> material, Optional<HolderSet<TrimPattern>> pattern) Creates an instance of aTrimPredicate
record class. -
Uses of TrimMaterial in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type TrimMaterialModifier and TypeFieldDescriptionstatic final ResourceKey
<Registry<TrimMaterial>> Registries.TRIM_MATERIAL
-
Uses of TrimMaterial in net.minecraft.server.commands
Fields in net.minecraft.server.commands with type parameters of type TrimMaterialModifier and TypeFieldDescriptionprivate static final ToIntFunction
<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.TRIM_MATERIAL_ORDER
private static final List
<ResourceKey<TrimMaterial>> SpawnArmorTrimsCommand.VANILLA_TRIM_MATERIALS
-
Uses of TrimMaterial in net.minecraft.world.item
Method parameters in net.minecraft.world.item with type arguments of type TrimMaterialModifier and TypeMethodDescriptionItem.Properties.trimMaterial
(ResourceKey<TrimMaterial> p_400136_) -
Uses of TrimMaterial in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type TrimMaterialModifier and TypeFieldDescriptionprivate final EitherHolder
<TrimMaterial> ProvidesTrimMaterial.material
The field for thematerial
record component.Methods in net.minecraft.world.item.component that return types with arguments of type TrimMaterialModifier and TypeMethodDescriptionProvidesTrimMaterial.material()
Returns the value of thematerial
record component.ProvidesTrimMaterial.unwrap
(HolderLookup.Provider p_399544_) Constructor parameters in net.minecraft.world.item.component with type arguments of type TrimMaterialModifierConstructorDescriptionProvidesTrimMaterial
(Holder<TrimMaterial> p_400173_) ProvidesTrimMaterial
(ResourceKey<TrimMaterial> p_399658_) Deprecated.ProvidesTrimMaterial
(EitherHolder<TrimMaterial> material) Creates an instance of aProvidesTrimMaterial
record class. -
Uses of TrimMaterial in net.minecraft.world.item.equipment.trim
Fields in net.minecraft.world.item.equipment.trim with type parameters of type TrimMaterialModifier and TypeFieldDescriptionstatic final ResourceKey
<TrimMaterial> TrimMaterials.AMETHYST
static final com.mojang.serialization.Codec
<Holder<TrimMaterial>> TrimMaterial.CODEC
static final ResourceKey
<TrimMaterial> TrimMaterials.COPPER
static final ResourceKey
<TrimMaterial> TrimMaterials.DIAMOND
static final com.mojang.serialization.Codec
<TrimMaterial> TrimMaterial.DIRECT_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, TrimMaterial> TrimMaterial.DIRECT_STREAM_CODEC
static final ResourceKey
<TrimMaterial> TrimMaterials.EMERALD
static final ResourceKey
<TrimMaterial> TrimMaterials.GOLD
static final ResourceKey
<TrimMaterial> TrimMaterials.IRON
static final ResourceKey
<TrimMaterial> TrimMaterials.LAPIS
private final Holder
<TrimMaterial> ArmorTrim.material
The field for thematerial
record component.static final ResourceKey
<TrimMaterial> TrimMaterials.NETHERITE
static final ResourceKey
<TrimMaterial> TrimMaterials.QUARTZ
static final ResourceKey
<TrimMaterial> TrimMaterials.REDSTONE
static final ResourceKey
<TrimMaterial> TrimMaterials.RESIN
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<TrimMaterial>> TrimMaterial.STREAM_CODEC
Methods in net.minecraft.world.item.equipment.trim that return types with arguments of type TrimMaterialModifier and TypeMethodDescriptionstatic Optional
<Holder<TrimMaterial>> TrimMaterials.getFromIngredient
(HolderLookup.Provider p_371665_, ItemStack p_371700_) ArmorTrim.material()
Returns the value of thematerial
record component.private static ResourceKey
<TrimMaterial> TrimMaterials.registryKey
(String p_371483_) Method parameters in net.minecraft.world.item.equipment.trim with type arguments of type TrimMaterialModifier and TypeMethodDescriptionstatic void
TrimMaterials.bootstrap
(BootstrapContext<TrimMaterial> p_371627_) TrimPattern.copyWithStyle
(Holder<TrimMaterial> p_371533_) private static void
TrimMaterials.register
(BootstrapContext<TrimMaterial> p_371763_, ResourceKey<TrimMaterial> p_371867_, Style p_371730_, MaterialAssetGroup p_399962_) private static void
TrimMaterials.register
(BootstrapContext<TrimMaterial> p_371763_, ResourceKey<TrimMaterial> p_371867_, Style p_371730_, MaterialAssetGroup p_399962_) Constructor parameters in net.minecraft.world.item.equipment.trim with type arguments of type TrimMaterialModifierConstructorDescriptionArmorTrim
(Holder<TrimMaterial> material, Holder<TrimPattern> pattern) Creates an instance of aArmorTrim
record class.