Class ModHooks
java.lang.Object
net.darkhax.wolfenchantments.common.ModHooks
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidfirePostAttack(net.minecraft.server.level.ServerLevel serverLevel, net.minecraft.world.entity.Entity victim, net.minecraft.world.damagesource.DamageSource damageSource) static intgetLootingBoost(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.PropertiesmodifyVanillaWolfArmor(net.minecraft.world.item.Item.Properties original) static booleanpreventAttack(net.minecraft.world.entity.LivingEntity attacker, net.minecraft.world.entity.LivingEntity victim)
-
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)
-