Class AccessoryEffects
java.lang.Object
tech.anonymoushacker1279.immersiveweapons.event.game_effects.AccessoryEffects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbloodySacrificeEffect(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.LivingEntity damagedEntity) static voidcelestialSpiritEffect(net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.LivingEntity sourceEntity) static doublecollectEffects(AccessoryItem.EffectType type, net.minecraft.world.entity.player.Player player) Collect the value of the given effect from allAccessoryItems in the player's inventory.static voiddamageResistanceEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player) static voidgeneralDamageEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player) static voidjonnysCurseEffect(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.LivingEntity damagedEntity) static voidmeleeBleedChanceEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player, net.minecraft.world.entity.LivingEntity damagedEntity) static voidmeleeDamageEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player) static voidmeleeKnockbackEffects(net.minecraftforge.event.entity.living.LivingKnockBackEvent event, net.minecraft.world.entity.player.Player player) static voidprojectileDamageEffects(net.minecraftforge.event.entity.living.LivingHurtEvent event, net.minecraft.world.entity.player.Player player)
-
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 allAccessoryItems 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- theEffectTypeto collectplayer- thePlayerto 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)
-