Package net.minecraft.item
Class AnimalArmorItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.AnimalArmorItem
- All Implemented Interfaces:
ItemConvertible
,ToggleableFeature
- Direct Known Subclasses:
DyeableAnimalArmorItem
- Mappings:
Namespace Name official cmi
intermediary net/minecraft/class_4059
named net/minecraft/item/AnimalArmorItem
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final Identifier
private final AnimalArmorItem.Type
Fields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_ID, ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, DEFAULT_MAX_COUNT, DEFAULT_MAX_USE_TIME, ITEM_BAR_STEPS
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
ConstructorsConstructorDescriptionAnimalArmorItem
(int bonus, AnimalArmorItem.Type type, @Nullable String name, Item.Settings settings) -
Method Summary
Methods inherited from class net.minecraft.item.Item
appendTooltip, asItem, byRawId, canBeNested, canMine, canRepair, damage, finishUsing, fromBlock, getAttributeModifiers, getDefaultStack, getDrinkSound, getEatSound, getEnchantability, getFoodComponent, getItemBarColor, getItemBarStep, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getName, getName, getOrCreateTranslationKey, getRarity, getRawId, getRecipeRemainder, getRegistryEntry, getRequiredFeatures, getTooltipData, getTranslationKey, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, inventoryTick, isDamageable, isEnchantable, isFireproof, isFood, isItemBarVisible, isNbtSynced, isNetworkSynced, isSuitableFor, isUsedOnRelease, onClicked, onCraft, onCraftByPlayer, onItemEntityDestroyed, onStackClicked, onStoppedUsing, postHit, postMine, postProcessNbt, raycast, toString, usageTick, use, useOnBlock, useOnEntity
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
bonus
private final int bonus- Mappings:
Namespace Name Mixin selector official a
Lcmi;a:I
intermediary field_18136
Lnet/minecraft/class_4059;field_18136:I
named bonus
Lnet/minecraft/item/AnimalArmorItem;bonus:I
-
entityTexture
- Mappings:
Namespace Name Mixin selector official b
Lcmi;b:Laiy;
intermediary field_47823
Lnet/minecraft/class_4059;field_47823:Lnet/minecraft/class_2960;
named entityTexture
Lnet/minecraft/item/AnimalArmorItem;entityTexture:Lnet/minecraft/util/Identifier;
-
type
- Mappings:
Namespace Name Mixin selector official c
Lcmi;c:Lcmi$a;
intermediary field_47824
Lnet/minecraft/class_4059;field_47824:Lnet/minecraft/class_4059$class_9076;
named type
Lnet/minecraft/item/AnimalArmorItem;type:Lnet/minecraft/item/AnimalArmorItem$Type;
-
-
Constructor Details
-
AnimalArmorItem
public AnimalArmorItem(int bonus, AnimalArmorItem.Type type, @Nullable @Nullable String name, Item.Settings settings) - Mappings:
Namespace Name Mixin selector official <init>
Lcmi;<init>(ILcmi$a;Ljava/lang/String;Lcou$a;)V
intermediary <init>
Lnet/minecraft/class_4059;<init>(ILnet/minecraft/class_4059$class_9076;Ljava/lang/String;Lnet/minecraft/class_1792$class_1793;)V
named <init>
Lnet/minecraft/item/AnimalArmorItem;<init>(ILnet/minecraft/item/AnimalArmorItem$Type;Ljava/lang/String;Lnet/minecraft/item/Item$Settings;)V
-
-
Method Details
-
getEntityTexture
- Mappings:
Namespace Name Mixin selector official b
Lcmi;b()Laiy;
intermediary method_18454
Lnet/minecraft/class_4059;method_18454()Lnet/minecraft/class_2960;
named getEntityTexture
Lnet/minecraft/item/AnimalArmorItem;getEntityTexture()Lnet/minecraft/util/Identifier;
-
getBonus
public int getBonus()- Mappings:
Namespace Name Mixin selector official c
Lcmi;c()I
intermediary method_18455
Lnet/minecraft/class_4059;method_18455()I
named getBonus
Lnet/minecraft/item/AnimalArmorItem;getBonus()I
-
getType
- Mappings:
Namespace Name Mixin selector official d
Lcmi;d()Lcmi$a;
intermediary method_55756
Lnet/minecraft/class_4059;method_55756()Lnet/minecraft/class_4059$class_9076;
named getType
Lnet/minecraft/item/AnimalArmorItem;getType()Lnet/minecraft/item/AnimalArmorItem$Type;
-