程序包 org.bukkit
枚举 Effect
- 所有已实现的接口:
Serializable
,Comparable<Effect>
,Constable
效果列表
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量说明铁砧破坏的声音铁砧落地声音(坠落)使用铁砧的声音蝙蝠起飞的声音烈焰人投射火球的声音The sound played / particles shown when bone meal is used to grow a plant.The sound played when a book page is being turned.弓的射击声酿造台酿造的声音紫颂果凋谢的声音紫颂果生长的声音点击声另一种点击声The sound played / particles shown when a composter is being attempted to fill.The particles shown when wax is removed from a copper block.The sound played / particles shown when wax is applied to a copper block.已过时。不复存在已过时。不复存在末影龙攻击和呼吸的声音The particles shown when a dripstone drips lava or water.The particles shown when a lightning hits a lightning rod or oxidized copper.末地传送门生成的声音和粒子效果The sound played / particles shown when an eye of ender is placed into an ender portal frame.The particles shown when an ender dragon destroys blocks.末影颗粒视觉效果末影龙咆哮的声音末影龙喷火的声音安置末影之眼的声音火焰熄灭的声音已过时。不复存在已过时。不复存在发射烟花的声音恶魂投射火球的声音恶魂的尖叫声The sound played when a grindstone is being used.The sound played when a husk converts to a zombie.Visual effect of an instant splash potion breaking.已过时。不复存在已过时。不复存在已过时。不复存在已过时。不复存在The sound played / particles shown when lava interacts with the world.火焰颗粒视觉效果The particles shown when oxidation is scraped of an oxidized copper block.The sound played when phantom bites.The sound played when a pointed dripstone drips lava into a cauldron.The sound played when a pointed dripstone drips water into a cauldron.The sound played when a pointed dripstone hits the surface.通过传送门的声音药水的视觉效果播放唱片歌曲的声音The sound played / particles shown when a redstone torch burns out.The sound played when a skeleton converts to a stray.The sound played when a smithing table is being used.烟雾效果The particles shown when a sponge dries in an ultra warm world (nether).方块被破坏的声音已过时。不复存在已过时。不复存在村民种植植物的声音 数据是颗粒的数量凋零破坏方块的声音凋零射击的声音僵尸敲铁门的声音僵尸敲木门的声音The sound played when a zombie converts to a drowned.僵尸被转化成村民的声音僵尸摧毁门的声音僵尸感染目标(村民)的声音 -
方法概要
-
枚举常量详细资料
-
CLICK2
另一种点击声 -
CLICK1
点击声 -
BOW_FIRE
弓的射击声 -
DOOR_TOGGLE
已过时。不复存在开门声(木门) -
IRON_DOOR_TOGGLE
已过时。不复存在开门声(铁门) -
TRAPDOOR_TOGGLE
已过时。不复存在开门声(木活板门) -
IRON_TRAPDOOR_TOGGLE
已过时。不复存在开门声(铁活板门) -
FENCE_GATE_TOGGLE
已过时。不复存在开门声(栅栏门) -
DOOR_CLOSE
已过时。不复存在关门声(木门) -
IRON_DOOR_CLOSE
已过时。不复存在关门声(铁门) -
TRAPDOOR_CLOSE
已过时。不复存在关门声(木活板门) -
IRON_TRAPDOOR_CLOSE
已过时。不复存在关门声(铁活板门) -
FENCE_GATE_CLOSE
已过时。不复存在关门声(栅栏门) -
EXTINGUISH
火焰熄灭的声音 -
RECORD_PLAY
播放唱片歌曲的声音 -
GHAST_SHRIEK
恶魂的尖叫声 -
GHAST_SHOOT
恶魂投射火球的声音 -
BLAZE_SHOOT
烈焰人投射火球的声音 -
ZOMBIE_CHEW_WOODEN_DOOR
僵尸敲木门的声音 -
ZOMBIE_CHEW_IRON_DOOR
僵尸敲铁门的声音 -
ZOMBIE_DESTROY_DOOR
僵尸摧毁门的声音 -
SMOKE
烟雾效果 -
STEP_SOUND
方块被破坏的声音 -
POTION_BREAK
药水的视觉效果 -
INSTANT_POTION_BREAK
Visual effect of an instant splash potion breaking. Needs color data value as additional info. -
ENDER_SIGNAL
末影颗粒视觉效果 -
MOBSPAWNER_FLAMES
火焰颗粒视觉效果 -
BREWING_STAND_BREW
酿造台酿造的声音 -
CHORUS_FLOWER_GROW
紫颂果生长的声音 -
CHORUS_FLOWER_DEATH
紫颂果凋谢的声音 -
PORTAL_TRAVEL
通过传送门的声音 -
ENDEREYE_LAUNCH
安置末影之眼的声音 -
FIREWORK_SHOOT
发射烟花的声音 -
VILLAGER_PLANT_GROW
村民种植植物的声音 数据是颗粒的数量 -
DRAGON_BREATH
末影龙攻击和呼吸的声音 -
ANVIL_BREAK
铁砧破坏的声音 -
ANVIL_USE
使用铁砧的声音 -
ANVIL_LAND
铁砧落地声音(坠落) -
ENDERDRAGON_SHOOT
末影龙喷火的声音 -
WITHER_BREAK_BLOCK
凋零破坏方块的声音 -
WITHER_SHOOT
凋零射击的声音 -
ZOMBIE_INFECT
僵尸感染目标(村民)的声音 -
ZOMBIE_CONVERTED_VILLAGER
僵尸被转化成村民的声音 -
BAT_TAKEOFF
蝙蝠起飞的声音 -
END_GATEWAY_SPAWN
末地传送门生成的声音和粒子效果 -
ENDERDRAGON_GROWL
末影龙咆哮的声音 -
PHANTOM_BITE
The sound played when phantom bites. -
ZOMBIE_CONVERTED_TO_DROWNED
The sound played when a zombie converts to a drowned. -
HUSK_CONVERTED_TO_ZOMBIE
The sound played when a husk converts to a zombie. -
GRINDSTONE_USE
The sound played when a grindstone is being used. -
BOOK_PAGE_TURN
The sound played when a book page is being turned. -
SMITHING_TABLE_USE
The sound played when a smithing table is being used. -
POINTED_DRIPSTONE_LAND
The sound played when a pointed dripstone hits the surface. -
POINTED_DRIPSTONE_DRIP_LAVA_INTO_CAULDRON
The sound played when a pointed dripstone drips lava into a cauldron. -
POINTED_DRIPSTONE_DRIP_WATER_INTO_CAULDRON
The sound played when a pointed dripstone drips water into a cauldron. -
SKELETON_CONVERTED_TO_STRAY
The sound played when a skeleton converts to a stray. -
COMPOSTER_FILL_ATTEMPT
The sound played / particles shown when a composter is being attempted to fill. True for a successful attempt false for an unsuccessful attempt. -
LAVA_INTERACT
The sound played / particles shown when lava interacts with the world. For example by forming stone, obsidian, basalt or destroying blocks such as torches. -
REDSTONE_TORCH_BURNOUT
The sound played / particles shown when a redstone torch burns out. -
END_PORTAL_FRAME_FILL
The sound played / particles shown when an eye of ender is placed into an ender portal frame. -
DRIPPING_DRIPSTONE
The particles shown when a dripstone drips lava or water. This effect requires a dripstone at the location as well as lava or water at the root of the dripstone. -
BONE_MEAL_USE
The sound played / particles shown when bone meal is used to grow a plant. Data is the number of particles. -
ENDER_DRAGON_DESTROY_BLOCK
The particles shown when an ender dragon destroys blocks. -
SPONGE_DRY
The particles shown when a sponge dries in an ultra warm world (nether). -
ELECTRIC_SPARK
The particles shown when a lightning hits a lightning rod or oxidized copper. Data is the axis at which the particle should be shown. If no data is provided it will show the particles at the block faces. -
COPPER_WAX_ON
The sound played / particles shown when wax is applied to a copper block. -
COPPER_WAX_OFF
The particles shown when wax is removed from a copper block. -
OXIDISED_COPPER_SCRAPE
The particles shown when oxidation is scraped of an oxidized copper block.
-
-
方法详细资料
-
values
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值
-
getId
已过时。不安全的参数获取这个效果的id.原文:Gets the ID for this effect.
- 返回:
- 效果id
-
getType
- 返回:
- 效果的类型
-
getData
- 返回:
- 代表这个效果的类,不存在为null
-
getById
已过时。不安全的参数获取给定id相关联的效果.原文:Gets the Effect associated with the given ID.
- 参数:
id
- 效果id- 返回:
- 给定id相关联效果
-