incrementStatistic

public abstract void incrementStatistic(Statistic statistic)

Increments the given statistic for this player.

This is equivalent to the following code: incrementStatistic(Statistic, 1)

Parameters

statistic

Statistic to increment

Throws

if the statistic requires an additional parameter


public abstract void incrementStatistic(Statistic statistic, int amount)

Increments the given statistic for this player.

Parameters

statistic

Statistic to increment

amount

Amount to increment this statistic by

Throws

if the statistic requires an additional parameter


public abstract void incrementStatistic(Statistic statistic, Material material)

Increments the given statistic for this player for the given material.

This is equivalent to the following code: incrementStatistic(Statistic, Material, 1)

Parameters

statistic

Statistic to increment

material

Material to offset the statistic with

Throws

if the given parameter is not valid for the statistic


public abstract void incrementStatistic(Statistic statistic, Material material, int amount)

Increments the given statistic for this player for the given material.

Parameters

statistic

Statistic to increment

material

Material to offset the statistic with

amount

Amount to increment this statistic by

Throws

if the given parameter is not valid for the statistic


public abstract void incrementStatistic(Statistic statistic, EntityType entityType)

Increments the given statistic for this player for the given entity.

This is equivalent to the following code: incrementStatistic(Statistic, EntityType, 1)

Parameters

statistic

Statistic to increment

entityType

EntityType to offset the statistic with

Throws

if the given parameter is not valid for the statistic


public abstract void incrementStatistic(Statistic statistic, EntityType entityType, int amount)

Increments the given statistic for this player for the given entity.

Parameters

statistic

Statistic to increment

entityType

EntityType to offset the statistic with

amount

Amount to increment this statistic by

Throws

if the given parameter is not valid for the statistic