Package net.minecraft.item
Class HorseArmorItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.HorseArmorItem
- All Implemented Interfaces:
ItemConvertible
- Direct Known Subclasses:
DyeableHorseArmorItem
public class HorseArmorItem extends Item
- Mappings:
Namespace Name official bnq
intermediary net/minecraft/class_4059
named net/minecraft/item/HorseArmorItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings
-
Field Summary
Fields Modifier and Type Field Description private int
bonus
private String
entityTexture
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, group
-
Constructor Summary
Constructors Constructor Description HorseArmorItem(int bonus, String name, Item.Settings settings)
-
Method Summary
Modifier and Type Method Description int
getBonus()
Identifier
getEntityTexture()
Methods inherited from class net.minecraft.item.Item
appendStacks, appendTooltip, asItem, byRawId, canMine, canRepair, damage, finishUsing, fromBlock, getAttributeModifiers, getDefaultStack, getDrinkSound, getEatSound, getEnchantability, getEquipSound, getFoodComponent, getGroup, getItemBarColor, getItemBarStep, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getTooltipData, getTranslationKey, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, hasStoredInventory, inventoryTick, isDamageable, isEnchantable, isFireproof, isFood, isIn, isItemBarVisible, isNetworkSynced, isSuitableFor, isUsedOnRelease, onClicked, onCraft, onItemEntityDestroyed, onStackClicked, onStoppedUsing, postHit, postMine, postProcessTag, raycast, shouldSyncTagToClient, toString, usageTick, use, useOnBlock, useOnEntity
-
Field Details
-
bonus
private final int bonus- Mappings:
Namespace Name Mixin selector official a
Lbnq;a:I
intermediary field_18136
Lnet/minecraft/class_4059;field_18136:I
named bonus
Lnet/minecraft/item/HorseArmorItem;bonus:I
-
entityTexture
- Mappings:
Namespace Name Mixin selector official b
Lbnq;b: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
- Mappings:
Namespace Name Mixin selector official <init>
Lbnq;<init>(ILjava/lang/String;Lbnr$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
- Mappings:
Namespace Name Mixin selector official i
Lbnq;i()Lwb;
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
Lbnq;j()I
intermediary method_18455
Lnet/minecraft/class_4059;method_18455()I
named getBonus
Lnet/minecraft/item/HorseArmorItem;getBonus()I
-