void a(DataInput datainput) { a.clear(); NBTBase nbtbase; for (; (nbtbase = NBTBase.b(datainput)).a() != 0; a.put(nbtbase.c(), nbtbase)) {; } }
public void func_70383_a(Entity par1Entity) { if (field_70391_e != null) { NBTTagCompound nbttagcompound = new NBTTagCompound(); par1Entity.addEntityID(nbttagcompound); NBTBase nbtbase; for (Iterator iterator = field_70391_e.getTags().iterator(); iterator.hasNext(); nbttagcompound.setTag(nbtbase.getName(), nbtbase.copy())) { nbtbase = (NBTBase) iterator.next(); } par1Entity.readFromNBT(nbttagcompound); } }
void a(DataOutput dataoutput) { NBTBase nbtbase; for (Iterator iterator = a.values().iterator(); iterator.hasNext(); NBTBase.a(nbtbase, dataoutput)) { nbtbase = (NBTBase) iterator.next(); } dataoutput.writeByte(0); }
public void a(String s, NBTBase nbtbase) { a.put(s, nbtbase.m(s)); }