public final class RegistryEntry
extends java.lang.Object
Constructor and Description |
---|
RegistryEntry(java.lang.String key,
@Nullable com.github.steveice10.opennbt.tag.builtin.Tag tag) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
key() |
@Nullable com.github.steveice10.opennbt.tag.builtin.Tag |
tag() |
RegistryEntry |
withKey(java.lang.String key) |
public RegistryEntry(java.lang.String key, @Nullable com.github.steveice10.opennbt.tag.builtin.Tag tag)
public java.lang.String key()
public @Nullable com.github.steveice10.opennbt.tag.builtin.Tag tag()
public RegistryEntry withKey(java.lang.String key)