function attackEntity(player, entityX, entityY) {
  // Check sprite next to the player
  getTile(entityX, entityY).forEach((tile) => {
    // Confirm they are not destroying themselves!
    if (isPlayer(tile.type)) return;
    //Confirm they are not destroying an item!
    if (isItem(tile.type)) return;
    //If it bedrock, we cannot break it (easily)
    if (tile.type == bedrock) {
      spawnParticle(entityX, entityY, 0);
      addSprite(entityX, entityY, bedrock);
    } else {
      // Destroy block next to them
      clearTile(entityX, entityY);
      spawnParticle(entityX, entityY, 0);
    }
    return;
  });
}
Initiate an attack at a position
@param {*} player player
@param {*} entityX target X
@param {*} entityY target Y