Package net.minecraft.item
Class ShovelItem
java.lang.Object
net.minecraft.item.Item
net.minecraft.class_3562
net.minecraft.item.ToolItem
net.minecraft.item.ShovelItem
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official atyintermediary net/minecraft/class_1090named net/minecraft/item/ShovelItem
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.item.Item
Item.Settings -
Field Summary
FieldsFields inherited from class net.minecraft.item.ToolItem
attackDamage, field_12294, miningSpeedFields inherited from class net.minecraft.item.Item
ATTACK_DAMAGE_MODIFIER_UUID, ATTACK_SPEED_MODIFIER, BLOCK_ITEMS, itemGroup, RANDOM -
Constructor Summary
ConstructorsConstructorDescriptionShovelItem(IToolMaterial iToolMaterial, float float2, float float3, Item.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionbooleanmethod_3346(BlockState blockState) useOnBlock(ItemUsageContext itemUsageContext) Methods inherited from class net.minecraft.item.ToolItem
getBlockBreakingSpeed, method_3356, method_6326, onEntityHitMethods inherited from class net.minecraft.class_3562
canRepair, getEnchantability, method_16137Methods inherited from class net.minecraft.item.Item
addProperty, appendToItemGroup, appendTooltips, beforeBlockBreak, byRawId, canAddTo, computeTranslationKey, fromBlock, getDefaultStack, getItem, getItemGroup, getMaxCount, getMaxDamage, getMaxUseTime, getProperty, getRarity, getRawId, getRecipeRemainder, getTranslationKey, getTranslationKey, getUseAction, hasEnchantmentGlint, hasProperties, inventoryTick, isDamageable, isEnchantable, isFood, isNetworkSynced, method_13649, method_16075, method_16080, method_3353, method_3359, method_3367, method_3383, onCraft, onHit, postProcessNbt, registerBlockItem, setup, shouldSyncNbtToClient
-
Field Details
-
EFFECTIVE_BLOCKS
- Mappings:
Namespace Name Mixin selector official eLaty;e:Ljava/util/Set;intermediary field_7153Lnet/minecraft/class_1090;field_7153:Ljava/util/Set;named EFFECTIVE_BLOCKSLnet/minecraft/item/ShovelItem;EFFECTIVE_BLOCKS:Ljava/util/Set;
-
field_17376
- Mappings:
Namespace Name Mixin selector official aLaty;a:Ljava/util/Map;intermediary field_17376Lnet/minecraft/class_1090;field_17376:Ljava/util/Map;named field_17376Lnet/minecraft/item/ShovelItem;field_17376:Ljava/util/Map;
-
-
Constructor Details
-
ShovelItem
-
-
Method Details
-
method_3346
- Overrides:
method_3346in classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Lblc;)Zintermediary method_3346Lnet/minecraft/class_1069;method_3346(Lnet/minecraft/class_2232;)Znamed method_3346Lnet/minecraft/item/Item;method_3346(Lnet/minecraft/block/BlockState;)Z
-
useOnBlock
- Overrides:
useOnBlockin classItem- Mappings:
Namespace Name Mixin selector official aLata;a(Laup;)Ladm;intermediary method_16071Lnet/minecraft/class_1069;method_16071(Lnet/minecraft/class_3565;)Lnet/minecraft/class_2962;named useOnBlockLnet/minecraft/item/Item;useOnBlock(Lnet/minecraft/item/ItemUsageContext;)Lnet/minecraft/util/ActionResult;
-