public class RegistryTag
extends java.lang.Object
Registry.RegistryEntrys together.| Constructor and Description |
|---|
RegistryTag(Registry registry,
net.lenni0451.mcstructs.core.Identifier tag) |
| Modifier and Type | Method and Description |
|---|---|
static net.lenni0451.mcstructs.converter.codec.Codec<RegistryTag> |
codec(Registry registry)
Create a codec for this class bound to the given registry.
|
Registry |
getRegistry() |
net.lenni0451.mcstructs.core.Identifier |
getTag() |
java.lang.String |
toString() |
public RegistryTag(Registry registry, net.lenni0451.mcstructs.core.Identifier tag)
public static net.lenni0451.mcstructs.converter.codec.Codec<RegistryTag> codec(Registry registry)
registry - The registry owning the tagpublic Registry getRegistry()
public net.lenni0451.mcstructs.core.Identifier getTag()
public java.lang.String toString()
toString in class java.lang.Object