类 BulletCreateEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.entity.EntityEvent
mod.chloeprime.gunsmithlib.api.common.BulletCreateEvent

public final class BulletCreateEvent 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
  • 构造器概要

    构造器
    构造器
    说明
    BulletCreateEvent(net.minecraft.world.entity.projectile.Projectile bullet, net.minecraft.world.entity.LivingEntity shooter, GunInfo gun)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    net.minecraft.world.entity.projectile.Projectile
     
    net.minecraft.world.entity.projectile.Projectile
     
    net.minecraft.world.item.ItemStack
     
     
    net.minecraft.world.entity.LivingEntity
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • BulletCreateEvent

      @Internal public BulletCreateEvent(@Nonnull net.minecraft.world.entity.projectile.Projectile bullet, @Nonnull net.minecraft.world.entity.LivingEntity shooter, @Nonnull GunInfo gun)
  • 方法详细资料

    • getEntity

      @Nonnull public net.minecraft.world.entity.projectile.Projectile getEntity()
      覆盖:
      getEntity 在类中 net.neoforged.neoforge.event.entity.EntityEvent
    • getBullet

      @Nonnull public net.minecraft.world.entity.projectile.Projectile getBullet()
    • getShooter

      @Nonnull public net.minecraft.world.entity.LivingEntity getShooter()
    • getGunInfo

      @Nonnull public GunInfo getGunInfo()
    • getGun

      @Nonnull public net.minecraft.world.item.ItemStack getGun()