java.lang.Object
tech.anonymoushacker1279.immersiveweapons.event.game_effects.AccessoryEffects

public class AccessoryEffects extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    bloodySacrificeEffect(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.LivingEntity damagedEntity)
     
    static void
    celestialSpiritEffect(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.LivingEntity sourceEntity)
     
    static double
    collectEffects(AccessoryItem.EffectType type, net.minecraft.world.entity.player.Player player)
    Collect the value of the given effect from all AccessoryItems in the player's inventory.
    static void
    damageResistanceEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player)
     
    static void
    generalDamageEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player)
     
    static void
    jonnysCurseEffect(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.LivingEntity damagedEntity)
     
    static void
    meleeBleedChanceEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.LivingEntity damagedEntity)
     
    static void
    meleeDamageEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player)
     
    static void
    meleeKnockbackEffects(net.minecraftforge.event.entity.living.LivingKnockBackEvent event, net.minecraft.world.entity.player.Player player)
     
    static void
    projectileDamageEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player)
     

    Methods inherited from class java.lang.Object

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

    • AccessoryEffects

      public AccessoryEffects()
  • Method Details

    • collectEffects

      public static double collectEffects(AccessoryItem.EffectType type, net.minecraft.world.entity.player.Player player)
      Collect the value of the given effect from all AccessoryItems in the player's inventory.

      This will check to see if IWCB is loaded, and if so, defer to it for collecting effects as it will utilize Curios.

      Parameters:
      type - the EffectType to collect
      player - the Player to collect from
      Returns:
      the value of the effect
    • damageResistanceEffects

      public static void damageResistanceEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player)
    • meleeDamageEffects

      public static void meleeDamageEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player)
    • projectileDamageEffects

      public static void projectileDamageEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player)
    • generalDamageEffects

      public static void generalDamageEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player)
    • meleeBleedChanceEffects

      public static void meleeBleedChanceEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.LivingEntity damagedEntity)
    • meleeKnockbackEffects

      public static void meleeKnockbackEffects(net.minecraftforge.event.entity.living.LivingKnockBackEvent event, net.minecraft.world.entity.player.Player player)
    • bloodySacrificeEffect

      public static void bloodySacrificeEffect(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.LivingEntity damagedEntity)
    • jonnysCurseEffect

      public static void jonnysCurseEffect(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.LivingEntity damagedEntity)
    • celestialSpiritEffect

      public static void celestialSpiritEffect(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.LivingEntity sourceEntity)