Class EnchantmentVenomousAspect

java.lang.Object
net.minecraft.world.item.enchantment.Enchantment
net.darkhax.msmlegacy.enchantments.SwordEnchantment
net.darkhax.msmlegacy.enchantments.EnchantmentVenomousAspect

public class EnchantmentVenomousAspect extends SwordEnchantment
  • Nested Class Summary

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

    net.minecraft.world.item.enchantment.Enchantment.Rarity
  • Field Summary

    Fields inherited from class net.minecraft.world.item.enchantment.Enchantment

    category, descriptionId
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doPostAttack(net.minecraft.world.entity.LivingEntity attacker, net.minecraft.world.entity.Entity target, int level)
     

    Methods inherited from class net.darkhax.msmlegacy.enchantments.SwordEnchantment

    canEnchant, checkCompatibility, getMaxLevel, getMinLevel, getName, isDiscoverable, isTradeable, onHeldTick, onItemUsed

    Methods inherited from class net.minecraft.world.item.enchantment.Enchantment

    byId, doPostHurt, getDamageBonus, getDamageProtection, getDescriptionId, getFullname, getMaxCost, getMinCost, getOrCreateDescriptionId, getRarity, getSlotItems, isCompatibleWith, isCurse, isTreasureOnly

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EnchantmentVenomousAspect

      public EnchantmentVenomousAspect(String type)
  • Method Details

    • doPostAttack

      public void doPostAttack(net.minecraft.world.entity.LivingEntity attacker, net.minecraft.world.entity.Entity target, int level)
      Overrides:
      doPostAttack in class net.minecraft.world.item.enchantment.Enchantment