Package org.geysermc.geyser.util
Class MinecraftKey
java.lang.Object
org.geysermc.geyser.util.MinecraftKey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetNamespace(String identifier) static @Nullable net.kyori.adventure.key.KeyidentifierToKey(@Nullable org.geysermc.geyser.api.util.Identifier identifier) static booleanstatic net.kyori.adventure.key.KeyTo prevent constant warnings from invalid regex.static net.kyori.adventure.key.KeyTo prevent constant warnings from invalid regex.static @Nullable org.geysermc.geyser.api.util.IdentifierkeyToIdentifier(@Nullable net.kyori.adventure.key.Key key)
-
Constructor Details
-
MinecraftKey
public MinecraftKey()
-
-
Method Details
-
key
To prevent constant warnings from invalid regex. -
key
To prevent constant warnings from invalid regex. -
identifierToKey
public static @Nullable net.kyori.adventure.key.Key identifierToKey(@Nullable org.geysermc.geyser.api.util.Identifier identifier) -
keyToIdentifier
public static @Nullable org.geysermc.geyser.api.util.Identifier keyToIdentifier(@Nullable net.kyori.adventure.key.Key key) -
getNamespace
-
isVanilla
-