1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

[Ci skip] Refactoring

This commit is contained in:
TheBusyBiscuit 2020-01-25 13:36:36 +01:00
parent 2d9df90b1b
commit 81b80643d3

View File

@ -29,17 +29,19 @@ public interface GEOResource {
ItemStack getItem(); ItemStack getItem();
/** /**
* Measurement Unit e.g. "Buckets" * Measurement Unit e.g. "Bucket" / "Buckets".
* Use the amount parameter to determine whether to use singular or plural.
* *
* @return The Measurement Unit for this resource, will be treated like a suffix. * @return The Measurement Unit for this resource, will be treated like a suffix.
*/ */
String getMeasurementUnit(); String getMeasurementUnit(int amount);
/** /**
* Returns whether this Resource is considered a liquid. * Returns whether this Resource can be obtained using a GEO Miner.
* This will automatically add it to the GEO - Miner.
* *
* @return Whether this is a liquid. * @return Whether you can get obtain this resource using a GEO Miner.
*/ */
boolean isLiquid(); boolean isObtainableFromGEOMiner();
} }