类 LaserInstance
java.lang.Object
mod.chloeprime.gunsmithlib.client.laser.LaserInstance
-
字段概要
字段修饰符和类型字段说明net.minecraft.world.phys.Vec3floatlongfinal floatfinal WeakReference<net.minecraft.world.entity.Entity> net.minecraft.world.phys.Vec3final LaserType -
构造器概要
构造器构造器说明LaserInstance(LaserType type, net.minecraft.world.phys.Vec3 hitLocation, double length, net.minecraft.world.phys.Vec3 startPos, net.minecraft.world.entity.Entity shooter) -
方法概要
-
字段详细资料
-
type
-
hitLocation
public net.minecraft.world.phys.Vec3 hitLocation -
startPos
public net.minecraft.world.phys.Vec3 startPos -
length
public float length -
roll
public final float roll -
localSpawnTime
public long localSpawnTime -
shooter
-
-
构造器详细资料
-
LaserInstance
public LaserInstance(LaserType type, net.minecraft.world.phys.Vec3 hitLocation, double length, net.minecraft.world.phys.Vec3 startPos, net.minecraft.world.entity.Entity shooter)
-
-
方法详细资料
-
refresh
public void refresh(float partial) -
getShooter
-