public static enum GlowHangingEntity.HangingFace extends Enum<GlowHangingEntity.HangingFace>
Modifier and Type | Method and Description |
---|---|
org.bukkit.block.BlockFace |
getBlockFace() |
static GlowHangingEntity.HangingFace |
getByBlockFace(org.bukkit.block.BlockFace by) |
static GlowHangingEntity.HangingFace |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlowHangingEntity.HangingFace[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlowHangingEntity.HangingFace SOUTH
public static final GlowHangingEntity.HangingFace WEST
public static final GlowHangingEntity.HangingFace NORTH
public static final GlowHangingEntity.HangingFace EAST
public static GlowHangingEntity.HangingFace[] values()
for (GlowHangingEntity.HangingFace c : GlowHangingEntity.HangingFace.values()) System.out.println(c);
public static GlowHangingEntity.HangingFace valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static GlowHangingEntity.HangingFace getByBlockFace(org.bukkit.block.BlockFace by)
public org.bukkit.block.BlockFace getBlockFace()
Copyright © 2021. All rights reserved.