Added and Fixed lots of JavaDocs

This commit is contained in:
Sn0wStorm
2019-11-25 22:16:16 +01:00
parent c287b6350f
commit 16c03f9da1
32 changed files with 513 additions and 308 deletions
+6 -2
View File
@@ -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) {