#549: Add Fluid types / tags

By: Martoph <sager1018@gmail.com>
This commit is contained in:
Bukkit/Spigot
2020-09-14 19:36:28 +10:00
parent 60074ffbfd
commit 9ff0ebcc6a
3 changed files with 42 additions and 0 deletions

View File

@@ -158,6 +158,12 @@ public interface Registry<T extends Keyed> extends Iterable<T> {
return MemoryKey.getByKey(key);
}
};
/**
* Server fluids.
*
* @see Fluid
*/
Registry<Fluid> FLUID = new SimpleRegistry<>(Fluid.class);
/**
* Get the object by its key.