Package net.minestom.server.effects
Enum Effects
java.lang.Object
java.lang.Enum<Effects>
net.minestom.server.effects.Effects
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Effects>
,java.lang.constant.Constable
public enum Effects extends java.lang.Enum<Effects>
Effects available in Minecraft Vanilla
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
-
Enum Constant Details
-
DISPENSER_DISPENSES
-
DISPENSER_FAILS_TO_DISPENSE
-
DISPENSER_SHOOTS
-
ENDER_EYE_LAUNCHED
-
FIREWORK_SHOT
-
IRON_DOOR_OPENED
-
WOODEN_DOOR_OPENED
-
WOODEN_TRAPDOOR_OPENED
-
FENCE_GATE_OPENED
-
FIRE_EXTINGUISHED
-
PLAY_RECORD
-
IRON_DOOR_CLOSED
-
WOODEN_DOOR_CLOSED
-
WOODEN_TRAPDOOR_CLOSED
-
FENCE_GATE_CLOSED
-
GHAST_WARNS
-
GHAST_SHOOTS
-
ENDERDRAGON_SHOOTS
-
BLAZE_SHOOTS
-
ZOMBIE_ATTACKS_WOOD_DOOR
-
ZOMBIE_ATTACKS_IRON_DOOR
-
ZOMBIE_BREAKS_WOOD_DOOR
-
WITHER_BREAKS_BLOCK
-
WITHER_SPAWNED
-
WITHER_SHOOTS
-
BAT_TAKES_OFF
-
ZOMBIE_INFECTS
-
ZOMBIE_VILLAGER_CONVERTED
-
ENDER_DRAGON_DEATH
-
ANVIL_DESTROYED
-
ANVIL_USED
-
ANVIL_LANDED
-
PORTAL_TRAVEL
-
CHORUS_FLOWER_GROWN
-
CHORUS_FLOWER_DIED
-
BREWING_STAND_BREWED
-
IRON_TRAPDOOR_OPENED
-
IRON_TRAPDOOR_CLOSED
-
SPAWNS_10_SMOKE_PARTICLES
-
BLOCK_BREAK
-
SPLASH_POTION
-
EYE_OF_ENDER_ENTITY_BREAK_ANIMATION
-
MOB_SPAWN_PARTICLE_EFFECT
-
BONEMEAL_PARTICLES
-
DRAGON_BREATH
-
INSTANT_SPLASH
-
END_GATEWAY_SPAWN
-
ENDERDRAGON_GROWL
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getId
public int getId()
-