title: Better way to structure a java class with many variables
body: <p>I have a java class called Player. The mechanics on how the player file interacts with the server would take a lot to explain and I have no issues with the file, I just want to improve it and better my programming skills. So my question is, how would I take the many variables I have, ints, strings, booleans and make the code faster and more efficient/cleaner. Here is an example so you can see what the file looks like </p>
  
  <pre><code>enter code here
         public boolean usingGlory = false;
  public int[] woodcut = new int [3];
  public int wcTimer = 0;
  public int[] mining = new int [3];
  public int miningTimer = 0;
  public boolean fishing = false;
  public int fishtimer = 0;
  public int fishXP;
  public int fishies = 0;
  public int fishreqt = 0;
  public int fishitem = 0;
  public int fishemote = 0;
  public int fishies2 = 0;
  public int fishreq2 = 0;
  public boolean isfishing = false;
  public boolean attemptingfish = false;
  public int smeltType; //1 = bronze, 2 = iron, 3 = steel, 4 = gold, 5 = mith, 6 = addy, 7 = rune
  public int smeltAmount;
  public int smeltTimer = 0;
  public boolean smeltInterface;
  public boolean patchCleared;
  public int[] farm = new int[2];
  public boolean antiFirePot = false;
  public boolean Lattack = false;
  public boolean Lranged = false;
  public boolean Lmagic = false;
  public boolean Ldefense = false;
  public boolean Lstrength = false;
  public boolean Lspecial = false;
  public boolean inPits = false;
  public int pitsStatus = 0;      
  public boolean inFunPk = false;
  public boolean InDung = false;
  </code></pre>