Package net.elytrium.limboapi.api.chunk
Enum Class BlockEntityVersion
- All Implemented Interfaces:
Serializable,Comparable<BlockEntityVersion>,java.lang.constant.Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockEntityVersionfrom(com.velocitypowered.api.network.ProtocolVersion protocolVersion) com.velocitypowered.api.network.ProtocolVersionSet<com.velocitypowered.api.network.ProtocolVersion> static BlockEntityVersionstatic BlockEntityVersionReturns the enum constant of this class with the specified name.static BlockEntityVersion[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEGACY
-
MINECRAFT_1_19
-
MINECRAFT_1_19_1
-
MINECRAFT_1_19_3
-
MINECRAFT_1_19_4
-
MINECRAFT_1_20
-
MINECRAFT_1_20_2
-
MINECRAFT_1_20_3
-
MINECRAFT_1_20_5
-
MINECRAFT_1_21
-
MINECRAFT_1_21_2
-
MINECRAFT_1_21_4
-
MINECRAFT_1_21_5
-
MINECRAFT_1_21_6
-
MINECRAFT_1_21_7
-
MINECRAFT_1_21_9
-
MINECRAFT_1_21_11
-
-
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
-
getMinSupportedVersion
public com.velocitypowered.api.network.ProtocolVersion getMinSupportedVersion() -
getVersions
-
parse
-
from
public static BlockEntityVersion from(com.velocitypowered.api.network.ProtocolVersion protocolVersion)
-