java.lang.Object
com.pixelmonmod.pixelmon.items.armor.armoreffects.SpeedModifier
All Implemented Interfaces:
IItemAttributeModifier

public class SpeedModifier extends Object implements IItemAttributeModifier
The speed modifier given by evolution stone boots.
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpeedModifier(float amount)
    Initializes the modifier.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier>
    getAttributeModifiers(net.minecraft.world.item.ItemStack stack, GenericArmor armor)
     
    com.google.common.collect.Multimap<String,net.minecraft.world.entity.ai.attributes.AttributeModifier>
    Gets the normal evolution stone boots speed boost attribute.

    Methods inherited from class java.lang.Object

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

    • SpeedModifier

      public SpeedModifier(float amount)
      Initializes the modifier.
      Parameters:
      amount - The amount to increase speed by.
  • Method Details

    • getAttributeModifiers

      public com.google.common.collect.Multimap<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getAttributeModifiers(net.minecraft.world.item.ItemStack stack, GenericArmor armor)
      Specified by:
      getAttributeModifiers in interface IItemAttributeModifier
    • getNormalAttribute

      public com.google.common.collect.Multimap<String,net.minecraft.world.entity.ai.attributes.AttributeModifier> getNormalAttribute()
      Gets the normal evolution stone boots speed boost attribute.
      Returns:
      The normal evolution stone boots speed boost attribute.