类 MagicLaserUtils
java.lang.Object
mod.chloeprime.gunsmithlib.client.laser.MagicLaserUtils
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明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) static Optional<MagicLaser> static voidrender(LaserInstance instance, net.minecraft.client.Camera camera, float partial, com.mojang.blaze3d.vertex.PoseStack pose) static voidstickLaserToMuzzle(LaserInstance instance, float partialTicks, com.mojang.blaze3d.vertex.PoseStack poseStack)
-
字段详细资料
-
NANO_TO_SECOND
public static final double NANO_TO_SECOND- 另请参阅:
-
-
构造器详细资料
-
MagicLaserUtils
public MagicLaserUtils()
-
-
方法详细资料
-
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)
-