Class SpeedModifier
java.lang.Object
com.pixelmonmod.pixelmon.items.armor.armoreffects.SpeedModifier
- All Implemented Interfaces:
IItemAttributeModifier
The speed modifier given by evolution stone boots.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.
-
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 interfaceIItemAttributeModifier
-
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.
-