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 bnsintermediary net/minecraft/class_4059named 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 intbonusprivate StringentityTextureFields 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 intgetBonus()IdentifiergetEntityTexture()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 aLbns;a:Iintermediary field_18136Lnet/minecraft/class_4059;field_18136:Inamed bonusLnet/minecraft/item/HorseArmorItem;bonus:I
-
entityTexture
- Mappings:
Namespace Name Mixin selector official bLbns;b:Ljava/lang/String;intermediary field_18137Lnet/minecraft/class_4059;field_18137:Ljava/lang/String;named entityTextureLnet/minecraft/item/HorseArmorItem;entityTexture:Ljava/lang/String;
-
-
Constructor Details
-
HorseArmorItem
- Mappings:
Namespace Name Mixin selector official <init>Lbns;<init>(ILjava/lang/String;Lbnt$a;)Vintermediary <init>Lnet/minecraft/class_4059;<init>(ILjava/lang/String;Lnet/minecraft/class_1792$class_1793;)Vnamed <init>Lnet/minecraft/item/HorseArmorItem;<init>(ILjava/lang/String;Lnet/minecraft/item/Item$Settings;)V
-
-
Method Details
-
getEntityTexture
- Mappings:
Namespace Name Mixin selector official iLbns;i()Lwb;intermediary method_18454Lnet/minecraft/class_4059;method_18454()Lnet/minecraft/class_2960;named getEntityTextureLnet/minecraft/item/HorseArmorItem;getEntityTexture()Lnet/minecraft/util/Identifier;
-
getBonus
public int getBonus()- Mappings:
Namespace Name Mixin selector official jLbns;j()Iintermediary method_18455Lnet/minecraft/class_4059;method_18455()Inamed getBonusLnet/minecraft/item/HorseArmorItem;getBonus()I
-