@Override
public void handleUpdateTag(NBTTagCompound tag) {
u = tag.getBoolean("u");
d = tag.getBoolean("d");
n = tag.getBoolean("n");
s = tag.getBoolean("s");
w = tag.getBoolean("w");
e = tag.getBoolean("e");
}
@Override
public NBTTagCompound getUpdateTag() {
NBTTagCompound nbt = new NBTTagCompound();
nbt.setBoolean("u", u);
nbt.setBoolean("d", d);
nbt.setBoolean("n", n);
nbt.setBoolean("s", s);
nbt.setBoolean("w", w);
nbt.setBoolean("e", e);
return nbt;
}