Class GriefStats
java.lang.Object
ua.mcchickenstudio.opencreative.wanders.GriefStats
GriefStats
This class represents statistics of destructive changes in a world.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCreeperSummonsAmount(int amount) Adds amount of creeper summons.voidaddDestroyedBlocksAmount(int amount) Adds amount of destroyed blocks.voidaddDestroyedCodingBlocksAmount(int amount) Adds amount of destroyed coding blocks.voidaddDestroyedHangingsAmount(int amount) Adds amount of destroyed item frames or paintings.voidaddDragonsSummonsAmount(int amount) Adds amount of summoned ender dragons.voidaddLavaPlacementsAmount(int amount) Adds amount of lava placements.voidaddTntPlacementsAmount(int amount) Adds amount of tnt placements.voidaddWithersSummonsAmount(int amount) Adds amount of summoned withers.voidclear()Clears stats.@NotNull Stringintintintintintboolean
-
Constructor Details
-
GriefStats
public GriefStats()
-
-
Method Details
-
addDestroyedBlocksAmount
public void addDestroyedBlocksAmount(int amount) Adds amount of destroyed blocks.- Parameters:
amount- amount of destroyed blocks.
-
addDestroyedCodingBlocksAmount
public void addDestroyedCodingBlocksAmount(int amount) Adds amount of destroyed coding blocks.- Parameters:
amount- amount of destroyed coding blocks.
-
addDestroyedHangingsAmount
public void addDestroyedHangingsAmount(int amount) Adds amount of destroyed item frames or paintings.- Parameters:
amount- amount of destroyed hangings.
-
addLavaPlacementsAmount
public void addLavaPlacementsAmount(int amount) Adds amount of lava placements.- Parameters:
amount- amount of placed lava.
-
addTntPlacementsAmount
public void addTntPlacementsAmount(int amount) Adds amount of tnt placements.- Parameters:
amount- amount of placed tnt.
-
addCreeperSummonsAmount
public void addCreeperSummonsAmount(int amount) Adds amount of creeper summons.- Parameters:
amount- amount of summoned creepers.
-
addWithersSummonsAmount
public void addWithersSummonsAmount(int amount) Adds amount of summoned withers.- Parameters:
amount- amount of summoned withers.
-
addDragonsSummonsAmount
public void addDragonsSummonsAmount(int amount) Adds amount of summoned ender dragons.- Parameters:
amount- amount of summoned ender dragons.
-
getDestroyedBlocksAmount
public int getDestroyedBlocksAmount() -
getLavaPlacementsAmount
public int getLavaPlacementsAmount() -
getTntPlacementsAmount
public int getTntPlacementsAmount() -
getDestroyedCodingBlocksAmount
public int getDestroyedCodingBlocksAmount() -
getDestroyedHangingsAmount
public int getDestroyedHangingsAmount() -
isSuspicious
public boolean isSuspicious() -
getAsString
-
clear
public void clear()Clears stats.
-