Class ModHooks

java.lang.Object
net.darkhax.wolfenchantments.common.ModHooks

public class ModHooks extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    firePostAttack(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.world.entity.Entity victim, net.minecraft.world.damagesource.DamageSource damageSource)
     
    static int
    getLootingBoost(net.minecraft.core.Holder<net.minecraft.world.item.enchantment.Enchantment> enchantment, net.minecraft.world.level.storage.loot.LootContext context)
     
    static net.minecraft.world.item.Item.Properties
    modifyVanillaWolfArmor(net.minecraft.world.item.Item.Properties original)
     
    static boolean
    preventAttack(net.minecraft.world.entity.LivingEntity attacker, net.minecraft.world.entity.LivingEntity victim)
     

    Methods inherited from class Object

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

    • ModHooks

      public ModHooks()
  • Method Details

    • modifyVanillaWolfArmor

      public static net.minecraft.world.item.Item.Properties modifyVanillaWolfArmor(net.minecraft.world.item.Item.Properties original)
    • preventAttack

      public static boolean preventAttack(net.minecraft.world.entity.LivingEntity attacker, net.minecraft.world.entity.LivingEntity victim)
    • getLootingBoost

      public static int getLootingBoost(net.minecraft.core.Holder<net.minecraft.world.item.enchantment.Enchantment> enchantment, net.minecraft.world.level.storage.loot.LootContext context)
    • firePostAttack

      public static void firePostAttack(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.world.entity.Entity victim, net.minecraft.world.damagesource.DamageSource damageSource)