aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/client/Weather.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-03-19 14:25:15 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-03-19 14:25:15 +0800
commitc2d28cbf7028ffed2f56169adbce3f03cc0c5b49 (patch)
tree4d96cb58c551255a08a3abde18b067174c1c1246 /src/main/java/me/shedaniel/rei/client/Weather.java
parent032b88e7f3784753987e9fdbf11c33d620b76d65 (diff)
downloadRoughlyEnoughItems-c2d28cbf7028ffed2f56169adbce3f03cc0c5b49.tar.gz
RoughlyEnoughItems-c2d28cbf7028ffed2f56169adbce3f03cc0c5b49.tar.bz2
RoughlyEnoughItems-c2d28cbf7028ffed2f56169adbce3f03cc0c5b49.zip
v2.5 Beta
Diffstat (limited to 'src/main/java/me/shedaniel/rei/client/Weather.java')
-rw-r--r--src/main/java/me/shedaniel/rei/client/Weather.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/main/java/me/shedaniel/rei/client/Weather.java b/src/main/java/me/shedaniel/rei/client/Weather.java
index b4cc2dc04..f59cba7d4 100644
--- a/src/main/java/me/shedaniel/rei/client/Weather.java
+++ b/src/main/java/me/shedaniel/rei/client/Weather.java
@@ -1,14 +1,14 @@
package me.shedaniel.rei.client;
public enum Weather {
- CLEAR(0, "Clear"), RAIN(1, "Rain"), THUNDER(2, "Thunder");
+ CLEAR(0, "text.rei.weather.clear"), RAIN(1, "text.rei.weather.rain"), THUNDER(2, "text.rei.weather.thunder");
private final int id;
- private final String name;
+ private final String translateKey;
- Weather(int id, String name) {
+ Weather(int id, String translateKey) {
this.id = id;
- this.name = name;
+ this.translateKey = translateKey;
}
public static Weather byId(int int_1) {
@@ -31,8 +31,7 @@ public enum Weather {
return id;
}
- public String getName() {
- return name;
+ public String getTranslateKey() {
+ return translateKey;
}
-
}