示例#1
0
  public void update() {
    super.update();
    if (!worldObj.isRemote) {
      checkForChanges();
      checkInventory();

      if (isBurning()) {
        useCobbleGen();
        if (!isDone()) {
          // mine!
          mine();
        }
      }
    }
  }