Class AttributesMock
java.lang.Object
be.seeseemelk.mockbukkit.attribute.AttributesMock
Mocks the
net.minecraft.world.entity.ai.attributes.Attributes class with the default Attribute values.-
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetDefaultValue(@NotNull org.bukkit.attribute.Attribute attribute) Gets the default value of anAttribute.
-
Method Details
-
getDefaultValue
public static double getDefaultValue(@NotNull @NotNull org.bukkit.attribute.Attribute attribute) Gets the default value of anAttribute.- Parameters:
attribute- The attribute to get.- Returns:
- The default value of the attribute.
-