Class HorseArmorItem

java.lang.Object
net.minecraft.item.Item
net.minecraft.item.HorseArmorItem
All Implemented Interfaces:
ItemConvertible, ToggleableFeature
Direct Known Subclasses:
DyeableHorseArmorItem

public class HorseArmorItem extends Item
Mappings:
Namespace Name
official cdl
intermediary net/minecraft/class_4059
named net/minecraft/item/HorseArmorItem
  • Field Details

    • ENTITY_TEXTURE_PREFIX

      private static final String ENTITY_TEXTURE_PREFIX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcdl;a:Ljava/lang/String;
      intermediary field_30886 Lnet/minecraft/class_4059;field_30886:Ljava/lang/String;
      named ENTITY_TEXTURE_PREFIX Lnet/minecraft/item/HorseArmorItem;ENTITY_TEXTURE_PREFIX:Ljava/lang/String;
    • bonus

      private final int bonus
      Mappings:
      Namespace Name Mixin selector
      official b Lcdl;b:I
      intermediary field_18136 Lnet/minecraft/class_4059;field_18136:I
      named bonus Lnet/minecraft/item/HorseArmorItem;bonus:I
    • entityTexture

      private final String entityTexture
      Mappings:
      Namespace Name Mixin selector
      official c Lcdl;c:Ljava/lang/String;
      intermediary field_18137 Lnet/minecraft/class_4059;field_18137:Ljava/lang/String;
      named entityTexture Lnet/minecraft/item/HorseArmorItem;entityTexture:Ljava/lang/String;
  • Constructor Details

    • HorseArmorItem

      public HorseArmorItem(int bonus, String name, Item.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcdl;<init>(ILjava/lang/String;Lcdp$a;)V
      intermediary <init> Lnet/minecraft/class_4059;<init>(ILjava/lang/String;Lnet/minecraft/class_1792$class_1793;)V
      named <init> Lnet/minecraft/item/HorseArmorItem;<init>(ILjava/lang/String;Lnet/minecraft/item/Item$Settings;)V
  • Method Details

    • getEntityTexture

      public Identifier getEntityTexture()
      Mappings:
      Namespace Name Mixin selector
      official i Lcdl;i()Lacf;
      intermediary method_18454 Lnet/minecraft/class_4059;method_18454()Lnet/minecraft/class_2960;
      named getEntityTexture Lnet/minecraft/item/HorseArmorItem;getEntityTexture()Lnet/minecraft/util/Identifier;
    • getBonus

      public int getBonus()
      Mappings:
      Namespace Name Mixin selector
      official j Lcdl;j()I
      intermediary method_18455 Lnet/minecraft/class_4059;method_18455()I
      named getBonus Lnet/minecraft/item/HorseArmorItem;getBonus()I