Class PixieHandler

java.lang.Object
vazkii.botania.common.handler.PixieHandler

public final class PixieHandler extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.entity.ai.attributes.AttributeModifier
    makeModifier(String name, double amount)
     
    static void
    onDamageTaken(net.minecraft.world.entity.player.Player player, net.minecraft.world.damagesource.DamageSource source)
     
    static void
    registerAttribute(BiConsumer<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.resources.ResourceLocation> r)
     

    Methods inherited from class java.lang.Object

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

    • PIXIE_SPAWN_CHANCE

      public static final net.minecraft.core.Holder<net.minecraft.world.entity.ai.attributes.Attribute> PIXIE_SPAWN_CHANCE
  • Method Details

    • registerAttribute

      public static void registerAttribute(BiConsumer<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.resources.ResourceLocation> r)
    • makeModifier

      public static net.minecraft.world.entity.ai.attributes.AttributeModifier makeModifier(String name, double amount)
    • onDamageTaken

      public static void onDamageTaken(net.minecraft.world.entity.player.Player player, net.minecraft.world.damagesource.DamageSource source)