Package net.minecraft.item
Class ShovelItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.item.ToolItem
net.minecraft.item.ShovelItem
public class ShovelItem extends ToolItem
- Mappings:
Namespace Name official aaqintermediary net/minecraft/class_19named net/minecraft/item/ShovelItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.ToolMaterialType -
Field Summary
Fields Modifier and Type Field Description private static Set<Block>EFFECTIVE_BLOCKSFields inherited from class net.minecraft.item.ToolItem
material, miningSpeedFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, damageable, handheld, maxCount, RANDOM, REGISTRY -
Constructor Summary
Constructors Constructor Description ShovelItem(Item.ToolMaterialType type) -
Method Summary
Modifier and Type Method Description booleanisEffectiveOn(Block block)Methods inherited from class net.minecraft.item.ToolItem
canRepair, getAttributeModifierMap, getEnchantability, getMaterial, getMaterialAsString, getMiningSpeedMultiplier, isHandheld, onBlockBroken, onEntityHitMethods inherited from class net.minecraft.item.Item
appendItemStacks, appendTooltip, byRawId, canUseOnEntity, fromBlock, getDisplayColor, getDisplayName, getFromId, getItemGroup, getItemstackTranslatedName, getMaxCount, getMaxDamage, getMaxUseTime, getMeta, getRarity, getRawId, getRecipeRemainder, getStatusEffectString, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasStatusEffectString, hasSubTypes, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, isUnbreakable, onCraft, onFinishUse, onHit, onStartUse, onUseStopped, postProcessTag, registerBlockItem, setHandheld, setItemGroup, setMaxCount, setMaxDamage, setRecipeRemainder, setStatusEffectString, setTranslationKey, setUnbreakable, setup, shouldRotate, shouldSyncTagToClient, use
-
Field Details
-
EFFECTIVE_BLOCKS
- Mappings:
Namespace Name Mixin selector official cLaaq;c:Ljava/util/Set;intermediary field_54Lnet/minecraft/class_19;field_54:Ljava/util/Set;named EFFECTIVE_BLOCKSLnet/minecraft/item/ShovelItem;EFFECTIVE_BLOCKS:Ljava/util/Set;
-
-
Constructor Details
-
ShovelItem
- Mappings:
Namespace Name Mixin selector official <init>Laaq;<init>(Lzw$a;)Vintermediary <init>Lnet/minecraft/class_19;<init>(Lnet/minecraft/class_2054$class_2055;)Vnamed <init>Lnet/minecraft/item/ShovelItem;<init>(Lnet/minecraft/item/Item$ToolMaterialType;)V
-
-
Method Details
-
isEffectiveOn
- Overrides:
isEffectiveOnin classItem- Mappings:
Namespace Name Mixin selector official bLzw;b(Lafh;)Zintermediary method_8271Lnet/minecraft/class_2054;method_8271(Lnet/minecraft/class_160;)Znamed isEffectiveOnLnet/minecraft/item/Item;isEffectiveOn(Lnet/minecraft/block/Block;)Z
-