Class VecUtils
java.lang.Object
com.binaris.wizardry.api.content.util.VecUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.phys.Vec3flattenToHorizontal(net.minecraft.world.phys.Vec3 vec) static net.minecraft.world.phys.Vec3getFaceCentre(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face) static net.minecraft.world.phys.Vec3[]getVertices(net.minecraft.world.phys.AABB box) static net.minecraft.world.phys.Vec3replaceComponent(net.minecraft.world.phys.Vec3 vec, net.minecraft.core.Direction.Axis axis, double newValue)
-
Method Details
-
flattenToHorizontal
public static net.minecraft.world.phys.Vec3 flattenToHorizontal(net.minecraft.world.phys.Vec3 vec) -
replaceComponent
public static net.minecraft.world.phys.Vec3 replaceComponent(net.minecraft.world.phys.Vec3 vec, net.minecraft.core.Direction.Axis axis, double newValue) -
getFaceCentre
public static net.minecraft.world.phys.Vec3 getFaceCentre(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face) -
getVertices
public static net.minecraft.world.phys.Vec3[] getVertices(net.minecraft.world.phys.AABB box)
-