Package net.minecraft.item
Class AnvilItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.BlockItem
net.minecraft.item.VariantBlockItem
net.minecraft.item.AnvilItem
public class AnvilItem extends VariantBlockItem
- Mappings:
Namespace Name official yiintermediary net/minecraft/class_2011named net/minecraft/item/AnvilItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields inherited from class net.minecraft.item.VariantBlockItem
nameFunction, variantBlockFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
-
Method Summary
Modifier and Type Method Description intgetMeta(int i)Methods inherited from class net.minecraft.item.VariantBlockItem
getTranslationKeyMethods inherited from class net.minecraft.item.BlockItem
appendItemStacks, getBlock, getItemGroup, getTranslationKey, method_8182, setBlockEntityTag, setTranslationKey, useMethods inherited from class net.minecraft.item.Item
appendTooltip, byRawId, canRepair, canUseOnEntity, fromBlock, getAttributeModifierMap, getDisplayColor, getDisplayName, getEnchantability, getFromId, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMiningSpeedMultiplier, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEffectiveOn, isEnchantable, isFood, isHandheld, isNetworkSynced, isUnbreakable, onBlockBroken, onCraft, onEntityHit, onFinishUse, onHit, onStartUse, onUseStopped, postProcessTag, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setUnbreakable, setup, shouldRotate, shouldSyncTagToClient
-
Constructor Details
-
AnvilItem
- Mappings:
Namespace Name Mixin selector official <init>Lyo;<init>(Lafh;)Vintermediary <init>Lnet/minecraft/class_2018;<init>(Lnet/minecraft/class_160;)Vnamed <init>Lnet/minecraft/item/BlockItem;<init>(Lnet/minecraft/block/Block;)V
-
-
Method Details
-
getMeta
public int getMeta(int i)- Overrides:
getMetain classVariantBlockItem- Mappings:
Namespace Name Mixin selector official aLzw;a(I)Iintermediary method_8247Lnet/minecraft/class_2054;method_8247(I)Inamed getMetaLnet/minecraft/item/Item;getMeta(I)I
-