Package alexiil.mc.lib.net
Enum Class CheckingNetByteBuf.NetMethod
- All Implemented Interfaces:
Serializable
,Comparable<CheckingNetByteBuf.NetMethod>
,Constable
- Enclosing class:
- CheckingNetByteBuf
A networking related method that wrote data to the buffer. Also markers for separating sections.
NOTE: The order of these is extremely important, and shouldn't change between releases. (In other words unused values should be replaced with "__UNUSED_1234" and new values must be appended).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNot a data type. -
Field Summary
Modifier and TypeFieldDescriptionalexiil.mc.lib.net.CheckingNetByteBuf.NetMethod.NetMethodAppender
-
Method Summary
Modifier and TypeMethodDescriptionstatic CheckingNetByteBuf.NetMethod
Returns the enum constant of this class with the specified name.static CheckingNetByteBuf.NetMethod[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MARKER_ID
-
BOOLEAN
-
BYTE
-
SHORT
-
MEDIUM
-
INT
-
LONG
-
SHORT_LE
-
MEDIUM_LE
-
INT_LE
-
LONG_LE
-
FLOAT
-
FLOAT_LE
-
DOUBLE
-
DOUBLE_LE
-
CHAR
-
BYTES
-
BLOCK_POS
-
BLOCK_HIT_RESULT
-
COMPOUND_TAG
-
STRING
-
ENUM
-
VAR_UINT
-
VAR_ULONG
-
FIXED_INT
-
VAR_INT
-
VAR_LONG
-
CUSTOM_MARKER
Not a data type. Instead this is used to record positional information by the sender viaNetByteBuf.writeMarker(String)
-
__UNUSED__1
-
__UNUSED__2
-
__UNUSED__3
-
__UNUSED__4
-
-
Field Details
-
appender
public final alexiil.mc.lib.net.CheckingNetByteBuf.NetMethod.NetMethodAppender appender
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-