Jump to content

Recommended Posts

Posted
 			 EntityPlayerMP p = (EntityPlayerMP)s;
			 NBTTagCompound PlayerPersisted = getPlayerNBTTagCompound.getPlayerNBTTagCompoundA(p);
			 if(!PlayerPersisted.hasKey("home")) {PlayerPersisted.setTag("home", new NBTTagCompound());}
			 NBTTagCompound home = PlayerPersisted.getCompoundTag("home");
			........
            System.out.println(stringname);
		//Console output:
		//123
	    //123_1
		//......   as the picture shows     Get the name of the tag
			

 

1.png

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.