structures API call

This commit is contained in:
gnembon committed 2020-01-12 22:14:05 -04:00
1 parent 9011e419cb
commit 2b0a370996
4 files changed
+63 -4

No files matched your search

@@ -82,6 +82,8 @@ public class NBTSerializableValue extends Value implements ContainerValueInterfa
public static String nameFromRegistryId(Identifier id)
{
if (id == null) // should be Value.NULL
return "";
if (id.getNamespace().equals("minecraft"))
return id.getPath();
return id.toString();