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 cmmintermediary net/minecraft/class_4059named 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 intprivate final Identifierprivate final AnimalArmorItem.TypeFields 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_STEPSFields 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, useOnEntityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.resource.featuretoggle.ToggleableFeature
isEnabled
-
Field Details
-
bonus
private final int bonus- Mappings:
Namespace Name Mixin selector official aLcmm;a:Iintermediary field_18136Lnet/minecraft/class_4059;field_18136:Inamed bonusLnet/minecraft/item/AnimalArmorItem;bonus:I
-
entityTexture
- Mappings:
Namespace Name Mixin selector official bLcmm;b:Laiy;intermediary field_47823Lnet/minecraft/class_4059;field_47823:Lnet/minecraft/class_2960;named entityTextureLnet/minecraft/item/AnimalArmorItem;entityTexture:Lnet/minecraft/util/Identifier;
-
type
- Mappings:
Namespace Name Mixin selector official cLcmm;c:Lcmm$a;intermediary field_47824Lnet/minecraft/class_4059;field_47824:Lnet/minecraft/class_4059$class_9076;named typeLnet/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>Lcmm;<init>(ILcmm$a;Ljava/lang/String;Lcoy$a;)Vintermediary <init>Lnet/minecraft/class_4059;<init>(ILnet/minecraft/class_4059$class_9076;Ljava/lang/String;Lnet/minecraft/class_1792$class_1793;)Vnamed <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 bLcmm;b()Laiy;intermediary method_18454Lnet/minecraft/class_4059;method_18454()Lnet/minecraft/class_2960;named getEntityTextureLnet/minecraft/item/AnimalArmorItem;getEntityTexture()Lnet/minecraft/util/Identifier;
-
getBonus
public int getBonus()- Mappings:
Namespace Name Mixin selector official cLcmm;c()Iintermediary method_18455Lnet/minecraft/class_4059;method_18455()Inamed getBonusLnet/minecraft/item/AnimalArmorItem;getBonus()I
-
getType
- Mappings:
Namespace Name Mixin selector official dLcmm;d()Lcmm$a;intermediary method_55756Lnet/minecraft/class_4059;method_55756()Lnet/minecraft/class_4059$class_9076;named getTypeLnet/minecraft/item/AnimalArmorItem;getType()Lnet/minecraft/item/AnimalArmorItem$Type;
-