top.hendrixshen.magiclib.impl.carpet.MagicLibAddition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of magiclib-1_14_4 Show documentation
Show all versions of magiclib-1_14_4 Show documentation
To beat magic with magic :(
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