mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 06:11:24 +00:00
Remove unused config keys
This commit is contained in:
-80
@@ -41,10 +41,6 @@ public class ConfigPackTemplate implements ConfigTemplate {
|
|||||||
@Default
|
@Default
|
||||||
private @Meta Map<String, @Meta Double> variables = new HashMap<>();
|
private @Meta Map<String, @Meta Double> variables = new HashMap<>();
|
||||||
|
|
||||||
@Value("beta.carving")
|
|
||||||
@Default
|
|
||||||
private @Meta boolean betaCarvers = false;
|
|
||||||
|
|
||||||
@Value("structures.locatable")
|
@Value("structures.locatable")
|
||||||
@Default
|
@Default
|
||||||
private @Meta Map<@Meta String, @Meta String> locatable = new HashMap<>();
|
private @Meta Map<@Meta String, @Meta String> locatable = new HashMap<>();
|
||||||
@@ -53,22 +49,6 @@ public class ConfigPackTemplate implements ConfigTemplate {
|
|||||||
@Default
|
@Default
|
||||||
private @Meta int elevationBlend = 4;
|
private @Meta int elevationBlend = 4;
|
||||||
|
|
||||||
@Value("vanilla.mobs")
|
|
||||||
@Default
|
|
||||||
private @Meta boolean vanillaMobs = true;
|
|
||||||
|
|
||||||
@Value("vanilla.caves")
|
|
||||||
@Default
|
|
||||||
private @Meta boolean vanillaCaves = false;
|
|
||||||
|
|
||||||
@Value("vanilla.decorations")
|
|
||||||
@Default
|
|
||||||
private @Meta boolean vanillaDecorations = false;
|
|
||||||
|
|
||||||
@Value("vanilla.structures")
|
|
||||||
@Default
|
|
||||||
private @Meta boolean vanillaStructures = false;
|
|
||||||
|
|
||||||
@Value("author")
|
@Value("author")
|
||||||
@Default
|
@Default
|
||||||
private String author = "Anon Y. Mous";
|
private String author = "Anon Y. Mous";
|
||||||
@@ -84,26 +64,6 @@ public class ConfigPackTemplate implements ConfigTemplate {
|
|||||||
@Value("version")
|
@Value("version")
|
||||||
private Version version;
|
private Version version;
|
||||||
|
|
||||||
@Value("disable.carvers")
|
|
||||||
@Default
|
|
||||||
private @Meta boolean disableCarvers = false;
|
|
||||||
|
|
||||||
@Value("disable.structures")
|
|
||||||
@Default
|
|
||||||
private @Meta boolean disableStructures = false;
|
|
||||||
|
|
||||||
@Value("disable.ores")
|
|
||||||
@Default
|
|
||||||
private @Meta boolean disableOres = false;
|
|
||||||
|
|
||||||
@Value("disable.trees")
|
|
||||||
@Default
|
|
||||||
private @Meta boolean disableTrees = false;
|
|
||||||
|
|
||||||
@Value("disable.flora")
|
|
||||||
@Default
|
|
||||||
private @Meta boolean disableFlora = false;
|
|
||||||
|
|
||||||
@Value("generator")
|
@Value("generator")
|
||||||
private @Meta ChunkGeneratorProvider generatorProvider;
|
private @Meta ChunkGeneratorProvider generatorProvider;
|
||||||
|
|
||||||
@@ -111,46 +71,6 @@ public class ConfigPackTemplate implements ConfigTemplate {
|
|||||||
@Default
|
@Default
|
||||||
private boolean biomeCache = false;
|
private boolean biomeCache = false;
|
||||||
|
|
||||||
public boolean disableCarvers() {
|
|
||||||
return disableCarvers;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean disableFlora() {
|
|
||||||
return disableFlora;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean disableOres() {
|
|
||||||
return disableOres;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean disableStructures() {
|
|
||||||
return disableStructures;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean disableTrees() {
|
|
||||||
return disableTrees;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean vanillaMobs() {
|
|
||||||
return vanillaMobs;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean vanillaCaves() {
|
|
||||||
return vanillaCaves;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean vanillaDecorations() {
|
|
||||||
return vanillaDecorations;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean vanillaStructures() {
|
|
||||||
return vanillaStructures;
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean doBetaCarvers() {
|
|
||||||
return betaCarvers;
|
|
||||||
}
|
|
||||||
|
|
||||||
public ChunkGeneratorProvider getGeneratorProvider() {
|
public ChunkGeneratorProvider getGeneratorProvider() {
|
||||||
return generatorProvider;
|
return generatorProvider;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ import net.gudenau.minecraft.asm.api.v1.AsmRegistry;
|
|||||||
|
|
||||||
import com.dfsek.terra.lifecycle.asm.FertilizableASM;
|
import com.dfsek.terra.lifecycle.asm.FertilizableASM;
|
||||||
import com.dfsek.terra.lifecycle.util.LoaderUtil;
|
import com.dfsek.terra.lifecycle.util.LoaderUtil;
|
||||||
import com.dfsek.terra.quilt.util.QuiltLoaderUtil;
|
|
||||||
|
|
||||||
|
|
||||||
public class FabricASMEntryPoint implements AsmInitializer {
|
public class FabricASMEntryPoint implements AsmInitializer {
|
||||||
|
|||||||
+1
-1
@@ -14,8 +14,8 @@ import org.objectweb.asm.tree.VarInsnNode;
|
|||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
import com.dfsek.terra.lifecycle.util.LoaderUtil;
|
|
||||||
import com.dfsek.terra.lifecycle.util.ASMUtil;
|
import com.dfsek.terra.lifecycle.util.ASMUtil;
|
||||||
|
import com.dfsek.terra.lifecycle.util.LoaderUtil;
|
||||||
import com.dfsek.terra.mod.util.FertilizableUtil;
|
import com.dfsek.terra.mod.util.FertilizableUtil;
|
||||||
|
|
||||||
import static org.objectweb.asm.Opcodes.ACC_STATIC;
|
import static org.objectweb.asm.Opcodes.ACC_STATIC;
|
||||||
|
|||||||
Reference in New Issue
Block a user