Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.imanity.imanityspigot.ai |
Modifier and Type | Method and Description |
---|---|
static @Nullable NamespacedKey |
NamespacedKey.fromString(@NotNull String key)
Get a NamespacedKey from the supplied string.
|
static @Nullable NamespacedKey |
NamespacedKey.fromString(@NotNull String string,
@Nullable Plugin defaultNamespace)
Get a NamespacedKey from the supplied string with a default namespace if
a namespace is not defined.
|
static @NotNull NamespacedKey |
NamespacedKey.minecraft(@NotNull String key)
Get a key in the Minecraft namespace.
|
static @NotNull NamespacedKey |
NamespacedKey.randomKey()
Deprecated.
should never be used by plugins, for internal use only!!
|
Modifier and Type | Method and Description |
---|---|
@NotNull NamespacedKey |
GoalKey.getNamespacedKey() |
Modifier and Type | Method and Description |
---|---|
static <A extends Mob> |
GoalKey.of(@NotNull Class<A> entityClass,
@NotNull NamespacedKey namespacedKey) |
Copyright © 2022. All rights reserved.