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.materialKeyThe field for thematerialKeyrecord component.Methods in net.minecraft.client.data.models that return types with arguments of type TrimMaterialModifier and TypeMethodDescriptionItemModelGenerators.TrimMaterialData.materialKey()Returns the value of thematerialKeyrecord component.Constructor parameters in net.minecraft.client.data.models with type arguments of type TrimMaterialModifierConstructorDescriptionTrimMaterialData(MaterialAssetGroup assets, ResourceKey<TrimMaterial> materialKey) Creates an instance of aTrimMaterialDatarecord 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.TYPEstatic final com.mojang.serialization.Codec<ResourceKey<TrimMaterial>> TrimMaterialProperty.VALUE_CODECMethods 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.materialThe field for thematerialrecord component.Methods in net.minecraft.core.component.predicates that return types with arguments of type TrimMaterialModifier and TypeMethodDescriptionTrimPredicate.material()Returns the value of thematerialrecord 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 aTrimPredicaterecord 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_ORDERprivate 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> pTrimMaterial) -
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.materialThe field for thematerialrecord component.Methods in net.minecraft.world.item.component that return types with arguments of type TrimMaterialModifier and TypeMethodDescriptionProvidesTrimMaterial.material()Returns the value of thematerialrecord component.ProvidesTrimMaterial.unwrap(HolderLookup.Provider pRegistries) 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 aProvidesTrimMaterialrecord 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.AMETHYSTstatic final com.mojang.serialization.Codec<Holder<TrimMaterial>> TrimMaterial.CODECstatic final ResourceKey<TrimMaterial> TrimMaterials.COPPERstatic final ResourceKey<TrimMaterial> TrimMaterials.DIAMONDstatic final com.mojang.serialization.Codec<TrimMaterial> TrimMaterial.DIRECT_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, TrimMaterial> TrimMaterial.DIRECT_STREAM_CODECstatic final ResourceKey<TrimMaterial> TrimMaterials.EMERALDstatic final ResourceKey<TrimMaterial> TrimMaterials.GOLDstatic final ResourceKey<TrimMaterial> TrimMaterials.IRONstatic final ResourceKey<TrimMaterial> TrimMaterials.LAPISprivate final Holder<TrimMaterial> ArmorTrim.materialThe field for thematerialrecord component.static final ResourceKey<TrimMaterial> TrimMaterials.NETHERITEstatic final ResourceKey<TrimMaterial> TrimMaterials.QUARTZstatic final ResourceKey<TrimMaterial> TrimMaterials.REDSTONEstatic final ResourceKey<TrimMaterial> TrimMaterials.RESINstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimMaterial>> TrimMaterial.STREAM_CODECMethods in net.minecraft.world.item.equipment.trim that return types with arguments of type TrimMaterialModifier and TypeMethodDescriptionstatic Optional<Holder<TrimMaterial>> TrimMaterials.getFromIngredient(HolderLookup.Provider pRegistries, ItemStack pIngredient) ArmorTrim.material()Returns the value of thematerialrecord component.private static ResourceKey<TrimMaterial> TrimMaterials.registryKey(String pName) Method parameters in net.minecraft.world.item.equipment.trim with type arguments of type TrimMaterialModifier and TypeMethodDescriptionstatic voidTrimMaterials.bootstrap(BootstrapContext<TrimMaterial> pContext) TrimPattern.copyWithStyle(Holder<TrimMaterial> pMaterial) private static voidTrimMaterials.register(BootstrapContext<TrimMaterial> pContext, ResourceKey<TrimMaterial> pKey, Style pStyle, MaterialAssetGroup pAssets) private static voidTrimMaterials.register(BootstrapContext<TrimMaterial> pContext, ResourceKey<TrimMaterial> pKey, Style pStyle, MaterialAssetGroup pAssets) 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 aArmorTrimrecord class.