@Override
  public void writeToNBT(NBTTagCompound data) {
    super.writeToNBT(data);

    data.setBoolean("chicken", chicken);
    data.setBoolean("cow", cow);
    data.setBoolean("pig", pig);
    data.setBoolean("sheep", sheep);
    data.setBoolean("mooshroom", mooshroom);
    data.setBoolean("wolf", wolf);
    data.setBoolean("other", other);
  }
  @Override
  public void readFromNBT(NBTTagCompound data) {
    super.readFromNBT(data);

    chicken = data.getBoolean("chicken");
    cow = data.getBoolean("cow");
    pig = data.getBoolean("pig");
    sheep = data.getBoolean("sheep");
    mooshroom = data.getBoolean("mooshroom");
    wolf = data.getBoolean("wolf");
    other = data.getBoolean("other");
  }
  @Override
  public void readPacketData(DataInputStream data) throws IOException {
    super.readPacketData(data);

    readGuiData(data, null);
  }
  @Override
  public void writePacketData(DataOutputStream data) throws IOException {
    super.writePacketData(data);

    writeGuiData(data);
  }