mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-22 07:43:49 -07:00
25 lines
426 B
Java
25 lines
426 B
Java
package org.bukkit;
|
|
|
|
import java.util.Locale;
|
|
import org.jetbrains.annotations.NotNull;
|
|
|
|
public enum Fluid implements Keyed {
|
|
|
|
WATER,
|
|
FLOWING_WATER,
|
|
LAVA,
|
|
FLOWING_LAVA;
|
|
|
|
private final NamespacedKey key;
|
|
|
|
private Fluid() {
|
|
this.key = NamespacedKey.minecraft(this.name().toLowerCase(Locale.ROOT));
|
|
}
|
|
|
|
@NotNull
|
|
@Override
|
|
public NamespacedKey getKey() {
|
|
return key;
|
|
}
|
|
}
|