top.hendrixshen.magiclib.api.compat.minecraft.client.CameraCompat Maven / Gradle / Ivy
package top.hendrixshen.magiclib.api.compat.minecraft.client;
import net.neoforged.api.distmarker.Dist;
import net.neoforged.api.distmarker.OnlyIn;
import net.minecraft.client.Camera;
import org.jetbrains.annotations.NotNull;
import top.hendrixshen.magiclib.api.compat.mojang.math.QuaternionCompat;
import top.hendrixshen.magiclib.impl.compat.minecraft.client.CameraCompatImpl;
import top.hendrixshen.magiclib.util.collect.Provider;
@OnlyIn(Dist.CLIENT)
public interface CameraCompat extends Provider {
static @NotNull CameraCompat of(@NotNull Camera camera) {
return new CameraCompatImpl(camera);
}
QuaternionCompat rotation();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy