public class UnknownEntityTypeException extends IllegalArgumentException
IllegalArgumentException
instances.Constructor and Description |
---|
UnknownEntityTypeException(CompoundTag nbt) |
Modifier and Type | Method and Description |
---|---|
String |
getIdOrTag()
Returns the ID subtag for this entity, if it has one that's a string; otherwise, returns the
entire NBT tag as a string.
|
CompoundTag |
getNbt() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnknownEntityTypeException(CompoundTag nbt)
public String getIdOrTag()
public CompoundTag getNbt()
Copyright © 2021. All rights reserved.