Uses of Record Class
net.minecraft.item.trim.ArmorTrimMaterial
Package
Description
-
Uses of ArmorTrimMaterial in net.minecraft.item.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
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<RegistryEntry<ArmorMaterial>, String> overrideArmorMaterials) Modifier and TypeMethodDescriptionArmorTrimMaterials.get
(RegistryWrapper.WrapperLookup registriesLookup, ItemStack stack) ArmorTrim.getMaterial()
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, RegistryEntry<ArmorMaterial> armorMaterial) 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<RegistryEntry<ArmorMaterial>, String> overrideArmorMaterials) private static void
ArmorTrimMaterials.register
(Registerable<ArmorTrimMaterial> registry, RegistryKey<ArmorTrimMaterial> key, Item ingredient, Style style, float itemModelIndex, Map<RegistryEntry<ArmorMaterial>, String> overrideArmorMaterials) ModifierConstructorDescriptionArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern) ArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip) private
ArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip, Function<RegistryEntry<ArmorMaterial>, Identifier> leggingsModelIdGetter, Function<RegistryEntry<ArmorMaterial>, Identifier> genericModelIdGetter) -
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