mirror of
https://github.com/exituser/Brewery.git
synced 2026-09-17 08:59:01 +00:00
Added and Fixed lots of JavaDocs
This commit is contained in:
@@ -191,7 +191,11 @@ public class LegacyUtil {
|
||||
}
|
||||
}
|
||||
|
||||
// 0 = empty, 1 = something in, 2 = full
|
||||
/**
|
||||
* Get The Fill Level of a Cauldron Block, 0 = empty, 1 = something in, 2 = full
|
||||
*
|
||||
* @return 0 = empty, 1 = something in, 2 = full
|
||||
*/
|
||||
public static byte getFillLevel(Block block) {
|
||||
if (block.getType() != Material.CAULDRON) {
|
||||
return EMPTY;
|
||||
@@ -219,7 +223,7 @@ public class LegacyUtil {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* only used to convert a very old Datafile or config from a very old version
|
||||
*/
|
||||
public static Material getMaterial(int id) {
|
||||
|
||||
Reference in New Issue
Block a user