类 MagicLaserUtils

java.lang.Object
mod.chloeprime.gunsmithlib.client.laser.MagicLaserUtils

public class MagicLaserUtils extends Object
  • 字段详细资料

    • NANO_TO_SECOND

      public static final double NANO_TO_SECOND
      另请参阅:
  • 构造器详细资料

    • MagicLaserUtils

      public MagicLaserUtils()
  • 方法详细资料

    • getInstance

      public static Optional<MagicLaser> getInstance()
    • clip

      public static Optional<LaserInstance> clip(LaserType type, net.minecraft.world.entity.Entity shooter, net.minecraft.world.phys.Vec3 pos, net.minecraft.world.phys.Vec3 direction, double range)
    • render

      public static void render(LaserInstance instance, net.minecraft.client.Camera camera, float partial, com.mojang.blaze3d.vertex.PoseStack pose)
    • stickLaserToMuzzle

      public static void stickLaserToMuzzle(LaserInstance instance, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack)