Java Code Examples for net.minecraft.nbt.NBTTagList.getTagType()

The following are Jave code examples for showing how to use getTagType() of the net.minecraft.nbt.NBTTagList class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: modName   File:   Source Code and License Vote up 5 votes
public NBTTagCompound writeToNBT(NBTTagCompound nbt) 
	NBTTagList list = new NBTTagList();

	for(Map.Entry<UUID, Empire> entry : empires.entrySet())
	int type = list.getTagType();
	nbt.setTag("empires", list);
	return nbt;