public static enum SimpleProtocol.DummyPacketTypes extends Enum<SimpleProtocol.DummyPacketTypes> implements ClientboundPacketType, ServerboundPacketType
| Modifier and Type | Method and Description |
|---|---|
static SimpleProtocol.DummyPacketTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleProtocol.DummyPacketTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfname, ordinalpublic static SimpleProtocol.DummyPacketTypes[] values()
for (SimpleProtocol.DummyPacketTypes c : SimpleProtocol.DummyPacketTypes.values()) System.out.println(c);
public static SimpleProtocol.DummyPacketTypes 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 nullCopyright © 2016–2021. All rights reserved.