Class ElementiumAxeItem

java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.TieredItem
net.minecraft.world.item.DiggerItem
net.minecraft.world.item.AxeItem
vazkii.botania.common.item.equipment.tool.manasteel.ManasteelAxeItem
vazkii.botania.common.item.equipment.tool.elementium.ElementiumAxeItem
All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.level.ItemLike, SortableTool, CustomDamageItem

public class ElementiumAxeItem extends ManasteelAxeItem
  • Nested Class Summary

    Nested classes/interfaces inherited from class net.minecraft.world.item.Item

    net.minecraft.world.item.Item.Properties, net.minecraft.world.item.Item.TooltipContext
  • Field Summary

    Fields inherited from class net.minecraft.world.item.AxeItem

    STRIPPABLES

    Fields inherited from class net.minecraft.world.item.Item

    ABSOLUTE_MAX_STACK_SIZE, BASE_ATTACK_DAMAGE_ID, BASE_ATTACK_SPEED_ID, BY_BLOCK, DEFAULT_MAX_STACK_SIZE, MAX_BAR_WIDTH

    Fields inherited from interface net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • Constructor Summary

    Constructors
    Constructor
    Description
    ElementiumAxeItem(net.minecraft.world.item.Item.Properties props)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    onEntityDrops(boolean hitRecently, net.minecraft.world.damagesource.DamageSource source, net.minecraft.world.entity.LivingEntity target, Consumer<net.minecraft.world.item.ItemStack> consumer)
     
    void
    postHurtEnemy(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.LivingEntity target, net.minecraft.world.entity.LivingEntity attacker)
     
    boolean
    supportsEnchantment(net.minecraft.world.item.ItemStack stack, net.minecraft.core.Holder<net.minecraft.world.item.enchantment.Enchantment> enchantment)
     

    Methods inherited from class vazkii.botania.common.item.equipment.tool.manasteel.ManasteelAxeItem

    damageItem, getManaPerDamage, getSortingPriority, inventoryTick, useOn

    Methods inherited from class net.minecraft.world.item.DiggerItem

    createAttributes, hurtEnemy

    Methods inherited from class net.minecraft.world.item.TieredItem

    getEnchantmentValue, getTier, isValidRepairItem

    Methods inherited from class net.minecraft.world.item.Item

    appendHoverText, asItem, builtInRegistryHolder, byBlock, byId, canAttackBlock, canFitInsideContainerItems, components, finishUsingItem, getAttackDamageBonus, getBarColor, getBarWidth, getBreakingSound, getCraftingRemainingItem, getDefaultAttributeModifiers, getDefaultInstance, getDefaultMaxStackSize, getDescription, getDescriptionId, getDescriptionId, getDestroySpeed, getDrinkingSound, getEatingSound, getId, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, interactLivingEntity, isBarVisible, isComplex, isCorrectToolForDrops, isEnchantable, isFoil, mineBlock, onCraftedBy, onCraftedPostProcess, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, toString, use, useOnRelease, verifyComponentsAfterLoad

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.world.flag.FeatureElement

    isEnabled
  • Constructor Details

    • ElementiumAxeItem

      public ElementiumAxeItem(net.minecraft.world.item.Item.Properties props)
  • Method Details

    • onEntityDrops

      public static void onEntityDrops(boolean hitRecently, net.minecraft.world.damagesource.DamageSource source, net.minecraft.world.entity.LivingEntity target, Consumer<net.minecraft.world.item.ItemStack> consumer)
    • supportsEnchantment

      public boolean supportsEnchantment(net.minecraft.world.item.ItemStack stack, net.minecraft.core.Holder<net.minecraft.world.item.enchantment.Enchantment> enchantment)
    • postHurtEnemy

      public void postHurtEnemy(net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.LivingEntity target, net.minecraft.world.entity.LivingEntity attacker)
      Overrides:
      postHurtEnemy in class net.minecraft.world.item.DiggerItem