Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
MehVahdJukaar committed Jan 27, 2025
1 parent 13519a6 commit e712eb4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package net.mehvahdjukaar.moonlight.api.resources.pack;

import com.google.common.base.Preconditions;
import com.google.common.base.Stopwatch;
import com.google.common.base.Suppliers;
import com.google.gson.JsonElement;
import dev.architectury.injectables.annotations.PlatformOnly;
import net.mehvahdjukaar.moonlight.api.integration.ModernFixCompat;
import net.mehvahdjukaar.moonlight.api.misc.ResourceLocationSearchTrie;
import net.mehvahdjukaar.moonlight.api.misc.PathTrie;
import net.mehvahdjukaar.moonlight.api.platform.PlatHelper;
import net.mehvahdjukaar.moonlight.api.resources.RPUtils;
Expand All @@ -15,6 +13,7 @@
import net.mehvahdjukaar.moonlight.api.resources.assets.LangBuilder;
import net.mehvahdjukaar.moonlight.core.CommonConfigs;
import net.mehvahdjukaar.moonlight.core.CompatHandler;
import net.mehvahdjukaar.moonlight.core.Moonlight;
import net.minecraft.SharedConstants;
import net.minecraft.network.chat.Component;
import net.minecraft.resources.ResourceLocation;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package net.mehvahdjukaar.moonlight.core;

import net.mehvahdjukaar.moonlight.api.platform.configs.ConfigBuilder;
import net.mehvahdjukaar.moonlight.api.platform.configs.ConfigSpec;
import net.mehvahdjukaar.moonlight.api.platform.configs.ConfigType;
import net.mehvahdjukaar.moonlight.api.platform.configs.ModConfigHolder;

import java.util.function.Supplier;

public class CommonConfigs {

public static final Supplier<Boolean> CLEAR_RESOURCES;

public static final ModConfigHolder CONFIG;
public static final ConfigSpec CONFIG;

static {
ConfigBuilder builder = ConfigBuilder.create(Moonlight.MOD_ID, ConfigType.COMMON);
Expand All @@ -19,7 +19,7 @@ public class CommonConfigs {
.define("clear_dynamic_resources", true);
builder.pop();

CONFIG = builder.build();
CONFIG = builder.buildAndRegister();
}

public static void init() {
Expand Down
4 changes: 2 additions & 2 deletions forge/update.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"homepage": "https://www.curseforge.com/minecraft/mc-mods/selene",
"promos": {
"1.19.2-latest": "1.20-2.13.53",
"1.19.2-recommended": "1.20-2.13.53"
"1.19.2-latest": "1.20-2.13.54",
"1.19.2-recommended": "1.20-2.13.54"
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ minecraft_version = 1.20.1
enabled_platforms = fabric,forge

mod_id = moonlight
mod_version = 1.20-2.13.53
mod_version = 1.20-2.13.54
maven_group = net.mehvahdjukaar
project_id = 499980

Expand Down

0 comments on commit e712eb4

Please sign in to comment.