类 BulletReadyToTraceEvent
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
mod.chloeprime.gunsmithlib.common.internal.BulletReadyToTraceEvent
public class BulletReadyToTraceEvent
extends net.neoforged.neoforge.event.entity.EntityEvent
-
嵌套类概要
从类继承的嵌套类/接口 net.neoforged.neoforge.event.entity.EntityEvent
net.neoforged.neoforge.event.entity.EntityEvent.EnteringSection, net.neoforged.neoforge.event.entity.EntityEvent.EntityConstructing, net.neoforged.neoforge.event.entity.EntityEvent.Size -
构造器概要
构造器构造器说明BulletReadyToTraceEvent(net.minecraft.world.entity.projectile.Projectile bullet, net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end) -
方法概要
修饰符和类型方法说明net.minecraft.world.phys.Vec3net.minecraft.world.entity.projectile.Projectilenet.minecraft.world.phys.Vec3static voidonBulletTick(net.minecraft.world.entity.projectile.Projectile bullet, int pierce)
-
构造器详细资料
-
BulletReadyToTraceEvent
@Internal public BulletReadyToTraceEvent(net.minecraft.world.entity.projectile.Projectile bullet, net.minecraft.world.phys.Vec3 start, net.minecraft.world.phys.Vec3 end)
-
-
方法详细资料
-
getEntity
@Nonnull public net.minecraft.world.entity.projectile.Projectile getEntity()- 覆盖:
getEntity在类中net.neoforged.neoforge.event.entity.EntityEvent
-
getStartPos
public net.minecraft.world.phys.Vec3 getStartPos() -
getEndPos
public net.minecraft.world.phys.Vec3 getEndPos() -
onBulletTick
@Internal public static void onBulletTick(net.minecraft.world.entity.projectile.Projectile bullet, int pierce)
-