Uses of Record Class
net.minecraft.item.ArmorMaterial
Package
Description
-
Uses of ArmorMaterial in net.minecraft.client.render.entity.feature
Modifier and TypeMethodDescriptionprivate void
ArmorFeatureRenderer.renderTrim
(RegistryEntry<ArmorMaterial> armorMaterial, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, ArmorTrim trim, A model, boolean leggings) -
Uses of ArmorMaterial in net.minecraft.data.client
Modifier and TypeFieldDescriptionprivate final Map
<RegistryEntry<ArmorMaterial>, String> ItemModelGenerator.TrimMaterial.overrideArmorMaterials
The field for theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionItemModelGenerator.TrimMaterial.overrideArmorMaterials()
Returns the value of theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionprivate JsonObject
ItemModelGenerator.createArmorJson
(Identifier id, Map<TextureKey, Identifier> textures, RegistryEntry<ArmorMaterial> armorMaterial) ItemModelGenerator.TrimMaterial.getAppliedName
(RegistryEntry<ArmorMaterial> armorMaterial) ModifierConstructorDescription(package private)
TrimMaterial
(String string, float float2, Map<RegistryEntry<ArmorMaterial>, String> map) -
Uses of ArmorMaterial in net.minecraft.item
Modifier and TypeFieldDescriptionstatic final RegistryEntry
<ArmorMaterial> ArmorMaterials.ARMADILLO
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.CHAIN
static final com.mojang.serialization.Codec
<RegistryEntry<ArmorMaterial>> ArmorMaterial.CODEC
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.DIAMOND
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.GOLD
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.IRON
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.LEATHER
protected final RegistryEntry
<ArmorMaterial> ArmorItem.material
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.NETHERITE
static final RegistryEntry
<ArmorMaterial> ArmorMaterials.TURTLE
Modifier and TypeMethodDescriptionstatic RegistryEntry
<ArmorMaterial> ArmorMaterials.getDefault
(Registry<ArmorMaterial> registry) ArmorItem.getMaterial()
private static RegistryEntry
<ArmorMaterial> ArmorMaterials.register
(String id, EnumMap<ArmorItem.Type, Integer> defense, int enchantability, RegistryEntry<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient) private static RegistryEntry
<ArmorMaterial> ArmorMaterials.register
(String id, EnumMap<ArmorItem.Type, Integer> defense, int enchantability, RegistryEntry<SoundEvent> equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredient, List<ArmorMaterial.Layer> layers) Modifier and TypeMethodDescriptionstatic RegistryEntry
<ArmorMaterial> ArmorMaterials.getDefault
(Registry<ArmorMaterial> registry) ModifierConstructorDescriptionAnimalArmorItem
(RegistryEntry<ArmorMaterial> material, AnimalArmorItem.Type type, boolean hasOverlay, Item.Settings settings) ArmorItem
(RegistryEntry<ArmorMaterial> material, ArmorItem.Type type, Item.Settings settings) -
Uses of ArmorMaterial in net.minecraft.item.trim
Modifier and TypeFieldDescriptionprivate final Function
<RegistryEntry<ArmorMaterial>, Identifier> ArmorTrim.genericModelIdGetter
private final Function
<RegistryEntry<ArmorMaterial>, Identifier> ArmorTrim.leggingsModelIdGetter
private final Map
<RegistryEntry<ArmorMaterial>, String> ArmorTrimMaterial.overrideArmorMaterials
The field for theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionArmorTrimMaterial.overrideArmorMaterials()
Returns the value of theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionArmorTrim.getGenericModelId
(RegistryEntry<ArmorMaterial> armorMaterial) ArmorTrim.getLeggingsModelId
(RegistryEntry<ArmorMaterial> armorMaterial) static ArmorTrimMaterial
ArmorTrimMaterial.of
(String assetName, Item ingredient, float itemModelIndex, Text description, 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) ModifierConstructorDescriptionprivate
ArmorTrim
(RegistryEntry<ArmorTrimMaterial> material, RegistryEntry<ArmorTrimPattern> pattern, boolean showInTooltip, Function<RegistryEntry<ArmorMaterial>, Identifier> leggingsModelIdGetter, Function<RegistryEntry<ArmorMaterial>, Identifier> genericModelIdGetter) ArmorTrimMaterial
(String string, RegistryEntry<Item> registryEntry, float float2, Map<RegistryEntry<ArmorMaterial>, String> map, Text text) -
Uses of ArmorMaterial in net.minecraft.registry
Modifier and TypeFieldDescriptionstatic final Registry
<ArmorMaterial> Registries.ARMOR_MATERIAL
static final RegistryKey
<Registry<ArmorMaterial>> RegistryKeys.ARMOR_MATERIAL
-
Uses of ArmorMaterial in net.minecraft.server.command
Modifier and TypeFieldDescriptionprivate static final Map
<com.mojang.datafixers.util.Pair<RegistryEntry<ArmorMaterial>, EquipmentSlot>, Item> SpawnArmorTrimsCommand.ARMOR_PIECES