mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 14:00:14 +00:00
rename all platform references
This commit is contained in:
1 parent
32b2f15f3b
commit
37c358e3d1
3 files changed
+6
-6
No files matched your search
@@ -122,7 +122,7 @@ public class PlatformImpl extends AbstractPlatform {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public @NotNull String platformName() {
|
public @NotNull String platformName() {
|
||||||
return "Fabric";
|
return "Forge";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
+4
-4
@@ -26,19 +26,19 @@ import com.dfsek.terra.api.properties.Properties;
|
|||||||
|
|
||||||
@SuppressWarnings("FieldMayBeFinal")
|
@SuppressWarnings("FieldMayBeFinal")
|
||||||
public class PreLoadCompatibilityOptions implements ConfigTemplate, Properties {
|
public class PreLoadCompatibilityOptions implements ConfigTemplate, Properties {
|
||||||
@Value("fabric.use-vanilla-biomes")
|
@Value("forge.use-vanilla-biomes")
|
||||||
@Default
|
@Default
|
||||||
private boolean vanillaBiomes = false;
|
private boolean vanillaBiomes = false;
|
||||||
|
|
||||||
@Value("fabric.beard.enable")
|
@Value("forge.beard.enable")
|
||||||
@Default
|
@Default
|
||||||
private boolean beard = true;
|
private boolean beard = true;
|
||||||
|
|
||||||
@Value("fabric.beard.threshold")
|
@Value("forge.beard.threshold")
|
||||||
@Default
|
@Default
|
||||||
private double beardThreshold = 0.5;
|
private double beardThreshold = 0.5;
|
||||||
|
|
||||||
@Value("fabric.beard.air-threshold")
|
@Value("forge.beard.air-threshold")
|
||||||
@Default
|
@Default
|
||||||
private double airThreshold = -0.5;
|
private double airThreshold = -0.5;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ import java.util.Optional;
|
|||||||
/**
|
/**
|
||||||
* Disable fossil generation in Terra worlds, as they are very expensive due to consistently triggering cache misses.
|
* Disable fossil generation in Terra worlds, as they are very expensive due to consistently triggering cache misses.
|
||||||
*
|
*
|
||||||
* Currently, on Fabric, Terra cannot be specified as a Nether generator. TODO: logic to turn fossils back on if chunk generator is in nether.
|
* Currently, on Forge, Terra cannot be specified as a Nether generator. TODO: logic to turn fossils back on if chunk generator is in nether.
|
||||||
*/
|
*/
|
||||||
@Mixin(NetherFossilStructure.class)
|
@Mixin(NetherFossilStructure.class)
|
||||||
public class NetherFossilOptimization {
|
public class NetherFossilOptimization {
|
||||||
|
|||||||
Reference in new issue
Block a user