Class Compat
java.lang.Object
net.ixdarklord.folios.internal.compat.Compat
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.blaze3d.vertex.PoseStack.Posecopy(com.mojang.blaze3d.vertex.PoseStack.Pose pose) static <T> com.mojang.serialization.Codec<List<T>>listOf(com.mojang.serialization.Codec<T> codec, int min, int max) static voidmulPose(com.mojang.blaze3d.vertex.PoseStack pose, org.joml.Matrix4f matrix) static voidscale(com.mojang.blaze3d.vertex.PoseStack pose, float x, float y, float z) static org.joml.Vector3ftransformNormal(com.mojang.blaze3d.vertex.PoseStack.Pose pose, float x, float y, float z, org.joml.Vector3f out) static <T> com.mojang.serialization.Codec<T>withAlternative(com.mojang.serialization.Codec<T> codec, com.mojang.serialization.Codec<? extends T> alternative)
-
Method Details
-
listOf
public static <T> com.mojang.serialization.Codec<List<T>> listOf(com.mojang.serialization.Codec<T> codec, int min, int max) -
withAlternative
public static <T> com.mojang.serialization.Codec<T> withAlternative(com.mojang.serialization.Codec<T> codec, com.mojang.serialization.Codec<? extends T> alternative) -
mulPose
public static void mulPose(com.mojang.blaze3d.vertex.PoseStack pose, org.joml.Matrix4f matrix) -
scale
public static void scale(com.mojang.blaze3d.vertex.PoseStack pose, float x, float y, float z) -
transformNormal
public static org.joml.Vector3f transformNormal(com.mojang.blaze3d.vertex.PoseStack.Pose pose, float x, float y, float z, org.joml.Vector3f out) -
copy
public static com.mojang.blaze3d.vertex.PoseStack.Pose copy(com.mojang.blaze3d.vertex.PoseStack.Pose pose)
-