枚举的使用
org.bukkit.Particle

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

    返回Particleorg.bukkit中的方法
    修饰符和类型
    方法
    说明
    static Particle
    Particle.valueOf(String name)
    返回带有指定名称的该类型的枚举常量。
    static Particle[]
    Particle.values()
    按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
    参数类型为Particleorg.bukkit中的方法
    修饰符和类型
    方法
    说明
    void
    World.spawnParticle(@NotNull 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(@NotNull 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(@NotNull 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(@NotNull 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(@NotNull Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data, boolean force)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    World.spawnParticle(@NotNull 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(@NotNull 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(@NotNull Particle particle, @NotNull Location location, int count)
    Spawns the particle (the number of times specified by count) at the target location.
    void
    World.spawnParticle(@NotNull Particle particle, @NotNull 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(@NotNull Particle particle, @NotNull 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(@NotNull Particle particle, @NotNull 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(@NotNull Particle particle, @NotNull Location location, int count, double offsetX, double offsetY, double offsetZ, double extra, T data, boolean force)
    Spawns the particle (the number of times specified by count) at the target location.
    <T> void
    World.spawnParticle(@NotNull Particle particle, @NotNull 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(@NotNull Particle particle, @NotNull 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(@NotNull Particle particle)
    设置组成这片云的粒子.
    <T> void
    AreaEffectCloud.setParticle(@NotNull Particle particle, T data)
    设置组成这片云的粒子.
    void
    Player.spawnParticle(@NotNull Particle particle, double x, double y, double z, int count)
    在指定位置产生粒子效果 (the number of times specified by count).
    void
    Player.spawnParticle(@NotNull 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(@NotNull 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(@NotNull 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(@NotNull 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(@NotNull 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(@NotNull Particle particle, @NotNull Location location, int count)
    在指定位置产生粒子效果 (the number of times specified by count).
    void
    Player.spawnParticle(@NotNull Particle particle, @NotNull 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(@NotNull Particle particle, @NotNull 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(@NotNull Particle particle, @NotNull 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(@NotNull Particle particle, @NotNull 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(@NotNull Particle particle, @NotNull Location location, int count, T data)
    在指定位置产生粒子效果 (the number of times specified by count).