top.hendrixshen.magiclib.api.compat.minecraft.client.MinecraftCompat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of magiclib-minecraft-api-1.19.3-fabric Show documentation
Show all versions of magiclib-minecraft-api-1.19.3-fabric Show documentation
Unleash magic into Minecraft, infuse souls, ascend to heaven!
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