This commit is contained in:
parent
b188cacee1
commit
c542083c95
@ -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) {
|
||||||
|
@ -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();
|
||||||
|
@ -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");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user