mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 11:59:11 +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 EnumMoisture implements IStringSerializable {
|
||||
Dry(TextFormatting.YELLOW),
|
||||
Normal,
|
||||
Normal(null),
|
||||
Damp(TextFormatting.DARK_BLUE);
|
||||
|
||||
@Nullable
|
||||
final TextFormatting color;
|
||||
|
||||
EnumMoisture() {
|
||||
this(null);
|
||||
}
|
||||
|
||||
EnumMoisture(TextFormatting color) {
|
||||
EnumMoisture(@Nullable TextFormatting color) {
|
||||
this.color = color;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user