public interface MetadataPart
extends net.kyori.examination.Examinable
| Modifier and Type | Method and Description |
|---|---|
default @NotNull java.lang.Class<? extends MetadataPart> |
type()
Returns the type of this metadata part.
|
@NotNull default @NotNull java.lang.Class<? extends MetadataPart> type()
By default this method will just call
getClass(), but it has another
function.
The main function of this method is to identify this metadata part type. So, classes that implement the same metadata part type should return the same class value.