Uses of Enum Class
studio.magemonkey.genesis.misc.CurrencyTools.GenesisCurrency
Packages that use CurrencyTools.GenesisCurrency
-
Uses of CurrencyTools.GenesisCurrency in studio.magemonkey.genesis.misc
Methods in studio.magemonkey.genesis.misc that return CurrencyTools.GenesisCurrencyModifier and TypeMethodDescriptionCurrencyTools.GenesisCurrency.detectCurrency(String name) Returns the enum constant of this class with the specified name.static CurrencyTools.GenesisCurrency[]CurrencyTools.GenesisCurrency.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in studio.magemonkey.genesis.misc with parameters of type CurrencyTools.GenesisCurrencyModifier and TypeMethodDescriptionstatic StringCurrencyTools.getDisplayPrice(CurrencyTools.GenesisCurrency currency, double price) Get the display price for somethingstatic voidCurrencyTools.giveReward(org.bukkit.entity.Player p, CurrencyTools.GenesisCurrency currency, double reward) Give a currency reward to a playerstatic booleanCurrencyTools.hasValue(org.bukkit.entity.Player p, CurrencyTools.GenesisCurrency currency, double value, boolean failMessage) Check if a player has enough of a specific currencystatic StringCurrencyTools.takePrice(org.bukkit.entity.Player p, CurrencyTools.GenesisCurrency currency, double cost) Take currency from a player