Package net.minecraft.item
Class AnimalArmorItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.ArmorItem
net.minecraft.item.AnimalArmorItem
- All Implemented Interfaces:
Equipment
,ItemConvertible
,ToggleableFeature
- Mappings:
Namespace Name named net/minecraft/item/AnimalArmorItem
intermediary net/minecraft/class_4059
official cse
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings, Item.TooltipContext
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Identifier
private final @Nullable Identifier
private final AnimalArmorItem.Type
Fields inherited from class net.minecraft.item.ArmorItem
DISPENSER_BEHAVIOR, material
Fields inherited from class net.minecraft.item.Item
BASE_ATTACK_DAMAGE_MODIFIER_ID, BASE_ATTACK_SPEED_MODIFIER_ID, BLOCK_ITEMS, DEFAULT_MAX_COUNT, ITEM_BAR_STEPS, MAX_MAX_COUNT
Fields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS
-
Constructor Summary
ConstructorDescriptionAnimalArmorItem
(RegistryEntry<ArmorMaterial> material, AnimalArmorItem.Type type, boolean hasOverlay, Item.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
boolean
isEnchantable
(ItemStack stack) Returns whether the givenItemStack
is enchantable.Methods inherited from class net.minecraft.item.ArmorItem
canRepair, dispenseArmor, getAttributeModifiers, getEnchantability, getEquipSound, getMaterial, getProtection, getSlotType, getToughness, use
Methods inherited from class net.minecraft.item.Item
appendTooltip, asItem, byRawId, canBeNested, canMine, finishUsing, fromBlock, getBonusAttackDamage, getComponents, getDefaultStack, getDrinkSound, getEatSound, getItemBarColor, getItemBarStep, getMaxCount, getMaxUseTime, getMiningSpeed, getName, getName, getOrCreateTranslationKey, getRawId, getRecipeRemainder, getRegistryEntry, getRequiredFeatures, getTooltipData, getTranslationKey, getTranslationKey, getUseAction, hasGlint, hasRecipeRemainder, inventoryTick, isCorrectForDrops, isItemBarVisible, isNetworkSynced, isUsedOnRelease, onClicked, onCraft, onCraftByPlayer, onItemEntityDestroyed, onStackClicked, onStoppedUsing, postDamageEntity, postHit, postMine, postProcessComponents, raycast, toString, usageTick, 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.item.Equipment
equipAndSwap
Methods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
entityTexture
- Mappings:
Namespace Name Mixin selector named entityTexture
Lnet/minecraft/item/AnimalArmorItem;entityTexture:Lnet/minecraft/util/Identifier;
intermediary field_47823
Lnet/minecraft/class_4059;field_47823:Lnet/minecraft/class_2960;
official j
Lcse;j:Lakr;
-
overlayTexture
- Mappings:
Namespace Name Mixin selector named overlayTexture
Lnet/minecraft/item/AnimalArmorItem;overlayTexture:Lnet/minecraft/util/Identifier;
intermediary field_49255
Lnet/minecraft/class_4059;field_49255:Lnet/minecraft/class_2960;
official k
Lcse;k:Lakr;
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/item/AnimalArmorItem;type:Lnet/minecraft/item/AnimalArmorItem$Type;
intermediary field_47824
Lnet/minecraft/class_4059;field_47824:Lnet/minecraft/class_4059$class_9076;
official l
Lcse;l:Lcse$a;
-
-
Constructor Details
-
AnimalArmorItem
public AnimalArmorItem(RegistryEntry<ArmorMaterial> material, AnimalArmorItem.Type type, boolean hasOverlay, Item.Settings settings) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/item/AnimalArmorItem;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/item/AnimalArmorItem$Type;ZLnet/minecraft/item/Item$Settings;)V
intermediary <init>
Lnet/minecraft/class_4059;<init>(Lnet/minecraft/class_6880;Lnet/minecraft/class_4059$class_9076;ZLnet/minecraft/class_1792$class_1793;)V
official <init>
Lcse;<init>(Ljm;Lcse$a;ZLcul$a;)V
-
-
Method Details
-
getEntityTexture
- Mappings:
Namespace Name Mixin selector named getEntityTexture
Lnet/minecraft/item/AnimalArmorItem;getEntityTexture()Lnet/minecraft/util/Identifier;
intermediary method_18454
Lnet/minecraft/class_4059;method_18454()Lnet/minecraft/class_2960;
official b
Lcse;b()Lakr;
-
getOverlayTexture
- Mappings:
Namespace Name Mixin selector named getOverlayTexture
Lnet/minecraft/item/AnimalArmorItem;getOverlayTexture()Lnet/minecraft/util/Identifier;
intermediary method_57335
Lnet/minecraft/class_4059;method_57335()Lnet/minecraft/class_2960;
official c
Lcse;c()Lakr;
-
getType
- Overrides:
getType
in classArmorItem
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/item/AnimalArmorItem;getType()Lnet/minecraft/item/AnimalArmorItem$Type;
intermediary method_55756
Lnet/minecraft/class_4059;method_55756()Lnet/minecraft/class_4059$class_9076;
official d
Lcse;d()Lcse$a;
-
getBreakSound
- Overrides:
getBreakSound
in classItem
- Mappings:
Namespace Name Mixin selector named getBreakSound
Lnet/minecraft/item/Item;getBreakSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_57336
Lnet/minecraft/class_1792;method_57336()Lnet/minecraft/class_3414;
official e
Lcul;e()Lavo;
-
isEnchantable
Returns whether the givenItemStack
is enchantable.By default, ItemStacks are enchantable if their max stack count is 1 and they can be damaged.
- Overrides:
isEnchantable
in classItem
- Returns:
- whether the given
ItemStack
is enchantable - Mappings:
Namespace Name Mixin selector named isEnchantable
Lnet/minecraft/item/Item;isEnchantable(Lnet/minecraft/item/ItemStack;)Z
intermediary method_7870
Lnet/minecraft/class_1792;method_7870(Lnet/minecraft/class_1799;)Z
official a
Lcul;a(Lcuq;)Z
-