getStatistic

public abstract int getStatistic(Statistic statistic)

Gets the value of the given statistic for this player.

Return

the value of the given statistic

Parameters

statistic

Statistic to check

Throws

if the statistic requires an additional parameter


public abstract int getStatistic(Statistic statistic, Material material)

Gets the value of the given statistic for this player.

Return

the value of the given statistic

Parameters

statistic

Statistic to check

material

Material offset of the statistic

Throws

if the given parameter is not valid for the statistic


public abstract int getStatistic(Statistic statistic, EntityType entityType)

Gets the value of the given statistic for this player.

Return

the value of the given statistic

Parameters

statistic

Statistic to check

entityType

EntityType offset of the statistic

Throws

if the given parameter is not valid for the statistic