public class RegistryKey extends Object
| Constructor and Description |
|---|
RegistryKey(@NotNull org.bukkit.plugin.Plugin plugin,
String id) |
RegistryKey(@NotNull String plugin,
String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static @NotNull RegistryKey |
fromString(@NotNull String s) |
String |
getId() |
String |
getNamespace() |
String |
toString() |
public RegistryKey(@NotNull
@NotNull org.bukkit.plugin.Plugin plugin,
String id)
@Contract(value="_ -> new") @NotNull public static @NotNull RegistryKey fromString(@NotNull @NotNull String s)
public String getNamespace()
public String getId()
Copyright © 2023. All rights reserved.