Class ExpandMobEffect

java.lang.Object
com.blamejared.crafttweaker.natives.entity.effect.ExpandMobEffect

@ZenRegister public class ExpandMobEffect extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.effect.MobEffect
    addAttributeModifier(net.minecraft.world.effect.MobEffect internal, net.minecraft.world.entity.ai.attributes.Attribute attribute, String name, double value, net.minecraft.world.entity.ai.attributes.AttributeModifier.Operation operation)
     
    static void
    applyEffectTick(net.minecraft.world.effect.MobEffect internal, net.minecraft.world.entity.LivingEntity entity, int amplifier)
     
    static void
    applyInstantenousEffect(net.minecraft.world.effect.MobEffect internal, net.minecraft.world.entity.Entity source, net.minecraft.world.entity.Entity indirectSource, net.minecraft.world.entity.LivingEntity target, int amplifier, double effectiveness)
     
    static Map<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier>
    getAttributeModifiers(net.minecraft.world.effect.MobEffect internal)
     
    static double
    getAttributeModifierValue(net.minecraft.world.effect.MobEffect internal, int amplifier, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
     
    static net.minecraft.world.effect.MobEffectCategory
    getCategory(net.minecraft.world.effect.MobEffect internal)
     
    static int
    getColor(net.minecraft.world.effect.MobEffect internal)
     
    static String
    getCommandString(net.minecraft.world.effect.MobEffect internal)
     
    static String
    getDescriptionId(net.minecraft.world.effect.MobEffect internal)
     
    static net.minecraft.network.chat.Component
    getDisplayName(net.minecraft.world.effect.MobEffect internal)
     
    static net.minecraft.resources.ResourceLocation
    getRegistryName(net.minecraft.world.effect.MobEffect internal)
     
    static boolean
    isBeneficial(net.minecraft.world.effect.MobEffect internal)
     
    static boolean
    isDurationEffectTick(net.minecraft.world.effect.MobEffect internal, int duration, int amplifier)
     
    static boolean
    isInstantenous(net.minecraft.world.effect.MobEffect internal)
     

    Methods inherited from class java.lang.Object

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

    • ExpandMobEffect

      public ExpandMobEffect()
  • Method Details

    • applyEffectTick

      public static void applyEffectTick(net.minecraft.world.effect.MobEffect internal, net.minecraft.world.entity.LivingEntity entity, int amplifier)
    • applyInstantenousEffect

      public static void applyInstantenousEffect(net.minecraft.world.effect.MobEffect internal, @Nullable net.minecraft.world.entity.Entity source, @Nullable net.minecraft.world.entity.Entity indirectSource, net.minecraft.world.entity.LivingEntity target, int amplifier, double effectiveness)
    • isDurationEffectTick

      public static boolean isDurationEffectTick(net.minecraft.world.effect.MobEffect internal, int duration, int amplifier)
    • isInstantenous

      public static boolean isInstantenous(net.minecraft.world.effect.MobEffect internal)
    • getDescriptionId

      public static String getDescriptionId(net.minecraft.world.effect.MobEffect internal)
    • getDisplayName

      public static net.minecraft.network.chat.Component getDisplayName(net.minecraft.world.effect.MobEffect internal)
    • getCategory

      public static net.minecraft.world.effect.MobEffectCategory getCategory(net.minecraft.world.effect.MobEffect internal)
    • getColor

      public static int getColor(net.minecraft.world.effect.MobEffect internal)
    • addAttributeModifier

      public static net.minecraft.world.effect.MobEffect addAttributeModifier(net.minecraft.world.effect.MobEffect internal, net.minecraft.world.entity.ai.attributes.Attribute attribute, String name, double value, net.minecraft.world.entity.ai.attributes.AttributeModifier.Operation operation)
    • getAttributeModifiers

      public static Map<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getAttributeModifiers(net.minecraft.world.effect.MobEffect internal)
    • getAttributeModifierValue

      public static double getAttributeModifierValue(net.minecraft.world.effect.MobEffect internal, int amplifier, net.minecraft.world.entity.ai.attributes.AttributeModifier modifier)
    • isBeneficial

      public static boolean isBeneficial(net.minecraft.world.effect.MobEffect internal)
    • getRegistryName

      public static net.minecraft.resources.ResourceLocation getRegistryName(net.minecraft.world.effect.MobEffect internal)
    • getCommandString

      public static String getCommandString(net.minecraft.world.effect.MobEffect internal)