mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-17 11:05:32 +00:00
[1.7.10] Added some localization (#106)
* Some refactoring * Some refactoring Added some localization * Added some localization Fix wrong branch localization in page branch overview Simplify some localization * Simplify some localization * Removed unused localize method * Simplify some localization * Removed proxy.localise method * Simplify localization * Added some localization * Added some localization * Added some localization * Some refactoring
This commit is contained in:
1 parent
1ffaad9fcd
commit
bd0dbc3e14
54 files changed
+394
-520
No files matched your search
@@ -154,31 +154,6 @@ public class ExtraTreeMutation implements ITreeMutation {
|
||||
return allele;
|
||||
}
|
||||
|
||||
public ExtraTreeMutation setIsSecret() {
|
||||
isSecret = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtraTreeMutation setTemperature(float minTemperature, float maxTemperature) {
|
||||
this.minTemperature = minTemperature;
|
||||
this.maxTemperature = maxTemperature;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtraTreeMutation setRainfall(float minRainfall, float maxRainfall) {
|
||||
this.minRainfall = minRainfall;
|
||||
this.maxRainfall = maxRainfall;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtraTreeMutation setTemperatureRainfall(float minTemperature, float maxTemperature, float minRainfall, float maxRainfall) {
|
||||
this.minTemperature = minTemperature;
|
||||
this.maxTemperature = maxTemperature;
|
||||
this.minRainfall = minRainfall;
|
||||
this.maxRainfall = maxRainfall;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ExtraTreeMutation setHeight(int minHeight) {
|
||||
height = minHeight;
|
||||
return this;
|
||||
@@ -246,7 +221,7 @@ public class ExtraTreeMutation implements ITreeMutation {
|
||||
|
||||
@Override
|
||||
public Collection<String> getSpecialConditions() {
|
||||
List<String> conditions = new ArrayList<String>();
|
||||
List<String> conditions = new ArrayList<>();
|
||||
if (height > 0.0f) {
|
||||
conditions.add("Minimum height from bedrock of " + height);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user