mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-18 11:29:23 +00:00
More null annotations
This commit is contained in:
1 parent
da8a833485
commit
a5daa93bf1
163 files changed
+952
-849
No files matched your search
@@ -4,18 +4,17 @@ import net.minecraft.util.IStringSerializable;
|
||||
import net.minecraft.util.text.TextFormatting;
|
||||
import net.minecraft.util.text.translation.I18n;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
public enum EnumAcidity implements IStringSerializable {
|
||||
Acid(TextFormatting.RED),
|
||||
Neutral,
|
||||
Neutral(null),
|
||||
Alkaline(TextFormatting.AQUA);
|
||||
|
||||
@Nullable
|
||||
final TextFormatting color;
|
||||
|
||||
EnumAcidity() {
|
||||
this(null);
|
||||
}
|
||||
|
||||
EnumAcidity(TextFormatting color) {
|
||||
EnumAcidity(@Nullable TextFormatting color) {
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user