decrementStatistic

public abstract void decrementStatistic(Statistic statistic)

Decrements the given statistic for this player.

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

Parameters

statistic

Statistic to decrement

Throws

if the statistic requires an additional parameter


public abstract void decrementStatistic(Statistic statistic, int amount)

Decrements the given statistic for this player.

Parameters

statistic

Statistic to decrement

amount

Amount to decrement this statistic by

Throws

if the statistic requires an additional parameter


public abstract void decrementStatistic(Statistic statistic, Material material)

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

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

Parameters

statistic

Statistic to decrement

material

Material to offset the statistic with

Throws

if the given parameter is not valid for the statistic


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

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

Parameters

statistic

Statistic to decrement

material

Material to offset the statistic with

amount

Amount to decrement this statistic by

Throws

if the given parameter is not valid for the statistic


public abstract void decrementStatistic(Statistic statistic, EntityType entityType)

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

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

Parameters

statistic

Statistic to decrement

entityType

EntityType to offset the statistic with

Throws

if the given parameter is not valid for the statistic


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

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

Parameters

statistic

Statistic to decrement

entityType

EntityType to offset the statistic with

amount

Amount to decrement this statistic by

Throws

if the given parameter is not valid for the statistic