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/AnimalArmorItemintermediary net/minecraft/class_4059official cse
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings, Item.TooltipContext -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Identifierprivate final @Nullable Identifierprivate final AnimalArmorItem.TypeFields inherited from class net.minecraft.item.ArmorItem
DISPENSER_BEHAVIOR, materialFields 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_COUNTFields inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
FEATURE_ENABLED_REGISTRY_KEYS -
Constructor Summary
ConstructorsConstructorDescriptionAnimalArmorItem(RegistryEntry<ArmorMaterial> material, AnimalArmorItem.Type type, boolean hasOverlay, Item.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanisEnchantable(ItemStack stack) Returns whether the givenItemStackis enchantable.Methods inherited from class net.minecraft.item.ArmorItem
canRepair, dispenseArmor, getAttributeModifiers, getEnchantability, getEquipSound, getMaterial, getProtection, getSlotType, getToughness, useMethods 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, useOnEntityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.item.Equipment
equipAndSwapMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
entityTexture
- Mappings:
Namespace Name Mixin selector named entityTextureLnet/minecraft/item/AnimalArmorItem;entityTexture:Lnet/minecraft/util/Identifier;intermediary field_47823Lnet/minecraft/class_4059;field_47823:Lnet/minecraft/class_2960;official jLcse;j:Lakr;
-
overlayTexture
- Mappings:
Namespace Name Mixin selector named overlayTextureLnet/minecraft/item/AnimalArmorItem;overlayTexture:Lnet/minecraft/util/Identifier;intermediary field_49255Lnet/minecraft/class_4059;field_49255:Lnet/minecraft/class_2960;official kLcse;k:Lakr;
-
type
- Mappings:
Namespace Name Mixin selector named typeLnet/minecraft/item/AnimalArmorItem;type:Lnet/minecraft/item/AnimalArmorItem$Type;intermediary field_47824Lnet/minecraft/class_4059;field_47824:Lnet/minecraft/class_4059$class_9076;official lLcse;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;)Vintermediary <init>Lnet/minecraft/class_4059;<init>(Lnet/minecraft/class_6880;Lnet/minecraft/class_4059$class_9076;ZLnet/minecraft/class_1792$class_1793;)Vofficial <init>Lcse;<init>(Ljm;Lcse$a;ZLcul$a;)V
-
-
Method Details
-
getEntityTexture
- Mappings:
Namespace Name Mixin selector named getEntityTextureLnet/minecraft/item/AnimalArmorItem;getEntityTexture()Lnet/minecraft/util/Identifier;intermediary method_18454Lnet/minecraft/class_4059;method_18454()Lnet/minecraft/class_2960;official bLcse;b()Lakr;
-
getOverlayTexture
- Mappings:
Namespace Name Mixin selector named getOverlayTextureLnet/minecraft/item/AnimalArmorItem;getOverlayTexture()Lnet/minecraft/util/Identifier;intermediary method_57335Lnet/minecraft/class_4059;method_57335()Lnet/minecraft/class_2960;official cLcse;c()Lakr;
-
getType
- Overrides:
getTypein classArmorItem- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/item/AnimalArmorItem;getType()Lnet/minecraft/item/AnimalArmorItem$Type;intermediary method_55756Lnet/minecraft/class_4059;method_55756()Lnet/minecraft/class_4059$class_9076;official dLcse;d()Lcse$a;
-
getBreakSound
- Overrides:
getBreakSoundin classItem- Mappings:
Namespace Name Mixin selector named getBreakSoundLnet/minecraft/item/Item;getBreakSound()Lnet/minecraft/sound/SoundEvent;intermediary method_57336Lnet/minecraft/class_1792;method_57336()Lnet/minecraft/class_3414;official eLcul;e()Lavo;
-
isEnchantable
Returns whether the givenItemStackis enchantable.By default, ItemStacks are enchantable if their max stack count is 1 and they can be damaged.
- Overrides:
isEnchantablein classItem- Returns:
- whether the given
ItemStackis enchantable - Mappings:
Namespace Name Mixin selector named isEnchantableLnet/minecraft/item/Item;isEnchantable(Lnet/minecraft/item/ItemStack;)Zintermediary method_7870Lnet/minecraft/class_1792;method_7870(Lnet/minecraft/class_1799;)Zofficial aLcul;a(Lcuq;)Z
-