MCPcopy Create free account
hub / github.com/Teneted/Tenet / getKey

Method getKey

src/main/java/org/bukkit/entity/EntityType.java:351–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

349 }
350
351 @NotNull
352 @Override
353 public NamespacedKey getKey() {
354 Preconditions.checkArgument(key != null, "EntityType doesn't have key! Is it UNKNOWN?");
355
356 return key;
357 }
358
359 @Nullable
360 public Class<? extends Entity> getEntityClass() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected