枚举的使用
org.bukkit.Particle

使用Particle的程序包
程序包
说明
Bukkit的常用类.
为在世界内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等.
  • org.bukkitParticle的使用

    返回Particleorg.bukkit中的方法
    修饰符和类型
    方法
    说明
    static Particle
    Particle.valueOf(String name)
    返回带有指定名称的该类型的枚举常量。
    static Particle[]
    Particle.values()
    按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
    参数类型为Particleorg.bukkit中的方法
    修饰符和类型
    方法
    说明
    void
    World.spawnParticle(Particle particle, double x, double y, double z, int count)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    World.spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    World.spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    World.spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    World.spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, T data)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    World.spawnParticle(Particle particle, double x, double y, double z, int count, T data)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    World.spawnParticle(Particle particle, Location location, int count)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    World.spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    World.spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    World.spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra, T data)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    World.spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, T data)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    World.spawnParticle(Particle particle, Location location, int count, T data)
    Spawns the particle (the number of times specified by count) at the target location.
  • org.bukkit.entityParticle的使用

    返回Particleorg.bukkit.entity中的方法
    修饰符和类型
    方法
    说明
    AreaEffectCloud.getParticle()
    获取组成这片云的粒子.
    参数类型为Particleorg.bukkit.entity中的方法
    修饰符和类型
    方法
    说明
    void
    AreaEffectCloud.setParticle(Particle particle)
    设置组成这片云的粒子.
    void
    Player.spawnParticle(Particle particle, double x, double y, double z, int count)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    Player.spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    Player.spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    Player.spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    Player.spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, T data)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    Player.spawnParticle(Particle particle, double x, double y, double z, int count, T data)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    Player.spawnParticle(Particle particle, Location location, int count)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    Player.spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    Player.spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    Player.spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra, T data)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    Player.spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, T data)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    Player.spawnParticle(Particle particle, Location location, int count, T data)
    Spawns the particle (the number of times specified by count) at the target location.