Class AttributesMock

java.lang.Object
be.seeseemelk.mockbukkit.attribute.AttributesMock

public class AttributesMock extends Object
Mocks the net.minecraft.world.entity.ai.attributes.Attributes class with the default Attribute values.
  • Method Details

    • getDefaultValue

      public static double getDefaultValue(@NotNull @NotNull org.bukkit.attribute.Attribute attribute)
      Gets the default value of an Attribute.
      Parameters:
      attribute - The attribute to get.
      Returns:
      The default value of the attribute.