Uses of Record Class
net.minecraft.item.equipment.trim.ArmorTrimMaterial
Package
Description
-
Uses of ArmorTrimMaterial in net.minecraft.item.equipment.trim
Modifier and TypeFieldDescriptionstatic final RegistryKey
<ArmorTrimMaterial> ArmorTrimMaterials.AMETHYST
static final com.mojang.serialization.Codec
<ArmorTrimMaterial> ArmorTrimMaterial.CODEC
static final RegistryKey
<ArmorTrimMaterial> ArmorTrimMaterials.COPPER
static final RegistryKey
<ArmorTrimMaterial> ArmorTrimMaterials.DIAMOND
static final RegistryKey
<ArmorTrimMaterial> ArmorTrimMaterials.EMERALD
static final com.mojang.serialization.Codec
<RegistryEntry<ArmorTrimMaterial>> ArmorTrimMaterial.ENTRY_CODEC
static final PacketCodec
<RegistryByteBuf, RegistryEntry<ArmorTrimMaterial>> ArmorTrimMaterial.ENTRY_PACKET_CODEC
static final RegistryKey
<ArmorTrimMaterial> ArmorTrimMaterials.GOLD
static final RegistryKey
<ArmorTrimMaterial> ArmorTrimMaterials.IRON
static final RegistryKey
<ArmorTrimMaterial> ArmorTrimMaterials.LAPIS
private final RegistryEntry
<ArmorTrimMaterial> ArmorTrim.material
The field for thematerial
record component.static final RegistryKey
<ArmorTrimMaterial> ArmorTrimMaterials.NETHERITE
static final PacketCodec
<RegistryByteBuf, ArmorTrimMaterial> ArmorTrimMaterial.PACKET_CODEC
static final RegistryKey
<ArmorTrimMaterial> ArmorTrimMaterials.QUARTZ
static final RegistryKey
<ArmorTrimMaterial> ArmorTrimMaterials.REDSTONE
Modifier and TypeMethodDescriptionstatic ArmorTrimMaterial
ArmorTrimMaterial.of
(String assetName, Item ingredient, float itemModelIndex, Text description, Map<Identifier, String> overrideArmorMaterials) Modifier and TypeMethodDescriptionArmorTrimMaterials.get
(RegistryWrapper.WrapperLookup registries, ItemStack stack) ArmorTrim.material()
Returns the value of thematerial
record component.private static RegistryKey
<ArmorTrimMaterial> Modifier and TypeMethodDescriptionstatic void
ArmorTrimMaterials.bootstrap
(Registerable<ArmorTrimMaterial> registry) ArmorTrimPattern.getDescription
(RegistryEntry<ArmorTrimMaterial> material) private static String
ArmorTrim.getMaterialAssetNameFor
(RegistryEntry<ArmorTrimMaterial> material, Identifier modelId) private static void
ArmorTrimMaterials.register
(Registerable<ArmorTrimMaterial> registry, RegistryKey<ArmorTrimMaterial> key, Item ingredient, Style style, float itemModelIndex) private static void
ArmorTrimMaterials.register
(Registerable<ArmorTrimMaterial> registry, RegistryKey<ArmorTrimMaterial> key, Item ingredient, Style style, float itemModelIndex) private static void
ArmorTrimMaterials.register
(Registerable<ArmorTrimMaterial> registry, RegistryKey<ArmorTrimMaterial> key, Item ingredient, Style style, float itemModelIndex, Map<Identifier, String> overrideArmorMaterials) private static void
ArmorTrimMaterials.register
(Registerable<ArmorTrimMaterial> registry, RegistryKey<ArmorTrimMaterial> key, Item ingredient, Style style, float itemModelIndex, Map<Identifier, String> overrideArmorMaterials) ModifierConstructorDescriptionArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern) ArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip) Creates an instance of aArmorTrim
record class. -
Uses of ArmorTrimMaterial in net.minecraft.predicate.item
Modifier and TypeFieldDescriptionprivate final Optional
<RegistryEntryList<ArmorTrimMaterial>> TrimPredicate.material
The field for thematerial
record component.Modifier and TypeMethodDescriptionTrimPredicate.material()
Returns the value of thematerial
record component.ModifierConstructorDescriptionTrimPredicate
(Optional<RegistryEntryList<ArmorTrimMaterial>> optional, Optional<RegistryEntryList<ArmorTrimPattern>> optional2) -
Uses of ArmorTrimMaterial in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<Registry<ArmorTrimMaterial>> RegistryKeys.TRIM_MATERIAL
-
Uses of ArmorTrimMaterial in net.minecraft.server.command
Modifier and TypeFieldDescriptionprivate static final ToIntFunction
<RegistryKey<ArmorTrimMaterial>> SpawnArmorTrimsCommand.MATERIAL_INDEX_GETTER
private static final List
<RegistryKey<ArmorTrimMaterial>> SpawnArmorTrimsCommand.MATERIALS