T
- the type of mob the goal can be applied topublic class GoalKey<T extends Mob> extends Object
NamespacedKey
and the type of mob the goal can be applied toModifier and Type | Method | Description |
---|---|---|
boolean |
equals(Object o) |
|
@NotNull Class<T> |
getEntityClass() |
|
@NotNull NamespacedKey |
getNamespacedKey() |
|
int |
hashCode() |
|
static <A extends Mob> |
of(@NotNull Class<A> entityClass,
@NotNull NamespacedKey namespacedKey) |
|
String |
toString() |
@NotNull public @NotNull NamespacedKey getNamespacedKey()
@NotNull public static <A extends Mob> @NotNull GoalKey<A> of(@NotNull @NotNull Class<A> entityClass, @NotNull @NotNull NamespacedKey namespacedKey)
Copyright © 2020. All rights reserved.