Class RelicSwordItem

java.lang.Object
net.minecraft.world.item.Item
net.minecraft.world.item.TieredItem
net.minecraft.world.item.SwordItem
net.darkhax.msmlegacy.item.MSMSwordItem
net.darkhax.msmlegacy.item.RelicSwordItem
All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement, net.minecraft.world.item.Vanishable, net.minecraft.world.level.ItemLike

public class RelicSwordItem extends MSMSwordItem
  • Nested Class Summary

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

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

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

    BASE_ATTACK_DAMAGE_UUID, BASE_ATTACK_SPEED_UUID, BY_BLOCK, EAT_DURATION, MAX_BAR_WIDTH, MAX_STACK_SIZE

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

    FILTERED_REGISTRIES
  • Constructor Summary

    Constructors
    Constructor
    Description
    RelicSwordItem(String type, int relicIndex, SwordStatsConfig config)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendHoverText(net.minecraft.world.item.ItemStack self, @Nullable net.minecraft.world.level.Level worldLevel, List<net.minecraft.network.chat.Component> tooltips, net.minecraft.world.item.TooltipFlag flags)
     

    Methods inherited from class net.darkhax.msmlegacy.item.MSMSwordItem

    getRepairMaterials, inventoryTick, isValidRepairItem, use

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

    canAttackBlock, getDamage, getDefaultAttributeModifiers, getDestroySpeed, hurtEnemy, isCorrectToolForDrops, mineBlock

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

    getEnchantmentValue, getTier

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

    asItem, builtInRegistryHolder, byBlock, byId, canBeDepleted, canBeHurtBy, canFitInsideContainerItems, finishUsingItem, getBarColor, getBarWidth, getCraftingRemainingItem, getDefaultInstance, getDescription, getDescriptionId, getDescriptionId, getDrinkingSound, getEatingSound, getFoodProperties, getId, getMaxDamage, getMaxStackSize, getName, getOrCreateDescriptionId, getPlayerPOVHitResult, getRarity, getTooltipImage, getUseAnimation, getUseDuration, hasCraftingRemainingItem, interactLivingEntity, isBarVisible, isComplex, isEdible, isEnchantable, isFireResistant, isFoil, onCraftedBy, onDestroyed, onUseTick, overrideOtherStackedOnMe, overrideStackedOnOther, releaseUsing, requiredFeatures, shouldOverrideMultiplayerNbt, toString, useOn, useOnRelease, verifyTagAfterLoad

    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

  • Method Details

    • appendHoverText

      public void appendHoverText(net.minecraft.world.item.ItemStack self, @Nullable @Nullable net.minecraft.world.level.Level worldLevel, List<net.minecraft.network.chat.Component> tooltips, net.minecraft.world.item.TooltipFlag flags)
      Overrides:
      appendHoverText in class net.minecraft.world.item.Item