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

top.hendrixshen.magiclib.api.compat.minecraft.client.MinecraftCompat Maven / Gradle / Ivy

There is a newer version: 0.6.59
Show newest version
package top.hendrixshen.magiclib.api.compat.minecraft.client;

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.class_1041;
import net.minecraft.class_310;
import org.jetbrains.annotations.NotNull;
import top.hendrixshen.magiclib.impl.compat.minecraft.client.MinecraftCompatImpl;
import top.hendrixshen.magiclib.util.collect.Provider;

@Environment(EnvType.CLIENT)
public interface MinecraftCompat extends Provider {
    static MinecraftCompat getInstance() {
        return MinecraftCompatImpl.getInstance();
    }

    class_1041 getWindow();

    @Override
    default @NotNull class_310 get() {
        return class_310.method_1551();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy