Update
EnergonRelics/pipeline/head This commit looks good Details

This commit is contained in:
TheBrokenRail 2020-08-04 17:42:19 -04:00
parent b188cacee1
commit c542083c95
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ import net.minecraft.client.render.RenderLayer;
import net.minecraft.util.ActionResult; import net.minecraft.util.ActionResult;
@Environment(EnvType.CLIENT) @Environment(EnvType.CLIENT)
public class EnergonRelicsClient implements ClientModInitializer { public final class EnergonRelicsClient implements ClientModInitializer {
@Environment(EnvType.CLIENT) @Environment(EnvType.CLIENT)
private static class ReloadSerializer<T extends ConfigData> extends GsonConfigSerializer<T> { private static class ReloadSerializer<T extends ConfigData> extends GsonConfigSerializer<T> {
public ReloadSerializer(Config definition, Class<T> configClass) { public ReloadSerializer(Config definition, Class<T> configClass) {

View File

@ -8,7 +8,7 @@ import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment; import net.fabricmc.api.Environment;
@Environment(EnvType.CLIENT) @Environment(EnvType.CLIENT)
public class ModMenu implements ModMenuApi { public final class ModMenu implements ModMenuApi {
@Override @Override
public ConfigScreenFactory<?> getModConfigScreenFactory() { public ConfigScreenFactory<?> getModConfigScreenFactory() {
return screen -> AutoConfig.getConfigScreen(UserConfig.class, screen).get(); return screen -> AutoConfig.getConfigScreen(UserConfig.class, screen).get();

View File

@ -11,7 +11,7 @@ import net.fabricmc.api.Environment;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
@Environment(EnvType.CLIENT) @Environment(EnvType.CLIENT)
public class EnergonRelicsPlugin implements REIPluginV0 { public final class EnergonRelicsPlugin implements REIPluginV0 {
public static final Identifier INFUSER = new Identifier(EnergonRelics.NAMESPACE, "plugin/infuser"); public static final Identifier INFUSER = new Identifier(EnergonRelics.NAMESPACE, "plugin/infuser");
public static final Identifier REACTOR_FUEL = new Identifier(EnergonRelics.NAMESPACE, "plugin/reactor_fuel"); public static final Identifier REACTOR_FUEL = new Identifier(EnergonRelics.NAMESPACE, "plugin/reactor_fuel");