Skip to content

Commit

Permalink
3.0.0 - 1.18.1 BETA
Browse files Browse the repository at this point in the history
  • Loading branch information
EwyBoy committed Jan 16, 2022
1 parent 847243f commit edd77ca
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 43 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
org.gradle.jvmargs=-Xmx3G

# Mod Info
VERSION=3.0.0
VERSION=3.0.0-beta
AUTHOR=Ewy
MODNAME=OreTweaker
MODID=oretweaker

# Dependencies
MC_VERSION=1.18.1
FORGE_VERSION=39.0.18
FORGE_VERSION=39.0.20

# Mappings
MCP_CHANNEL=official
Expand Down
22 changes: 15 additions & 7 deletions src/main/java/com/ewyboy/oretweaker/json/template/Templates.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import com.ewyboy.oretweaker.json.template.templates.defaults.nether.stone.SoulSandTweak;
import com.ewyboy.oretweaker.json.template.templates.defaults.overworld.ores.*;
import com.ewyboy.oretweaker.json.template.templates.defaults.overworld.stones.*;
import com.ewyboy.oretweaker.json.template.templates.other.FuckSilverfishTemplate;
import com.ewyboy.oretweaker.json.template.templates.remove.RemoveEverything;
import com.ewyboy.oretweaker.json.template.templates.remove.RemoveEverythingNether;
import com.ewyboy.oretweaker.json.template.templates.remove.RemoveEverythingOverworld;
Expand All @@ -33,13 +32,25 @@
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;

public class Templates {

public static final List<String> MOUNTAIN = Collections.singletonList("MOUNTAIN");
public static final List<String> BADLANDS = Arrays.asList("minecraft:badlands", "minecraft:eroded_badlands", "minecraft:wooded_badlands");
public static final List<String> MOUNTAIN = Arrays.asList(
"minecraft:windswept_hills",
"minecraft:grove",
"minecraft:meadow",
"minecraft:snowy_slopes",
"minecraft:frozen_peaks",
"minecraft:jagged_peaks",
"minecraft:stony_peaks"
);

public static final List<String> BADLANDS = Arrays.asList(
"minecraft:badlands",
"minecraft:eroded_badlands",
"minecraft:wooded_badlands"
);

public static final class GeneratedTemplates {

Expand All @@ -56,7 +67,6 @@ public static final class GeneratedTemplates {
public static final RemoveEverythingOverworld REMOVE_EVERYTHING_OVERWORLD = new RemoveEverythingOverworld();

public static final RemoveIgneousRocks REMOVE_IGNEOUS_ROCKS = new RemoveIgneousRocks();
public static final FuckSilverfishTemplate FUCK_SILVERFISH_TEMPLATE = new FuckSilverfishTemplate();

public static final CoalOreTweak COAL_ORE_TWEAK = new CoalOreTweak();
public static final CopperOreTweak COPPER_ORE_TWEAK = new CopperOreTweak();
Expand Down Expand Up @@ -120,13 +130,11 @@ public static final class DefaultData {
public static final class Directories {
public static final Path DEFAULTS_PATH = Paths.get(Templates, "defaults");
public static final Path REMOVE_PATH = Paths.get(Templates, "remove");
public static final Path OTHER_PATH = Paths.get(Templates, "other");
}

public static void setupDirectories() {
DirectoryHandler.createDirectories(Directories.DEFAULTS_PATH);
DirectoryHandler.createDirectories(Directories.REMOVE_PATH);
DirectoryHandler.createDirectories(Directories.OTHER_PATH);
}


Expand Down

This file was deleted.

0 comments on commit edd77ca

Please sign in to comment.