All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.hendrixshen.magiclib.impl.carpet.MagicLibAddition Maven / Gradle / Ivy

There is a newer version: 0.7.398+fe2125a-beta
Show newest version
package top.hendrixshen.magiclib.impl.carpet;

import com.mojang.brigadier.CommandDispatcher;
import net.minecraft.class_2168;
import top.hendrixshen.magiclib.MagicLibReference;
import top.hendrixshen.magiclib.carpet.api.CarpetExtensionCompatApi;
import top.hendrixshen.magiclib.carpet.impl.WrappedSettingManager;

public class MagicLibAddition implements CarpetExtensionCompatApi {
    @Override
    public WrappedSettingManager getSettingsManagerCompat() {
        return WrappedSettingManager.get(MagicLibReference.getModIdentifier());
    }

    @Override
    public void registerCommandCompat(CommandDispatcher dispatcher) {
    }

    @Override
    public void onGameStarted() {
        this.getSettingsManagerCompat().parseSettingsClass(MagicLibSettings.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy